Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
Search Hugging Face Spaces by keyword, SDK and tags.
Endpoint
/v1/hugging-face/spaces
Query
Search text. Matches repository ids, tags and card text.
Only repositories owned by this user or organization.
Only Spaces built with this SDK.
Comma-separated tags the repository must all have, e.g. `text-classification,pytorch` or `license:mit`.
Sort order: `downloads` (last 30 days), `likes`, `likes7d`, `likes30d`, `trending`, `created` or `updated`. Default: `trending`.
`desc` (default) or `asc`. `asc` only works with `sort=created`.
Items per page, 1-1000. A page can hold fewer. Default: 50.
Pass `page.nextCursor` from the previous response to get the next page. Keep every other parameter the same.
const response = await fetch( "https://api.socialfetch.dev/v1/hugging-face/spaces", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);