HuggingFace Models Scraper avatar

HuggingFace Models Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
HuggingFace Models Scraper

HuggingFace Models Scraper

[๐Ÿ’ฐ $1.00 / 1K] Extract model metadata from the HuggingFace Hub โ€” downloads, likes, trending score, task, library, license, tags, dates, and file lists. Search by keyword, filter by author, task, library, or tag, and sort by popularity or date.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

SolidCode

SolidCode

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Pull structured model metadata from the HuggingFace Hub at scale โ€” all-time downloads, likes, trending scores, task, framework, license, gated-access status, and the full repository file manifest for any model across the Hub's 1M+ open-source repositories. Built for ML engineers, AI researchers, and data teams who need to track the open-model ecosystem in a clean spreadsheet without clicking through the Hub one model card at a time.

Why This Scraper?

  • 26 machine-learning task filters โ€” narrow to Text Generation, Speech Recognition (ASR), Text-to-Image, Feature Extraction (Embeddings), Object Detection, and 21 more, each from a plain-English dropdown instead of raw API strings.
  • 17 framework & format filters โ€” pinpoint models by Transformers, Diffusers, GGUF, Safetensors, ONNX, PEFT (LoRA / adapters), Sentence Transformers, MLX (Apple), and 9 others.
  • All-time downloads, likes, and Hub trending score on every row โ€” the three adoption signals you need to rank models by real-world traction, not guesswork.
  • License extracted for every model โ€” apache-2.0, mit, llama3.1, cc-by-nc-4.0, and more, pulled from model card data so you can filter by what you're legally allowed to ship.
  • Gated-access status detection โ€” each model is flagged open, auto, or manual so you know upfront which weights need an access request before download.
  • Full repository file manifest on demand โ€” flip one switch to list every weight, config, tokenizer, and README file per repo, ideal for auditing which models publish GGUF or Safetensors artifacts.
  • AND-semantics multi-tag filtering โ€” stack arbitrary Hub tags (gguf, merge, conversational, code) and get back only models that carry every one.
  • 5 sort modes โ€” order by trending score, all-time downloads, likes, last-modified, or creation date, with oldest-first paging supported for creation date.
  • Up to 50,000 models per run โ€” sweep an entire task, author, or framework in a single pass across the Hub's 1M+ models.

Use Cases

Model Selection & ML Ops

  • Shortlist the top text-generation models by downloads before a fine-tuning project
  • Filter to a framework your stack supports (Transformers, ONNX, GGUF) to avoid conversion work
  • Screen out gated models when you need weights available for automated pipelines
  • Compare license terms across candidate models to confirm commercial use is allowed

Market & Competitive Research

  • Track every model an organization (meta-llama, google, mistralai) has published
  • Measure adoption of a model family by all-time download and like counts
  • Benchmark your own released models against competitors in the same task category
  • Map which frameworks dominate a given ML task across the Hub

Trend Monitoring

  • Pull the trending leaderboard for any task to catch rising models early
  • Sort by creation date to surface the newest releases in embeddings or speech
  • Watch download velocity on a fixed model set over repeated runs
  • Spot new GGUF or MLX quantizations as they appear via tag filters

Dataset & Leaderboard Building

  • Assemble a structured catalog of models for internal discovery tools
  • Feed a model registry or evaluation harness with fresh metadata
  • Build ranked leaderboards by downloads, likes, or trending score
  • Power a searchable index of open models for your team

Compliance & License Auditing

  • Audit which models in a shortlist carry non-commercial or share-alike licenses
  • Flag gated models that require an access agreement before use
  • Inventory repository file types to confirm required artifacts (weights, configs) are published
  • Document provenance โ€” author, creation date, and last-modified timestamp per model

Getting Started

Search by Keyword

The simplest run โ€” just a search term:

{
"search": "llama",
"maxResults": 100
}

Filter by Task and Framework

Combine a task and a framework to get exactly the models your stack can run:

{
"pipelineTag": "text-generation",
"libraryName": "gguf",
"sortBy": "downloads",
"maxResults": 500
}

One Organization's Full Catalog

Pull every model an organization has published, newest first:

{
"author": "mistralai",
"sortBy": "createdAt",
"sortDirection": "descending",
"maxResults": 1000
}

Advanced โ€” Tagged, Sorted, with File Lists

{
"search": "embedding",
"pipelineTag": "sentence-similarity",
"libraryName": "sentence-transformers",
"tags": ["safetensors"],
"sortBy": "likes",
"sortDirection": "descending",
"maxResults": 2000,
"includeFiles": true
}

Input Reference

Search & Filters

ParameterTypeDefaultDescription
searchstring"llama"Free-text search across model names and descriptions. Leave empty to browse all models by the filters and sort order below.
authorstringnullOnly include models from this user or organization (e.g. meta-llama, google, mistralai).
pipelineTagselectnullOnly include models built for one machine-learning task. 26 options including Text Generation, Text Classification, Speech Recognition (ASR), Text-to-Image, Feature Extraction (Embeddings), and Object Detection.
libraryNameselectnullOnly include models built with one framework or file format. 17 options including Transformers, Diffusers, GGUF, Safetensors, ONNX, PEFT (LoRA / adapters), and MLX (Apple).
tagsstring[][]Extra Hub tags a model must have (e.g. gguf, merge, conversational, code). A model is included only if it has every tag you list.

Results

ParameterTypeDefaultDescription
sortByselectTrendingOrder results by Trending, Most downloads, Most likes, Recently updated, or Recently created.
sortDirectionselectDescending (highest / newest first)Order direction. The Hub only supports ascending order for "Recently created"; every other sort always returns highest/newest first.
maxResultsinteger100Maximum number of models to return. Set to 0 to fetch all matches, bounded by a 50,000-model safety cap.
includeFilesbooleanfalseAdd each model's repository file list (weights, configs, tokenizer files, README) to the output. Turn off for a lighter, faster result.

Output

Each model is one flat row. Here's a representative result with includeFiles enabled:

{
"id": "meta-llama/Llama-3.1-8B-Instruct",
"author": "meta-llama",
"modelName": "Llama-3.1-8B-Instruct",
"url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",
"pipelineTag": "text-generation",
"libraryName": "transformers",
"license": "llama3.1",
"downloads": 4821337,
"likes": 3894,
"trendingScore": 42,
"tags": ["transformers", "safetensors", "llama", "conversational", "license:llama3.1"],
"gated": "manual",
"private": false,
"createdAt": "2024-07-18T16:57:41.000Z",
"lastModified": "2024-09-25T17:00:57.000Z",
"sha": "0e9e39f249a16976918f6564b8830bc894c89659",
"files": ["config.json", "model-00001-of-00004.safetensors", "tokenizer.json", "README.md"],
"scrapedAt": "2026-07-03T14:30:00Z"
}

Core Fields

FieldTypeDescription
idstringFull model id in author/name form (e.g. meta-llama/Llama-3.1-8B-Instruct).
authorstring | nullOwning user or organization.
modelNamestring | nullName portion after the last /.
urlstring | nullCanonical model page URL on the Hub.
privatebooleanWhether the repository is private.
scrapedAtstringISO timestamp when the row was fetched.

Classification

FieldTypeDescription
pipelineTagstring | nullPrimary machine-learning task (e.g. text-generation).
libraryNamestring | nullFramework or format the model is built with (e.g. transformers).
licensestring | nullLicense id from card data (e.g. apache-2.0, mit, llama3.1).
tagsstring[]All Hub tags โ€” task, language, dataset:, arxiv:, license:, region:, and more.
gatedboolean | stringGated-access status: false (open), "auto", or "manual".

Metrics

FieldTypeDescription
downloadsinteger | nullAll-time download count.
likesinteger | nullLike count.
trendingScorenumber | nullHub trending score.

Dates & Files

FieldTypeDescription
createdAtstring | nullISO creation timestamp.
lastModifiedstring | nullISO last-modified timestamp.
shastring | nullLatest commit SHA.
filesstring[] | nullRepository file names โ€” populated only when includeFiles is on, otherwise null.

Tips for Best Results

  • Start with a small maxResults โ€” run 50โ€“100 first to confirm the filters match what you want, then scale up to thousands.
  • Combine pipelineTag and libraryName โ€” pairing a task with a framework (e.g. Text Generation + GGUF) is the fastest way to a short, highly relevant list instead of sifting a broad search.
  • Page the oldest models first โ€” set sortBy to Recently created with sortDirection ascending to walk a task's history from its very first release forward; this ascending order is only supported on creation date.
  • Turn on includeFiles for artifact audits โ€” the file list reveals which repos ship GGUF, Safetensors, or ONNX weights, so you can filter deployable models without opening each card.
  • Leave search empty to browse by filters alone โ€” an author, task, or tag combination with no search term returns the full matching set in your chosen sort order.
  • Stack tags for precision โ€” every tag you add tightens the result set (all must match), so use it to isolate niche subsets like merge or conversational.
  • Sort by downloads for battle-tested picks, trending for what's rising โ€” downloads reward proven adoption, while trending surfaces momentum before a model is widely known.

Pricing

From $1.00 per 1,000 results โ€” a flat rate that makes sweeping an entire task category or organization's catalog affordable. Bronze, Silver, and Gold subscribers pay progressively less; the table below shows total cost at each discount tier.

ResultsNo discountBronzeSilverGold
100$0.12$0.115$0.105$0.10
1,000$1.20$1.15$1.05$1.00
10,000$12.00$11.50$10.50$10.00
100,000$120.00$115.00$105.00$100.00

A "result" is any model row in the output dataset. No compute or time-based charges โ€” you pay per result, plus a small fixed per-run start fee.

Integrations

Export data in JSON, CSV, Excel, XML, or RSS. Connect to 1,500+ apps via:

  • Zapier / Make / n8n โ€” Workflow automation
  • Google Sheets โ€” Direct spreadsheet export
  • Slack / Email โ€” Notifications on new results
  • Webhooks โ€” Trigger custom APIs on run completion
  • Apify API โ€” Full programmatic access

This actor collects publicly available model metadata from the HuggingFace Hub for legitimate research, model discovery, and market analysis. Users are responsible for complying with applicable laws and the HuggingFace Terms of Service. Respect each model's license terms and gated-access requirements before downloading or deploying any weights. Do not use extracted data for any unlawful purpose.