Hugging Face Changes API
Recently changed models, datasets, Spaces, papers and blog posts, newest first.
GET /v1/hugging-face/changes1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/changes takes a required type (models, datasets, spaces, papers or blog) and returns type and changes. Each change has url, id and lastModified; id is the repository id or paper id taken from the URL, and it is null when the URL has none.
limit accepts up to 1000. The list is a freshness feed: pair it with a timestamp you store to find pages that changed since your last run, then hydrate the ids with the matching detail endpoints.
Hugging Face Changes API FAQ
Is this a full change log?
No. It lists pages that changed recently, newest first, with their last modified time. It does not describe what changed.
How do I catch new and edited repositories?
Poll the list, keep the newest lastModified you have seen, and hydrate only the ids above that point with the detail or README endpoints.
Why is id null for some changes?
Some page URLs carry no repository or paper id. The URL and lastModified are still present.
How much does a change list 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