Hugging Face Hub

Each record is one Hugging Face repository: its owner, type, downloads, likes, task, license, languages, dates and optional card text.

$1.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 3,333 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it

Hugging Face models, datasets and Spaces: downloads (30 days and all time), likes, trending score, task, library, license, languages, tags, base models, parameter count, gated flag, dates and optional card text. Search, filter by owner, task or tag, or paste repo links.

Ready-made, maintained by usRepositories, 43 fieldsv1.0

Data from huggingface.co

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Repository typeoptional
Choose models, datasets or Spaces for the searches and plain repository names.
Search wordsoptional
One search term per line; each line runs its own search of repository names. Commas between them work too.
Example: llama
Owneroptional
Type one organisation or user name to see only their repositories.
Example: google
Taskoptional
Type a task name to see only repositories for that task.
Example: text-generation
Software libraryoptional
Type a library name to see only models built for it.
Example: transformers
Required tagsoptional
One tag per line; only repositories with every listed tag are returned. Commas between them work too.
Example: license:apache-2.0
Sort byoptional
Pick how results are ordered, highest first.
Specific repositoriesoptional
One repository name or page link per line to fetch exactly those. Commas between them work too.
Example: openai-community/gpt2
Include card textoptional
Turn on to add each repository's full description page text.
Card length limitoptional
Most characters of card text to keep; 0 keeps everything.
Example: 5000

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 3,333 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/hugging-face-hub/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
3,333 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/hugging-face-hub/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search_terms":["llama"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

typetext
Models, datasets or Spaces. Applies to the searches and to plain repo ids (links to a dataset or Space page are recognised by themselves).
default: modelsone of: models, datasets, spaces
search_termslist
Words to search for in repo names, e.g. "llama", "whisper", "sentiment". Each term is a separate search.
example: llama
authortext
Only repos of this organisation or user namespace, e.g. "meta-llama", "google", "mistralai", "stabilityai".
tasktext
Models: the pipeline tag, e.g. text-generation, text-to-image, automatic-speech-recognition, feature-extraction. Datasets: the task category, e.g. question-answering, translation, text-classification.
librarytext
Only models for this library, e.g. transformers, diffusers, gguf, sentence-transformers, mlx, peft.
tagslist
Only repos that carry ALL these tags, e.g. "license:apache-2.0", "en", "region:us", "modality:image", "gradio".
sorttext
Order of the results (highest first). Spaces have no downloads, so "Downloads" sorts Spaces by likes.
default: downloadsone of: downloads, likes, trendingScore, createdAt, lastModified
repo_idslist
Specific repos, as ids ("meta-llama/Llama-3.1-8B-Instruct", "gpt2") or links (https://huggingface.co/datasets/rajpurkar/squad, https://huggingface.co/spaces/…).
include_cardyes/no
Also read each repo's card and add it as Markdown in cardText. One extra request per repo.
default: false
card_max_charsnumber
Cut long cards after this many characters. 0 = no limit.
default: 20000

What's in each record

43 fields: 38 here, 5 technical ones under Technical details.

Basics

  • Repository type

    Whether this is a model, dataset or Space.

    Example model

  • Full repository name

    Owner and repository name joined by a slash.

    Example meta-llama/Llama-3.1-8B-Instruct

  • Owner

    The organisation or user that owns the repository.

    Example meta-llama

  • Repository name

    The repository name without the owner part.

  • Downloads last 30 days

    Download count over the past 30 days; empty for Spaces.

    Example 4,346,354

  • Downloads all time

    Total downloads since the repository was created.

    Example 193,141,302

  • Likes

    How many people liked the repository.

    Example 8,826

  • Trending score

    A score based on recent likes activity.

    Example 52

  • Main task

    The main job the model or dataset is for.

    Example text-generation

  • Dataset tasks

    The task categories listed for a dataset.

  • Software library

    The software library the model is built for.

    Example transformers

  • License

    Short code of the license that covers the repository.

    Example llama3.1

  • Languages

    Language codes listed on the repository card.

    Example en, de

  • Tags

    All labels attached to the repository.

  • Base models

    The models this model was built from.

    Example meta-llama/Llama-3.1-8B

  • Derived how

    How it was made from the base model, such as finetune.

    Example finetune

  • Training datasets

    Datasets the model card says were used.

  • Research paper numbers

    Numbers of arXiv research papers linked to the repository.

  • Model size

    Number of parameters in the model, when known.

    Example 8,030,261,248

  • Access form required

    Yes when downloading requires filling in the owner's form.

    Example Yes

  • Access approval

    Whether access is approved automatically or by the owner.

    Example manual

  • Disabled

    Yes when Hugging Face has disabled the repository.

  • Display name

    The readable title of a dataset or Space.

  • Short description

    A brief summary of the dataset or Space.

  • Dataset size

    Size range of the dataset, such as 10K to 100K entries.

  • Data kinds

    Kinds of data in the dataset, such as text or images.

  • File formats

    File formats the dataset comes in.

  • Space framework

    The framework the Space app is built with.

  • Space status

    Whether the Space is running, sleeping or has an error.

  • Space hardware

    The computer type the Space runs on.

  • Models used

    Models the Space relies on.

  • Datasets used

    Datasets the Space relies on.

  • Space emoji

    The emoji chosen to represent the Space.

  • Card text

    The full repository description page as formatted text.

Dates

  • Created on

    Date and time the repository was created.

    Example Jul 18, 2024

  • Last updated

    Date and time of the latest change.

    Example Sep 25, 2024

Technical detailsField names and types for developers, and the 5 fields hidden above

Hidden by default

These 5 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Latest version code shaInternal code of the most recent saved change.
  • Card status cardStatusWhether the card text was fetched, missing, gated or failed.
  • Search used searchQueryThe search words that found this repository.
  • Search position positionRank in the search results, where 1 is first.
  • Collected on scrapedAtDate and time this record was gathered.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.

Field nameTypeShown on this page asFilled
typetextRepository type1 of 1
idtextFull repository name1 of 1
authortextOwner1 of 1
nametextRepository name0 of 1
urllinkRepository page1 of 1
downloadsnumberDownloads last 30 days1 of 1
downloadsAllTimenumberDownloads all time1 of 1
likesnumberLikes1 of 1
trendingScorenumberTrending score1 of 1
tasktextMain task1 of 1
taskCategorieslistDataset tasks0 of 1
librarytextSoftware library1 of 1
licensetextLicense1 of 1
languageslistLanguages1 of 1
tagslistTags0 of 1
baseModelslistBase models1 of 1
baseModelRelationtextDerived how1 of 1
trainingDatasetslistTraining datasets0 of 1
arxivIdslistResearch paper numbers0 of 1
parameterCountnumberModel size1 of 1
gatedyes or noAccess form required1 of 1
gatedModetextAccess approval1 of 1
disabledyes or noDisabled0 of 1
createdAtdate and timeCreated on1 of 1
lastModifieddate and timeLast updated1 of 1
shatextLatest version code (hidden)0 of 1
prettyNametextDisplay name0 of 1
descriptiontextShort description0 of 1
sizeCategorytextDataset size0 of 1
modalitieslistData kinds0 of 1
formatslistFile formats0 of 1
sdktextSpace framework0 of 1
spaceStagetextSpace status0 of 1
hardwaretextSpace hardware0 of 1
spaceAppUrllinkSpace app page0 of 1
modelsUsedlistModels used0 of 1
datasetsUsedlistDatasets used0 of 1
emojitextSpace emoji0 of 1
cardTexttextCard text0 of 1
cardStatustextCard status (hidden)0 of 1
searchQuerytextSearch used (hidden)0 of 1
positionnumberSearch position (hidden)0 of 1
scrapedAtdate and timeCollected on (hidden)0 of 1

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordRepository nameRepository typeFull repository nameOwnerDownloads last 30 daysDownloads all timeLikesTrending scoreMain taskDataset tasksSoftware libraryLicenseLanguagesTagsBase modelsDerived howTraining datasetsResearch paper numbersModel sizeAccess form requiredAccess approvalDisabledDisplay nameShort descriptionDataset sizeData kindsFile formatsSpace frameworkSpace statusSpace hardwareModels usedDatasets usedSpace emojiCard textCreated onLast updatedRepository pageSpace app page
1—modelmeta-llama/Llama-3.1-8B-Instructmeta-llama4,346,354193,141,3028,82652text-generation—transformersllama3.1en, de, fr—meta-llama/Llama-3.1-8Bfinetune——8,030,261,248Yesmanual—————————————Jul 18, 2024Sep 25, 2024huggingface.co/meta-llama/Llama-3.1-8B-Instruct—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.

Version history

A run uses the live version unless the request names another one with version.