Hugging Face
Hugging Face API reference: 42 endpoints for models, datasets, spaces, papers and accounts. Per-endpoint credit prices and cURL examples.
Hugging Face models, datasets and their rows, Spaces, papers, collections, accounts, repository files and discussions, and trending.
Base path: /v1/huggingface/...
Quickstart
curl "https://api.insightsocial.app/v1/huggingface/account?name=clem" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"Endpoints
Every endpoint here has a fixed price.
Every endpoint here is beta: it returns the platform's own structure under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp), not a schema-2 entity, and its fields may change. See Beta endpoints.
| Endpoint | Credits | What it returns | Key parameters |
|---|---|---|---|
/account | 20 | Get a Hugging Face user or organization with its counts, organizations and profile text. Beta. | name |
/account/activity | 20 | List the recent public activity of a Hugging Face user or organization. Beta. | name |
/account/buckets | 20 | List the public storage buckets of a Hugging Face account. Beta. | name |
/account/followers | 20 | List the followers of a Hugging Face user or organization. Beta. | name |
/account/profile | 20 | Get Hugging Face profile details beyond the account record. Beta. | name |
/account/repos | 20 | List the public models, datasets or Spaces of a Hugging Face account. Beta. | name |
/blog/posts | 20 | List posts from the official or community Hugging Face blog. Beta. | — |
/changes | 20 | List the Hugging Face models, datasets, Spaces, papers or blog posts that changed most recently. Beta. | type |
/collection | 20 | Get a Hugging Face collection with every item and the curator's notes. Beta. | owner, slug |
/collections | 20 | Search Hugging Face collections, or find the collections that contain a model, dataset, Space or paper. Beta. | — |
/dataset | 20 | Get a Hugging Face dataset with its downloads, tags, description and card. Beta. | owner, name |
/dataset/rows | 20 | List rows from a Hugging Face dataset a page at a time. Beta. | owner, name |
/dataset/statistics | 20 | Get per-column statistics of a Hugging Face dataset split. Beta. | owner, name |
/dataset/viewer | 20 | Get what a Hugging Face dataset viewer can show. Beta. | owner, name |
/datasets | 20 | Search and filter Hugging Face datasets by keyword, language, licence and tags. Beta. | — |
/inference-providers/models | 20 | List the Hugging Face models that inference providers host. Beta. | — |
/kernel | 20 | Get a Hugging Face compute kernel. Beta. | owner, name |
/kernels | 20 | Search Hugging Face compute kernels. Beta. | — |
/model | 20 | Get a Hugging Face model with its downloads, tags, card, weights, base models and evaluation results. Beta. | owner, name |
/models | 20 | Search and filter Hugging Face models by task, library, language, licence, base model and more. Beta. | — |
/organization/members | 20 | List every member of a Hugging Face organization. Beta. | name |
/paper | 20 | Get a Hugging Face paper with its authors, abstract and upvotes. Beta. | arxiv_id |
/paper/content | 20 | Get the full text of a Hugging Face paper as Markdown. Beta. | arxiv_id |
/paper/repos | 20 | List the Hugging Face models, datasets and Spaces that cite a paper. Beta. | arxiv_id |
/papers | 20 | Search Hugging Face papers by keyword, or list the newest papers. Beta. | — |
/papers/daily | 20 | List the papers on the Hugging Face daily papers list for a day, week or month. Beta. | — |
/posts | 20 | List posts from the Hugging Face social feed, newest first. Beta. | — |
/repo/commits | 20 | List the commit history of a Hugging Face repository. Beta. | repo_type, owner, name |
/repo/discussion | 20 | Get one discussion or pull request of a Hugging Face repository with every comment. Beta. | repo_type, owner, name, number |
/repo/discussions | 20 | List the discussions and pull requests of a Hugging Face repository. Beta. | repo_type, owner, name |
/repo/files | 20 | List the files and folders of a Hugging Face repository. Beta. | repo_type, owner, name |
/repo/likers | 20 | List the accounts that liked a Hugging Face repository. Beta. | repo_type, owner, name |
/repo/readme | 20 | Get the README of a Hugging Face model, dataset or Space. Beta. | repo_type, owner, name |
/search | 20 | Search Hugging Face models, datasets, Spaces, organizations, users, papers, collections, buckets, kernels and blog posts. Beta. | query |
/search/readmes | 20 | Search the text of Hugging Face READMEs and code files. Beta. | query |
/space | 20 | Get a Hugging Face Space with its run state, hardware, SDK and linked models and datasets. Beta. | owner, name |
/spaces | 20 | Search Hugging Face Spaces by keyword, SDK and tags. Beta. | — |
/spaces/semantic-search | 20 | Search Hugging Face Spaces that match a plain-words description. Beta. | query |
/tags | 20 | List the Hugging Face tags in one group, such as tasks or languages. Beta. | group |
/trending | 20 | List the models, datasets and Spaces trending on Hugging Face now. Beta. | — |
/user/following | 20 | List the accounts a Hugging Face user follows. Beta. | name |
/user/likes | 20 | List the repositories a Hugging Face user liked. Beta. | name |