Hugging Face

List Hugging Face activity

List the recent public activity of a Hugging Face user or organization.

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

API key (`sfk_...`)

Parameters
3
namestringrequiredpath

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

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

limitintegeroptionalquery

Items per page, 1-100. A page can hold fewer. Default: 20.

≥ 1 · ≤ 100

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page. Keep every other parameter the same.

min 1 chars · max 1024 chars

Response fields
28

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

dataaccountType
stringnullable

Whether the account is a user or an organization.

one of: user, org, null

Activity entries, newest first.

dataactivity[]at
string

When it happened (ISO-8601).

dataactivity[]type
string

Kind of activity: `update`, `like`, `upvote`, `publish`, `discussion`, `paper`, `paper-daily`, `blog` and more.

Who did it.

dataactivity[]actorusername
string

Account that did it.

dataactivity[]actoravatarUrl
stringnullable

Avatar image URL.

What an activity entry is about.

dataactivity[]targetkind
string

What the activity is about: `repo`, `collection`, `paper`, `blog`, `changelog`, `discussion` or another kind Hugging Face adds.

dataactivity[]targetid
stringnullable

Id of the target: a repository id, paper id, collection slug or post slug.

dataactivity[]targetrepoType
stringnullable

Repository type, for repository activity.

one of: model, dataset, space, null

dataactivity[]targettitle
stringnullable

Title of the target when it has one.

dataactivity[]targeturl
stringnullable

Page of the target.

dataactivity[]targetlikes
integernullable

Likes on a repository.

dataactivity[]targetdownloads
integernullable

Downloads of a repository in the last 30 days.

dataactivity[]targetupvotes
integernullable

Upvotes on a paper, collection or post.

dataactivity[]targetlastModified
stringnullable

When a repository last changed (ISO-8601).

dataactivity[]targetdiscussionNumber
integernullable

Discussion number, for discussion activity.

dataactivity[]targetcommentCount
integernullable

Comments on a discussion.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

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/activity?limit=5" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Activity page.