Hugging Face hub

Hugging Face Blog API

Official and community blog posts with dates, upvotes, thumbnails and authors.

GET /v1/hugging-face/blog/posts

1 credit Failed requests are free

About this endpoint

GET /v1/hugging-face/blog/posts returns source, totalCount, a page of posts and a numbered page. Set source to official for the company blog or community (default) for community posts.

Each post has slug, title, url, publishedAt, editedAt, upvotes, thumbnailUrl and authors; the community-only fields are null on official posts. On community posts, sort is recent (default) or trending, and limit accepts up to 100.

Hugging Face Blog API FAQ

Which blog does the endpoint return by default?

The community blog. Pass source=official for the company blog.

Why are upvotes and authors null?

Those fields are community-only. Official posts have a title, URL and dates but no community engagement.

Can I sort community posts by popularity?

Yes. Set sort=trending with source=community.

How much does a blog 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.