Hugging Face Trending API
What is trending on the platform right now, with the repository fields you use everywhere else.
GET /v1/hugging-face/trending1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/trending returns up to limit repositories trending now, most trending first within each kind. Set type to all (default), model, dataset or space, and limit from 1 to 20.
Each row has id, type, url, author, likes, downloads, downloadsAllTime, trendingScore, tags, license and the kind's fields such as pipelineTag or sdk. The list is global, so no filter can make it empty.
Hugging Face Trending API FAQ
How often does the trending list change?
The platform recalculates it continuously. The endpoint returns the current ranking, so poll it on your own schedule.
Can I get only trending datasets?
Yes. Set type=dataset. model and space narrow it the same way.
How many trending repositories can I get?
limit accepts 1 to 20 and caps the whole list, including type=all, so it is a short snapshot rather than a full catalogue.
How much does a trending page cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
Other Hugging Face endpoints
- Search modelsGET /v1/hugging-face/models
- Get modelGET /v1/hugging-face/models/{owner}/{name}
- Search datasetsGET /v1/hugging-face/datasets
- Get datasetGET /v1/hugging-face/datasets/{owner}/{name}
- Search SpacesGET /v1/hugging-face/spaces
- Get SpaceGET /v1/hugging-face/spaces/{owner}/{name}
- READMEGET /v1/hugging-face/repos/{repoType}/{owner}/{name}/readme
- FilesGET /v1/hugging-face/repos/{repoType}/{owner}/{name}/files