Hugging Face Paper API
One paper with its authors, abstract, project page, citing repositories and optional comments and upvoters.
GET /v1/hugging-face/papers/{arxivId}1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/papers/{arxivId} returns paper with id, title, url, summary, publishedAt, upvotes, numComments, thumbnailUrl, githubRepo, githubStars, organization, submittedBy, submittedOnDailyAt, aiSummary and aiKeywords, plus authors, projectUrl, aiSummaryModel, mediaUrls, discussionId and linked.
linked holds the first page of citing models, datasets and spaces with totalModels, totalDatasets and totalSpaces. Add include=comments,upvoters to fill comments and upvoters; both are null without it. A version suffix is accepted and ignored.
Hugging Face Paper API FAQ
How do I get the comments and upvoters?
Pass include=comments,upvoters. Without it, both fields are null.
Can I pass a versioned id such as 2305.10601v2?
Yes. The version is dropped because the platform keeps one page per paper.
Where are all the citing repositories?
linked shows only the first page. The repositories endpoint lists up to 100 of each kind, with cappedLists telling you when more exist.
How much does a paper lookup 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