Hugging Face hub

Hugging Face Likers API

Every account that liked a repository, with profile links and follower counts where the platform exposes them.

GET /v1/hugging-face/repos/{repoType}/{owner}/{name}/likers

1 credit Failed requests are free

About this endpoint

GET /v1/hugging-face/repos/{repoType}/{owner}/{name}/likers returns repo, totalCount, a page of likers and a page block. Each liker is an account reference with username, displayName, avatarUrl, url, type, isPro, isStaff and followerCount when present.

limit accepts up to 1000 and cursor takes the page.nextCursor value from the previous response. The cursor is minted by this endpoint, so a cursor from another list is refused.

Hugging Face Likers API FAQ

Why is followerCount sometimes null?

The platform does not always include it in a liker list. The id and profile URL are always present.

Can I get every liker of a large repository?

Yes. Keep following page.nextCursor while page.hasMore is true. Large repositories take several pages.

Does this work for datasets and Spaces?

Yes. Set repoType to datasets or spaces as well as models.

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