Hugging Face Profile Page API
The profile-only data: community score, status, organization README and the account's posts, papers and collections.
GET /v1/hugging-face/accounts/{name}/profile1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/accounts/{name}/profile returns profile with type, username, communityScore, followerCount, status, readme, memberCount, members, emailDomains, blogPosts, papers and collections.
This is the part of an account that only its profile page carries. It complements the account endpoint, which returns the overview, counts and social handles. User fields and organization fields are both present with null where they do not apply, so check type before reading them.
Hugging Face Profile Page API FAQ
How is this different from the account endpoint?
The account endpoint returns the overview, counts and socials. This one returns profile-page data such as communityScore, status, the organization README and the account's posts, papers and collections.
What is readme?
The organization's profile README as HTML. It is null for a user and for an organization without one.
Why are members and emailDomains here?
They are organization-only profile facts. They are null or empty for a user.
How much does a profile 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