Scraper API
Hugging Facehuggingface.repoAvailable
Hugging Face model or Space
The repository: owner, likes, downloads, task, library or SDK, licence, tags, parameters, a Space's state, and when it was created and last changed.
Give it a model's or a Space's id or address on huggingface.co.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2, 1 required
- Record
- 20 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/huggingface.repo/runs
sent, and answered
a record of the run20 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 20 fields are set down here; the whole record is below.

What it is used for
- Track a model's adoption
- Read a model on a schedule and follow its
downloadsandlikesafter a release. - Check a licence
- Read a model's
license,gatedflag andtagsbefore your team builds on it. - Watch a demo
- Read a Space's
status,sdkandlinked_modelsto see what it runs and whether it is up.
What you send
A model's or a Space's id or address on huggingface.co. These are its 2 inputs, as its schema has them.
repostring Required- The repository's id, owner/name (e.g. openai/whisper-large-v3), or its address.
kindstring Optional- model (default) or space (an app).Default
model
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/huggingface.repo/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"repo":"openai/whisper-large-v3"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("huggingface.repo", {"repo": "openai/whisper-large-v3"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("huggingface.repo", { repo: "openai/whisper-large-v3" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "huggingface.repo", map[string]any{"repo": "openai/whisper-large-v3"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("huggingface.repo", Map.of("repo", "openai/whisper-large-v3"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run huggingface.repo --input repo=openai/whisper-large-v3Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The repository: owner, likes, downloads, task, library or SDK, licence, tags, parameters, a Space's state, and when it was created and last changed. A record has 20 fields. One we could not read is null, never an empty string or a zero.
{
"kind": "model",
"repo_id": "openai/whisper-large-v3",
"url": "https://huggingface.co/openai/whisper-large-v3",
"author": "openai",
"name": "whisper-large-v3",
"title": null,
"likes": 6849,
"downloads": 3189842,
"pipeline_tag": "automatic-speech-recognition",
"library": "transformers",
"sdk": null,
"license": "apache-2.0",
"tags": [
"transformers",
"pytorch",
"jax"
],
"gated": false,
"created_at": "2023-11-07T18:41:14Z",
"updated_at": "2024-08-12T10:20:10Z",
"fetched_at": "2026-11-24T20:16:18.319120Z",
"parameters": 1543490560,
"status": null,
"linked_models": []
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: tags: 114 items, the first 3 shown.
The fields of a record
kindstring- What the repository is:
modelorspace(an app). repo_idstring- The repository's id,
owner/name.huggingface.repotakes it. urlstring- The repository's page on huggingface.co.
authorstring or null- The user or organisation that owns it.
namestring- The repository's name, without its owner.
titlestring or null- A Space's title, as its card states it.
likesinteger or null- How many people liked it.
downloadsinteger or null- A model's downloads in the last 30 days, as the Hub counts them; null for a Space.
pipeline_tagstring or null- A model's task, e.g.
text-generation,fill-mask. librarystring or null- The library a model is for, e.g.
transformers,diffusers. sdkstring or null- What a Space runs on:
gradio,streamlit,dockerorstatic. licensestring or null- The licence it declares, e.g.
apache-2.0. tagslist of strings- The Hub's tags for it: frameworks, languages, papers (
arxiv:...). gatedboolean or null- True when its files are shown only to people who accept its conditions.
created_atdatetime or null- When it was created, in UTC.
updated_atdatetime or null- When it was last changed, in UTC.
fetched_atdatetime- When the Hub answered, in UTC.
parametersinteger or null- A model's number of parameters, as its weight files count them.
statusstring or null- A Space's state, e.g.
RUNNING,SLEEPING,RUNTIME_ERROR. linked_modelslist of strings- The models a Space says it uses.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- A private repository answers as one that does not exist: not_found, which costs nothing.
- Downloads count the last 30 days; a Space has none.
The bounds its schema sets
kind- model, space; model unless you say otherwise
Questions
What does Hugging Face model or Space return?
The repository: owner, likes, downloads, task, library or SDK, licence, tags, parameters, a Space's state, and when it was created and last changed. A record has 20 fields, among them kind, repo_id, url, author, name and title. A value that could not be read is null, never an empty string or a zero.
What do I send?
A model's or a Space's id or address on huggingface.co. The input repo is required. Optional: kind.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: kind model, space (model unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
A private repository answers as one that does not exist: not_found, which costs nothing. Downloads count the last 30 days; a Space has none.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id huggingface.repo and the same input. It costs what the same API call costs.
Hugging Face
Models and Spaces (apps) of the Hugging Face Hub: owner, likes, downloads, task, library, licence and dates.
Hugging Face search
huggingface.searchWords, an owner, or both, a kind of repository and an order. A page of models or Spaces: owner, likes, downloads, task, library or SDK, licence, tags and dates.
- Industry
- Code and research
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.