Hugging Face Scraper | Models, Datasets & Spaces
Pricing
from $2.10 / 1,000 results
Hugging Face Scraper | Models, Datasets & Spaces
Extract public Hugging Face models, datasets, Spaces, papers, collections and repository metadata. Include available author details and export structured rows. Pay per delivered row plus a start fee.
Pricing
from $2.10 / 1,000 results
Rating
0.0
(0)
Developer
kane liu
Maintained by CommunityActor stats
1
Bookmarked
1
Total users
0
Monthly active users
2 hours ago
Last modified
Categories
Features
Share
Export public Hugging Face models, datasets, Spaces, papers and repository metadata as structured rows.
- Search catalogs and inspect specific repositories.
- Read dataset samples, file inventories and repository activity.
- Include public author details where available.
- Export rows to spreadsheets or use them through the API.
- Pay $3.00 per 1,000 rows on the Free plan, plus a start fee.
What does Hugging Face Scraper do?
Hugging Face Scraper collects public data from huggingface.co without a Hugging Face account, covering the global Hub.
- Catalogs and details: models, datasets, Spaces, papers and collections.
- Dataset content: sample rows, text search, statistics and Parquet information.
- Repositories: file metadata, discussions, commits, references and Space runtime metadata.
- Author details:
enrichDetailsis on by default; it adds profile information to existing rows, not separately billed rows.
What data can you extract from Hugging Face?
Fields depend on kind and the selected mode. These tables show shared fields followed by fields specific to each row type.
Shared fields
| Field | Description | Example |
|---|---|---|
id | Entity identifier | openai/whisper-tiny |
name | Display name | whisper-tiny |
kind | Row type | model |
url | Public page, where available | https://huggingface.co/openai/whisper-tiny |
status | Listing or discussion status | listed |
country | Fixed label, not author location | US |
authority | Site name | huggingface.co |
scrapedAt | Collection time | 2026-10-24T00:00:00Z |
authorName | Public author name | Jane Doe |
emails | Published contact information, usually empty | [] |
web.socials | Public profile links | [] |
Model rows (model)
| Field | Description | Example |
|---|---|---|
pipelineTag | Model task | automatic-speech-recognition |
downloads | Published download count | 1200 |
likes | Published likes | 50 |
license | License label | apache-2.0 |
tags | Up to 40 tags | ["pytorch"] |
numParameters | Parameter count, when supplied | 39000000 |
Dataset metadata rows (dataset)
| Field | Description | Example |
|---|---|---|
description | Short description | Example dataset |
languages | Languages on detail rows | ["en"] |
downloads | Published download count | 1200 |
Space metadata rows (space)
| Field | Description | Example |
|---|---|---|
sdk | Application toolkit | gradio |
runtimeStage | Reported runtime state | RUNNING |
Paper rows (paper)
| Field | Description | Example |
|---|---|---|
title | Paper title | Example paper |
summary | Abstract excerpt | Example abstract |
authors | Author names | ["Jane Doe"] |
upvotes | Published votes | 20 |
Collection rows (collection)
| Field | Description | Example |
|---|---|---|
title | Collection title | Example collection |
itemCount | Number of listed entries | 5 |
itemIds | Up to 20 entry identifiers | ["openai/whisper-tiny"] |
Dataset content rows (dataset_row)
| Field | Description | Example |
|---|---|---|
dataset | Dataset identifier | rajpurkar/squad |
rowIdx | Row index | 0 |
cells | Column values | {"question":"Example question"} |
numRowsTotal | Reported split size | 100 |
Dataset statistics rows (dataset_statistics)
| Field | Description | Example |
|---|---|---|
payload | Statistics object | {} |
Dataset Parquet rows (dataset_parquet)
| Field | Description | Example |
|---|---|---|
payload | Parquet information object | {} |
File metadata rows (file_meta)
| Field | Description | Example |
|---|---|---|
path | Repository-relative path | config.json |
location | Location and file metadata | {} |
File location rows (file_download)
| Field | Description | Example |
|---|---|---|
location | File location information | {} |
downloadedBytes | No file content downloaded | false |
Path rows (file_entry)
| Field | Description | Example |
|---|---|---|
path | Repository-relative path | config.json |
size | File size in bytes | 1024 |
Space runtime rows (space_runtime)
| Field | Description | Example |
|---|---|---|
stage | Reported runtime state | RUNNING |
replicas | Reported replica count | 1 |
Discussion rows (discussion)
| Field | Description | Example |
|---|---|---|
num | Discussion number | 1 |
title | Discussion title | Example discussion |
isPullRequest | Whether it is a pull request | false |
Commit rows (commit)
| Field | Description | Example |
|---|---|---|
message | Commit message | Update documentation |
date | Commit time | 2026-10-24T00:00:00Z |
Reference rows (ref)
| Field | Description | Example |
|---|---|---|
refType | Reference type | branch |
name | Branch or tag | main |
The files mode returns one repository row containing files and fileCount, not one row per file. Each tree preview contains at most 200 entries. Use pathsInfo for separate file rows.
How to scrape Hugging Face
- Open Hugging Face Scraper in Apify Console.
- Choose
searchTypeand fill the matching input below. - Set
maxResultsto3for a first run. - Click Start and wait for completion.
- Open the dataset and download your rows.
Empty {} uses the form example: query: "bert", at most 3 rows. Normal event charges apply. A query alone searches models; detailUrls selects page types from their URLs. A repoId alone does not select detail mode: set searchType explicitly.
models
Search models with query; narrow by pipelineTag or author.
datasets
Search dataset metadata; language and modality narrow the catalog.
spaces
Search Spaces; spaceFilter selects a toolkit such as gradio.
papers
List papers; keywords do not filter this catalog.
collections
List collections; keywords do not filter this catalog.
model
Get one model using repoId.
dataset
Get one dataset using repoId.
space
Get one Space using repoId; the Actor does not launch it.
paper
Use a paper identifier in repoId.
collection
Use a collection slug in repoId.
files
Read a repository tree preview, without downloading files.
datasetRows
Supply repoId, datasetConfig and datasetSplit for sample content.
datasetSearch
Add query to search within a dataset split.
datasetStatistics
Request statistics for a dataset configuration and split.
datasetParquet
Request Parquet information for repoId, not file content.
fileMeta
Supply repoId and targetPath for file metadata.
fileDownload
Return file location information only, despite the mode name.
pathsInfo
Supply filePaths to return separate file metadata rows.
spaceRuntime
Read reported runtime metadata for a Space.
collectionDetail
Get collection details using its slug.
dailyPapers
Get daily papers; an empty paperDate means today in UTC.
discussions
List repository discussions using repoId and, if needed, repoKind.
commits
List repository commits; rev selects the revision.
refs
List repository branches and tags.
community
Use this alternative name for repository discussions.
What to fill in
| Field | What to enter | Default |
|---|---|---|
searchType | Mode listed above | models |
query | Catalog keyword or dataset search text | Empty |
detailUrls | Hub page links or owner/name; batch shares one cap | [] |
repoId | Repository ID, paper ID or collection slug | Empty |
owner, name | Together identify a repository when repoId is absent | Empty |
maxResults | Row cap, from 1 to 200 | 70 |
repoKind | models, datasets or spaces when needed | Inferred |
pipelineTag | Model task, such as fill-mask | Empty |
modality | Dataset modality: text, audio, image | Empty |
spaceFilter | Space toolkit, such as gradio | Empty |
filterTags | Tags, such as license:mit | [] |
language | Dataset language code, such as en | Empty |
author | Catalog author filter | Empty |
sort | downloads, likes, createdAt or lastModified | Default order |
maxPages | Listing page setting, from 1 to 20 | 1 |
enrichDetails | Include public author details | true |
datasetConfig, datasetSplit | Dataset configuration and split | Empty |
datasetOffset | Starting dataset row index | 0 |
datasetLength | Dataset page size, from 1 to 100 | 100 |
filePaths | Repository-relative paths | [] |
targetPath | Single file path | Empty |
rev | Revision for file metadata, paths or commits | main |
paperDate | Daily papers date, YYYY-MM-DD | Today in UTC |
expandFields | Additional listing fields, such as author | [] |
wantFull, wantConfig | Request additional listing metadata | false |
cursor | nextCursor from an earlier run's RUN_SUMMARY, to continue it | Empty |
To browse without a keyword, set a listing filter such as author or sort; otherwise empty targets trigger the example. language filters datasets only, and does not translate search text.
Input examples
Each example uses a supported mode and requests at most 3 rows. Repository availability and dataset configurations can change.
models
{"searchType": "models","query": "bert","maxResults": 3}
datasets
{"searchType": "datasets","query": "squad","language": "en","maxResults": 3}
spaces
{"searchType": "spaces","query": "image","spaceFilter": "gradio","maxResults": 3}
papers
{"searchType": "papers","sort": "likes","maxResults": 3}
collections
{"searchType": "collections","sort": "likes","maxResults": 3}
model
{"searchType": "model","repoId": "openai/whisper-tiny","maxResults": 3}
dataset
{"searchType": "dataset","repoId": "rajpurkar/squad","maxResults": 3}
space
{"searchType": "space","repoId": "openai/whisper","maxResults": 3}
paper
{"searchType": "paper","repoId": "1706.03762","maxResults": 3}
collection
{"searchType": "collection","repoId": "Quivr/quivr-65907b4b12f6d870e1cd0e01","maxResults": 3}
files
{"searchType": "files","repoId": "openai/whisper-tiny","maxResults": 3}
datasetRows
{"searchType": "datasetRows","repoId": "rajpurkar/squad","datasetConfig": "plain_text","datasetSplit": "train","datasetLength": 3,"maxResults": 3}
datasetSearch
{"searchType": "datasetSearch","repoId": "rajpurkar/squad","datasetConfig": "plain_text","datasetSplit": "train","query": "university","datasetLength": 3,"maxResults": 3}
datasetStatistics
{"searchType": "datasetStatistics","repoId": "rajpurkar/squad","datasetConfig": "plain_text","datasetSplit": "train","maxResults": 3}
datasetParquet
{"searchType": "datasetParquet","repoId": "rajpurkar/squad","maxResults": 3}
fileMeta
{"searchType": "fileMeta","repoId": "openai/whisper-tiny","targetPath": "config.json","maxResults": 3}
fileDownload
{"searchType": "fileDownload","repoId": "openai/whisper-tiny","targetPath": "config.json","maxResults": 3}
pathsInfo
{"searchType": "pathsInfo","repoId": "openai/whisper-tiny","filePaths": ["config.json"],"maxResults": 3}
spaceRuntime
{"searchType": "spaceRuntime","repoId": "openai/whisper","maxResults": 3}
collectionDetail
{"searchType": "collectionDetail","repoId": "Quivr/quivr-65907b4b12f6d870e1cd0e01","maxResults": 3}
dailyPapers
{"searchType": "dailyPapers","maxResults": 3}
discussions
{"searchType": "discussions","repoId": "openai/whisper-tiny","maxResults": 3}
commits
{"searchType": "commits","repoId": "openai/whisper-tiny","rev": "main","maxResults": 3}
refs
{"searchType": "refs","repoId": "openai/whisper-tiny","maxResults": 3}
community
{"searchType": "community","repoId": "openai/whisper-tiny","maxResults": 3}
maxItemsandlimitare aliases formaxResults;searchandkeywordmap toquery;urlsandstartUrlsmap todetailUrls.- Unknown fields do not fail input resolution. Close misspellings can be corrected; other fields are ignored with a note.
- Invalid targets stop before row delivery with
INVALID_INPUT: <field> — <how to fix>. No rows are charged; the start fee still applies. INPUT_REPORTin the default key-value store records normalization, example inputs, warnings and ignored fields.
Output example
Illustrative model row; counts are examples, not current measurements.
{"id": "openai/whisper-tiny","name": "whisper-tiny","kind": "model","type": "model","status": "listed","country": "US","authority": "huggingface.co","url": "https://huggingface.co/openai/whisper-tiny","pipelineTag": "automatic-speech-recognition","downloads": 1200,"likes": 50,"license": "apache-2.0","gated": false,"emails": [],"phones": []}
Export the dataset as JSON, CSV, Excel, XML, RSS or an HTML table.
Why use this Hugging Face scraper?
- Pay for delivered rows: no row charge for an empty dataset.
- Keep delivered results: a run that reaches its timeout delivers the rows collected so far and gives you a cursor to continue.
- Understand the input: inspect
INPUT_REPORT,INPUT_ECHOandRUN_SUMMARY; failures also writeERROR_SUMMARY. - Batch page inputs: use
detailUrlsfor several pages with a shared cap. - No proxy setup: you do not need to set up proxies.
How much does it cost to scrape Hugging Face?
The Actor uses pay-per-event pricing; platform usage is included.
| Apify plan | Start event | Price per row | Price per 1,000 rows |
|---|---|---|---|
| Free | $0.005 | $0.003 | $3.00 |
| Starter | $0.005 | $0.0027 | $2.70 |
| Scale | $0.005 | $0.0024 | $2.40 |
| Business | $0.005 | $0.0021 | $2.10 |
| Platinum | $0.005 | $0.0021 | $2.10 |
| Diamond | $0.005 | $0.0021 | $2.10 |
One start event is charged per GB of memory, minimum one. Default memory is 1024 MB, so the start costs $0.005.
maxResultsapplies per query or repository input; adetailUrlsbatch shares that allowance. Default 70; larger requests are collected in parts of 70, up to the input maximum of 200.- Free Apify plan users are limited to 200 rows per run and 10 runs of this Actor (publisher limits).
- Maximum cost per run (
maxTotalChargeUsdin the API) limits the whole run and can stop delivery early. - The Apify Free plan includes $5.00 in monthly usage credit (about 1,666 rows at
$0.003each).
Example: one query delivering 5 rows on the Free plan at 1024 MB costs 5 × $0.003 + $0.005 = $0.020. A zero-row run has no row charge but still incurs the start fee.
What happens when the run timeout is too short
If your run timeout ends before everything is collected, the run does not fail. It stops shortly before the timeout, delivers every row collected so far to the dataset, and finishes as SUCCEEDED. You are charged only for the rows it delivered.
To get the rest, run the Actor again with the same input and set cursor to
the value of nextCursor from the run's RUN_SUMMARY record (key-value store).
The new run first delivers rows that were already collected, then collects
what is left. Rows are never delivered or charged twice. A cursor can be used
once and is valid for 6 hours; after that, a run with the same input starts
from the beginning.
RUN_SUMMARY also tells you why the run stopped early: partial: true and
partialReason: "run_timeout".
Stopping a run yourself? Use Abort gracefully (Console) or
POST /v2/actor-runs/{runId}/abort?gracefully=true (API). The run then keeps
the rows collected so far and writes a cursor the same way. A plain abort stops
the run immediately and delivers nothing.
Calling the Actor synchronously (run-sync, run-sync-get-dataset-items)
works as usual: you get the rows delivered before the timeout.
Use with AI agents and the API
Apify MCP server
In Claude, ChatGPT, Cursor, VS Code or another remote MCP client, add:
https://mcp.apify.com?tools=lentic_clockss/huggingface-scraper
Sign in with Apify using OAuth, or send Authorization: Bearer <YOUR_APIFY_TOKEN>. The tool returns run and dataset IDs; read rows with get-dataset-items. For local clients, set APIFY_TOKEN and run:
npx @apify/actors-mcp-server --tools lentic_clockss/huggingface-scraper
Example prompt: "Find three Hugging Face models matching bert and return their IDs, licenses and download counts."
- Agent execution note: Set
maxResultsbetween5and20on exploratory tool calls to keep responses compact, and readRUN_SUMMARYandINPUT_REPORTfrom the default key-value store to inspect normalized inputs and delivered row counts. When a run endsSUCCEEDEDwithpartial: trueand anextCursor, start a new run with the same input and thatcursorto get the rest.
Apify API
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("lentic_clockss/huggingface-scraper").call(run_input={"query": "bert", "searchType": "models", "maxResults": 3})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('lentic_clockss/huggingface-scraper').call({query: 'bert', searchType: 'models', maxResults: 3});const { items: rows } = await client.dataset(run.defaultDatasetId).listItems();console.log(rows);
Over HTTP, send input JSON to POST https://api.apify.com/v2/acts/lentic_clockss~huggingface-scraper/runs with an Authorization: Bearer <YOUR_APIFY_TOKEN> header. Read GET https://api.apify.com/v2/datasets/<datasetId>/items?format=json after completion.
Integrations
Connect Google Sheets, Make, Zapier, n8n, Slack, Airtable or webhooks from the Integrations tab; use Apify Schedules for recurring runs.
FAQ
Is it legal to scrape Hugging Face?
This Actor collects public data; you are responsible for the site's terms and applicable data-protection law. Processing personal data requires a lawful basis.
Why did my run end as ABORTED?
Runs no longer pause as ABORTED when the timeout is too short; they end SUCCEEDED with partial results, as described above. ABORTED means the run was aborted. Use Abort gracefully to keep the rows collected so far and get a cursor.
How many results can I get?
maxResults accepts 1–200. Actual delivery depends on available matches and your spending limit; a detail input normally returns one row. Free-plan limits also apply.
Why are some fields empty?
The source may not expose them, or that row type may not contain them. Phones and street addresses are not collected. country is a fixed label, not a discovered location.
Why do leadAbsences reasons look different from earlier runs?
Reasons are now English codes instead of Chinese labels:
| Earlier label (JSON-escaped) | Meaning | New value |
|---|---|---|
"\u672c\u7ad9\u65e0\uff1a\u672c\u7ad9\u65e0" on phones, geo, address.street, address.unit | Not read by the actor | not_verified (<note>) |
"\u672c\u7ad9\u65e0\uff1a\u672c\u7ad9\u65e0" on emails | Profile read, no email link or name | not_verified (<note>) |
"\u672c\u7ad9\u65e0\uff1a\u672c\u7ad9\u65e0" on emails | Profile not fetched | not_collected (<note>) |
"\u672c\u7ad9\u65e0\uff1a\u672c\u7ad9\u65e0" on person | Hugging Face's own account | not_verified (<note>) |
"\u672c\u7ad9\u65e0\uff1a<evidence>" on other fields | Response has the key, empty | Not on source: <evidence> |
"\u672c\u7ad9\u65e0\uff1a<evidence>" on other fields | Response has no such key | Entry removed; see quality.missingFields |
Does it download model weights or run Spaces?
No. File modes return metadata or locations, not file content. Space modes do not launch applications or perform inference.
Why do papers and collections ignore my keyword?
These modes list catalogs rather than matching keywords. Use model, dataset or Space search for keyword filtering.
Does it provide author contact details?
Public profile names and social links may be included. Email coverage is limited; the Actor does not crawl authors' external websites for contacts.
What if there are no rows?
Broaden the keyword or remove filters. Check RUN_SUMMARY and any failure message. A genuine no-match response can finish successfully with an empty dataset.
Limitations
- The
enterprise,home,loginandinferencesearch types were removed because they are not provided; saved tasks still using one fail input validation. - Private content and gated content requiring login are not collected.
- Discussion and commit page URLs are unsupported in
detailUrls; usediscussionsorcommitswithrepoId. - Dataset content uses one page of up to 100 rows; use
datasetOffsetfor another page. Index preparation can delay or prevent delivery. - Tree previews are not complete repository inventories. Fields and counters vary by source availability.
maxPagesis not a strict one-page guarantee: listing collection can increase it to meet the row request, with a hard ceiling of 20.- A plain (not graceful) abort stops the run immediately and delivers nothing.
Related scrapers
More developer and data tools from the same publisher:
- Phone Number Validator
- GitHub Scraper
- Polymarket Scraper
- Imperva Credential Verifier
- Stealth Web Scraper
- Email Risk Validator
Browse all of our scrapers at apify.com/lentic_clockss.
Support
Report a problem or request a field through the Issues tab of this Actor's page. Include the run ID and the input you used.