Hugging Face

Get Hugging Face account

Get a Hugging Face user or organization with its counts, organizations and profile text.

GET/v1/hugging-face/accounts/{name}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
namestringrequiredpath

Hugging Face user or organization name, e.g. `clem`.

pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$

includestringoptionalquery

Extra blocks, comma-separated. `socials` adds the social handles.

Response fields
50

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

The account when lookupStatus is `found`; otherwise null.

dataaccounttype
string

Whether the account is a user or an organization.

one of: user, org

dataaccountusername
string

Account name.

dataaccountuid
stringnullable

Stable account id.

dataaccountdisplayName
stringnullable

Display name.

dataaccounturl
string

Profile page URL.

dataaccountavatarUrl
stringnullable

Avatar image URL.

dataaccountbio
stringnullable

Profile text.

dataaccountjoinedAt
stringnullable

When the account was created (ISO-8601). Users only.

dataaccountisPro
booleannullable

Whether the account has a Pro subscription (users).

dataaccountisVerified
booleannullable

Whether the organization is verified.

dataaccountplan
stringnullable

Organization plan, e.g. `team` or `enterprise`.

Public counts. A count that does not apply to the account is null.

dataaccountcountsmodels
integernullable

Public models.

dataaccountcountsdatasets
integernullable

Public datasets.

dataaccountcountsspaces
integernullable

Public Spaces.

dataaccountcountspapers
integernullable

Papers.

dataaccountcountskernels
integernullable

Kernels.

dataaccountcountsbuckets
integernullable

Storage buckets.

dataaccountcountsdiscussions
integernullable

Discussions the account took part in (users).

dataaccountcountsupvotes
integernullable

Upvotes the account received (users).

dataaccountcountslikes
integernullable

Repositories the account liked (users).

dataaccountcountsfollowers
integernullable

Followers.

dataaccountcountsfollowing
integernullable

Accounts followed (users).

dataaccountcountsfollowingOrganizations
integernullable

Organizations followed (users).

dataaccountcountsmembers
integernullable

Members (organizations).

Organizations a user belongs to.

dataaccountorganizations[]name
string

Organization name.

dataaccountorganizations[]uid
stringnullable

Stable organization id.

dataaccountorganizations[]displayName
stringnullable

Display name.

dataaccountorganizations[]avatarUrl
stringnullable

Avatar image URL.

dataaccountorganizations[]url
string

Organization page URL.

dataaccountprimaryOrganizationAvatarUrl
stringnullable

Avatar of the organization a user shows on their profile.

Hardware a user lists on their profile.

Hardware name parts, e.g. `["Apple Silicon"]`.

dataaccounthardware[]sku[]
stringoptional
dataaccounthardware[]count
integernullable

Units owned.

dataaccounthardware[]memoryGb
integernullable

Memory per unit in GB.

dataaccounthardware[]isPrimary
booleannullable

Whether the user marked it as their main hardware.

Social handles. Only with `include=socials`; otherwise null.

dataaccountsocialstwitter
stringnullable

X (Twitter) handle.

dataaccountsocialsgithub
stringnullable

GitHub handle.

dataaccountsocialslinkedin
stringnullable

LinkedIn handle.

dataaccountsocialsbluesky
stringnullable

Bluesky handle.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/hugging-face/accounts/huggingface" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Account details.