Hugging Face Following API
The users and organizations one account follows, with the same profile facts as a follower list.
GET /v1/hugging-face/users/{name}/following1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/users/{name}/following returns a page of accounts and a page block. Each entry has username, uid, displayName, avatarUrl, url, type, isPro, isStaff and followerCount when present.
This route is for users. An organization name returns lookupStatus: not_found, so resolve an organization's followers with the accounts followers endpoint instead. Pages hold up to 500 accounts; send page.nextCursor as cursor to continue.
Hugging Face Following API FAQ
Can I list an organization's following?
No. This endpoint is user-only. An organization name returns not_found.
How many accounts are on a page?
Up to 500. There is no limit parameter on this endpoint; use page.nextCursor to continue.
What does a following entry include?
username, uid, displayName, avatarUrl, url, type, isPro, isStaff and followerCount when the platform sends it.
How much does a following 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