List Hugging Face trending
List the models, datasets and Spaces trending on Hugging Face now.
Headers
Get your API keyAPI key (`sfk_...`)
`all` (default), `model`, `dataset` or `space`.
one of: all, model, dataset, space
Items per page, 1-20. A page can hold fewer. Default: 20.
≥ 1 · ≤ 20
Endpoint-specific response payload.
Whether the item was found.
one of: found, not_found
Trending repositories in the order the platform ranks them, most trending first within each kind.
Repository id, `owner/name`.
Repository type.
one of: model, dataset, space
Stable repository id; survives renames.
Repository page URL.
Owner account name.
When the repository was created (ISO-8601).
When the repository last changed (ISO-8601).
Latest commit on the default branch.
Likes.
Downloads in the last 30 days.
Downloads since the repository was created.
Trending score.
Whether access needs approval: `false`, `auto` (accepted on request) or `manual` (reviewed by the owner).
Whether the repository has been disabled.
Tags: task, library, languages, licence and more.
Main task of a model, e.g. `text-generation`; null in dataset and Space results.
Library a model is made for, e.g. `transformers`; null in dataset and Space results.
Licence id taken from the tags, e.g. `mit`.
SDK of a Space, e.g. `gradio`; null in model and dataset results.
Parameter count of a model, when known; null in dataset and Space results.
Run state of a Space, e.g. `RUNNING` or `SLEEPING`; null in model and dataset results.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/hugging-face/trending?limit=5" \
-H "x-api-key: YOUR_API_KEY"Responses
Trending repositories.