Hugging Face Hub offers a free, keyless JSON API to track trending AI models
The Hugging Face Hub exposes a public JSON API requiring no authentication, allowing developers to query models, datasets, and Spaces via simple GET requests. Key parameters such as sort, filter, search, and limit enable refined results, with options to rank by trending score, downloads, likes, or recency. Unlike all-time download counts, the trendingScore metric reflects current momentum and updates daily, recently surfacing a four-day-old OCR model from Baidu at the top of rankings. Pagination is handled through a Link header containing a cursor for the next page, similar to GitHub's API convention. Developers can use this API to build tools like weekly trend digests, lab-specific release trackers, or filtered model discovery lists without needing a headless browser or API key.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in