List Hugging Face likes
List the repositories a Hugging Face user liked.
Headers
Get your API keyAPI key (`sfk_...`)
Hugging Face user or organization name, e.g. `clem`.
pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$
Items per page, 1-1000. A page can hold fewer. Default: 100.
≥ 1 · ≤ 1000
Pass `page.nextCursor` from the previous response to get the next page. Keep every other parameter the same.
min 1 chars · max 1024 chars
Endpoint-specific response payload.
Whether the item was found.
one of: found, not_found
Likes on this page, newest first.
When the user liked it (ISO-8601).
The liked repository.
Repository id, `owner/name`.
What was liked: `model`, `dataset`, `space`, `kernel`, or a kind Hugging Face adds later (passed through, so a new kind never drops a like).
Page URL. Null for a kind this API does not know the page of.
Pagination state for the current page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/hugging-face/users/julien-c/likes?limit=5" \
-H "x-api-key: YOUR_API_KEY"Responses
Likes page.