Hugging Face Posts API
The community feed, newest first, with text, media, mentions, reactions and engagement counts.
GET /v1/hugging-face/posts1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/posts returns totalCount, a page of posts and a numbered page. Each post has slug, url, author, text, publishedAt, updatedAt, commentCount, impressions, language, attachments, mentions and reactions.
Pages hold 10 posts. author is an account reference, attachments carry type and url, and each reaction has the emoji, the count and the accounts that used it. Use the page number to read older posts.
Hugging Face Posts API FAQ
How many posts are on a page?
10. The page block tells you the current page and how many exist.
Are attachments and mentions included?
Yes. attachments lists media URLs and mentions lists the accounts the post names.
What does impressions mean?
The number of unique impressions the platform reports for the post. It can be null.
How much does a post 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. Each paginated page is a separate billed request.
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