Hugging Face Citing Repositories API
Models, datasets and Spaces that cite a paper, grouped by kind, with a flag for truncated lists.
GET /v1/hugging-face/papers/{arxivId}/repos1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/papers/{arxivId}/repos returns models, datasets and spaces, each a list of repository summaries, plus cappedLists with models, datasets and spaces booleans.
Each list holds at most 100 entries and has no cursor. When a capped flag is true the list is full, so more repositories exist; the paper endpoint's linked.totalModels, linked.totalDatasets and linked.totalSpaces carry the totals. A paper that is not on the platform returns lookupStatus: not_found.
Hugging Face Citing Repositories API FAQ
How do I know the list is incomplete?
Read cappedLists. A true flag means the list is full at 100 and more repositories exist.
Can I page through citing repositories?
No. The platform gives one list per kind with no cursor. Use the paper endpoint for the totals.
What does a repository summary include?
id, type, url, author, likes, downloads, tags, licence, gated and the other fields the repository lists expose.
How much does a citing 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