Hugging Face Model Scraper avatar

Hugging Face Model Scraper

Pricing

from $5.00 / 1,000 records

Go to Apify Store
Hugging Face Model Scraper

Hugging Face Model Scraper

Scrapes Hugging Face model cards by task, library, license, language, or keyword search. Returns each model as a flat row with downloads, likes, author, tags, and last-modified date.

Pricing

from $5.00 / 1,000 records

Rating

5.0

(3)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

2

Bookmarked

29

Total users

3

Monthly active users

9 days ago

Last modified

Share

ParseForge

Hugging Face Model Scraper

Scrape Hugging Face model metadata by task, library, license, or keyword, up to a million models per run. Every model comes with its downloads, likes, author, tags, and last-modified date. No API token required. Export to CSV, JSON, Excel, or XML.

The Hugging Face Hub lists over a million models, but the web UI limits you to browsing one page at a time. This Actor reads the public model index directly, filtering by pipeline task, library, license, language, or free-text query, and returns every match in a flat, analysis-ready schema. No API key, no OAuth, no rate-limit headaches.

Who uses itWhat they scrape Hugging Face for
ML engineersFind the most-downloaded text-generation models under the Apache 2.0 license.
Product managersTrack which model architectures and tasks are gaining traction week over week.
Venture capital analystsMap the open-source AI landscape by library adoption and author activity.
Academic researchersBuild a corpus of model cards for a specific language or multimodal task.

What it does

This Actor collects Hugging Face model cards by task, library, license, language, or keyword search, and returns each model as a flat row with its metadata and popularity signals.

  • πŸ” Keyword search: free-text query across model IDs and descriptions.
  • 🏷️ Pipeline task filter: restrict to text-classification, image-generation, text-generation, and more.
  • πŸ“š Library filter: isolate models built with transformers, diffusers, timm, or other frameworks.
  • πŸ“œ License filter: collect only models with a specific license identifier like mit or apache-2.0.
  • 🌐 Language filter: narrow results to a primary language tag such as en, zh, or multi.
  • πŸ“Š Popularity sorting: order by downloads, likes, last-modified date, or trending score.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Hugging Face data

πŸ“ˆ Monitor open-source AI trends.

An ML engineer runs the Actor weekly with task=text-generation and sort=trending to spot which new models are gaining traction before they appear in benchmarks.

βš–οΈ Audit license compliance.

A legal team scrapes all models matching a company's tech stack, filters by license=apache-2.0, and exports the list for due diligence.

🌍 Map multilingual model coverage.

A researcher collects every model tagged language=zh or language=multi to analyze the state of Chinese-language NLP on the Hub.

πŸ—οΈ Build a model discovery tool.

A startup scrapes the full model index, enriches it with computed signals, and powers an internal search engine for their engineering team.

Why choose this scraper

What you get
No API tokenReads the public model index; no Hugging Face account or token needed.
Fixed flat schemaEvery model returns the same columns, ready for pandas, Excel, or a database.
Up to 1M rowsCollect as many models as you need in a single run.
Sort by popularityOrder results by downloads, likes, last-modified, or trending score.

How it compares

No other Store actor targets Hugging Face the same way, so the honest comparison is with the alternatives teams actually weigh.

Hugging Face Model ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When Hugging Face changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from a keyword query, pipeline task, library, license, and language, alone or together, and filters run as each model is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

Pay-per-result: $0.005 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.50
1,000 results$5.00
10,000 results$50.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Hugging Face Model Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Hugging Face through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/hugging-face-model-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting zero results?

Check that your filters are not too restrictive. Try running with only a query or only a task first. If you combine task, library, and license, the Hub must match all three.

The run stopped before reaching my maxItems.

The Hub returned fewer models than your limit. Your filter combination may have exhausted all available matches. Try broadening the filters or removing one.

Some model fields are empty in my dataset.

Not every model card fills in every field. Author, license, or language may be blank when the uploader left them unspecified. This is expected.

The sort order does not look right.

Confirm you set both 'sort' and 'direction'. The default is downloads descending. If you set direction to 'asc', the least-downloaded models appear first.

FAQ

QuestionAnswer
Do I need a Hugging Face API token?No. This Actor reads the public model listing pages. No account, token, or login is required.
How many models can I scrape in one run?You can set maxItems up to 1,000,000. The Actor will paginate through results until it reaches your limit or the Hub runs out of matches.
Can I filter by multiple tasks or libraries at once?Each filter field accepts a single value per run. To cover multiple tasks, run the Actor once per task and merge the datasets.
What does the 'trending' sort option mean?Trending is a Hugging Face computed score that weights recent downloads and likes more heavily. It surfaces models gaining momentum right now.
Does this Actor download model weights or files?No. It scrapes only the metadata from the model card listing: author, downloads, likes, tags, license, and last-modified date. It does not touch model binaries.
Can I scrape private models?No. This Actor only accesses publicly listed models on the Hugging Face Hub. Private or gated models are not visible.
What export formats are supported?You can export your dataset to CSV, JSON, Excel, or XML from the Apify platform.
How do I search for a specific model name?Use the 'query' field. It performs a free-text search across model IDs and descriptions, so 'llama' will match meta-llama/Llama-3-8B and similar.

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Hugging Face, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.