InsightSocial API

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
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.

EndpointCreditsWhat it returnsKey parameters
/account20Get a Hugging Face user or organization with its counts, organizations and profile text. Beta.name
/account/activity20List the recent public activity of a Hugging Face user or organization. Beta.name
/account/buckets20List the public storage buckets of a Hugging Face account. Beta.name
/account/followers20List the followers of a Hugging Face user or organization. Beta.name
/account/profile20Get Hugging Face profile details beyond the account record. Beta.name
/account/repos20List the public models, datasets or Spaces of a Hugging Face account. Beta.name
/blog/posts20List posts from the official or community Hugging Face blog. Beta.—
/changes20List the Hugging Face models, datasets, Spaces, papers or blog posts that changed most recently. Beta.type
/collection20Get a Hugging Face collection with every item and the curator's notes. Beta.owner, slug
/collections20Search Hugging Face collections, or find the collections that contain a model, dataset, Space or paper. Beta.—
/dataset20Get a Hugging Face dataset with its downloads, tags, description and card. Beta.owner, name
/dataset/rows20List rows from a Hugging Face dataset a page at a time. Beta.owner, name
/dataset/statistics20Get per-column statistics of a Hugging Face dataset split. Beta.owner, name
/dataset/viewer20Get what a Hugging Face dataset viewer can show. Beta.owner, name
/datasets20Search and filter Hugging Face datasets by keyword, language, licence and tags. Beta.—
/inference-providers/models20List the Hugging Face models that inference providers host. Beta.—
/kernel20Get a Hugging Face compute kernel. Beta.owner, name
/kernels20Search Hugging Face compute kernels. Beta.—
/model20Get a Hugging Face model with its downloads, tags, card, weights, base models and evaluation results. Beta.owner, name
/models20Search and filter Hugging Face models by task, library, language, licence, base model and more. Beta.—
/organization/members20List every member of a Hugging Face organization. Beta.name
/paper20Get a Hugging Face paper with its authors, abstract and upvotes. Beta.arxiv_id
/paper/content20Get the full text of a Hugging Face paper as Markdown. Beta.arxiv_id
/paper/repos20List the Hugging Face models, datasets and Spaces that cite a paper. Beta.arxiv_id
/papers20Search Hugging Face papers by keyword, or list the newest papers. Beta.—
/papers/daily20List the papers on the Hugging Face daily papers list for a day, week or month. Beta.—
/posts20List posts from the Hugging Face social feed, newest first. Beta.—
/repo/commits20List the commit history of a Hugging Face repository. Beta.repo_type, owner, name
/repo/discussion20Get one discussion or pull request of a Hugging Face repository with every comment. Beta.repo_type, owner, name, number
/repo/discussions20List the discussions and pull requests of a Hugging Face repository. Beta.repo_type, owner, name
/repo/files20List the files and folders of a Hugging Face repository. Beta.repo_type, owner, name
/repo/likers20List the accounts that liked a Hugging Face repository. Beta.repo_type, owner, name
/repo/readme20Get the README of a Hugging Face model, dataset or Space. Beta.repo_type, owner, name
/search20Search Hugging Face models, datasets, Spaces, organizations, users, papers, collections, buckets, kernels and blog posts. Beta.query
/search/readmes20Search the text of Hugging Face READMEs and code files. Beta.query
/space20Get a Hugging Face Space with its run state, hardware, SDK and linked models and datasets. Beta.owner, name
/spaces20Search Hugging Face Spaces by keyword, SDK and tags. Beta.—
/spaces/semantic-search20Search Hugging Face Spaces that match a plain-words description. Beta.query
/tags20List the Hugging Face tags in one group, such as tasks or languages. Beta.group
/trending20List the models, datasets and Spaces trending on Hugging Face now. Beta.—
/user/following20List the accounts a Hugging Face user follows. Beta.name
/user/likes20List the repositories a Hugging Face user liked. Beta.name

On this page