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.
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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Repository page
The repository's page on Hugging Face.
- Space app page
Direct address of the running Space app.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
type | text | Repository type | 1 of 1 |
id | text | Full repository name | 1 of 1 |
author | text | Owner | 1 of 1 |
name | text | Repository name | 0 of 1 |
url | link | Repository page | 1 of 1 |
downloads | number | Downloads last 30 days | 1 of 1 |
downloadsAllTime | number | Downloads all time | 1 of 1 |
likes | number | Likes | 1 of 1 |
trendingScore | number | Trending score | 1 of 1 |
task | text | Main task | 1 of 1 |
taskCategories | list | Dataset tasks | 0 of 1 |
library | text | Software library | 1 of 1 |
license | text | License | 1 of 1 |
languages | list | Languages | 1 of 1 |
tags | list | Tags | 0 of 1 |
baseModels | list | Base models | 1 of 1 |
baseModelRelation | text | Derived how | 1 of 1 |
trainingDatasets | list | Training datasets | 0 of 1 |
arxivIds | list | Research paper numbers | 0 of 1 |
parameterCount | number | Model size | 1 of 1 |
gated | yes or no | Access form required | 1 of 1 |
gatedMode | text | Access approval | 1 of 1 |
disabled | yes or no | Disabled | 0 of 1 |
createdAt | date and time | Created on | 1 of 1 |
lastModified | date and time | Last updated | 1 of 1 |
sha | text | Latest version code (hidden) | 0 of 1 |
prettyName | text | Display name | 0 of 1 |
description | text | Short description | 0 of 1 |
sizeCategory | text | Dataset size | 0 of 1 |
modalities | list | Data kinds | 0 of 1 |
formats | list | File formats | 0 of 1 |
sdk | text | Space framework | 0 of 1 |
spaceStage | text | Space status | 0 of 1 |
hardware | text | Space hardware | 0 of 1 |
spaceAppUrl | link | Space app page | 0 of 1 |
modelsUsed | list | Models used | 0 of 1 |
datasetsUsed | list | Datasets used | 0 of 1 |
emoji | text | Space emoji | 0 of 1 |
cardText | text | Card text | 0 of 1 |
cardStatus | text | Card status (hidden) | 0 of 1 |
searchQuery | text | Search used (hidden) | 0 of 1 |
position | number | Search position (hidden) | 0 of 1 |
scrapedAt | date and time | Collected on (hidden) | 0 of 1 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Repository name | Repository type | Full repository name | Owner | Downloads last 30 days | Downloads all time | Likes | Trending score | Main task | Dataset tasks | Software library | License | Languages | Tags | Base models | Derived how | Training datasets | Research paper numbers | Model size | Access form required | Access approval | Disabled | Display name | Short description | Dataset size | Data kinds | File formats | Space framework | Space status | Space hardware | Models used | Datasets used | Space emoji | Card text | Created on | Last updated | Repository page | Space app page |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | — | model | meta-llama/Llama-3.1-8B-Instruct | meta-llama | 4,346,354 | 193,141,302 | 8,826 | 52 | text-generation | — | transformers | llama3.1 | en, de, fr | — | meta-llama/Llama-3.1-8B | finetune | — | — | 8,030,261,248 | Yes | manual | — | — | — | — | — | — | — | — | — | — | — | — | — | Jul 18, 2024 | Sep 25, 2024 | huggingface.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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.