Hugging Face Models, Datasets & Spaces Scraper avatar

Hugging Face Models, Datasets & Spaces Scraper

Pricing

Pay per usage

Go to Apify Store
Hugging Face Models, Datasets & Spaces Scraper

Hugging Face Models, Datasets & Spaces Scraper

Trending, most-downloaded or newest Hugging Face models, datasets and Spaces via the official Hub API: likes, downloads, task, library, license, base model, arXiv papers.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hussain Ali

Hussain Ali

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

Export trending, most downloaded, most liked or newest Hugging Face models, datasets and Spaces to JSON, CSV, Excel or Google Sheets. Each row has likes, 30-day and all-time downloads, trending score, task (pipeline tag), library, license, languages, base model, parameter count, linked arXiv papers and timestamps.

  • Uses the official public Hugging Face Hub API. No login, no API token, no cookies, no proxies, no browser.
  • Fast: about 100 repos per request, thousands of rows in under a minute.
  • Filter by search text, author or organization, task, and any Hub tag (gguf, license:mit, language:ur, library:diffusers...).
  • Sort by trending, downloads, likes, newest or recently updated.

What can you use it for?

  • AI market research: track which open models, tasks and libraries are trending this week, and how fast they grow.
  • Model discovery: find the most downloaded speech recognition, text-to-image or embedding models for a language or license.
  • Competitive tracking: monitor every model, dataset and Space an organization (meta-llama, mistralai, Qwen, google) publishes.
  • Fine-tune and quantization research: list all derivatives of a base model through the baseModels field.
  • Newsletters and dashboards: a daily feed of trending AI repos for your newsletter, Slack channel or BI dashboard. Schedule it on Apify.
  • Lead generation: find active AI teams and builders by what they publish.
  • Dataset sourcing: find datasets for a task or language, with license and download counts.

Input

FieldTypeDefaultDescription
repoTypeselectmodelmodel, dataset or space
sortselecttrendingScoretrendingScore, downloads, likes, createdAt, lastModified (descending)
searchstringText search on repo names, e.g. llama, whisper, urdu
authorstringOnly repos from this user or organization, e.g. google
taskstringModels only. Pipeline tag such as text-generation, text-to-image, automatic-speech-recognition
filterTagsstring list[]Tags that must all match, e.g. gguf, license:apache-2.0, ur
minLikesinteger0Skip repos with fewer likes
maxItemsinteger100Stop after this many rows (up to 10,000)
{ "repoType": "model", "sort": "trendingScore", "maxItems": 200 }

Example input: most downloaded Urdu speech models

{ "repoType": "model", "task": "automatic-speech-recognition", "filterTags": ["ur"], "sort": "downloads", "maxItems": 50 }

Example input: every dataset from an organization

{ "repoType": "dataset", "author": "HuggingFaceFW", "sort": "downloads", "maxItems": 500 }

Output

FieldDescription
repoTypemodel, dataset or space
id, name, authorRepo id (owner/name), name, owner
urlHugging Face page
likesTotal likes
downloadsDownloads in the last 30 days (models and datasets)
downloadsAllTimeAll-time downloads
trendingScoreHub trending score at scrape time
taskPipeline task (models) or task category (datasets)
librarytransformers, diffusers, gguf, mlx, sentence-transformers...
licenseLicense id
languagesLanguage codes
baseModelsBase model(s) a fine-tune, quantization, adapter or merge comes from
arxivIdsLinked arXiv paper ids
datasetsTraining datasets listed in tags
parametersParameter count from safetensors metadata, when published
gatedfalse, auto or manual
sdk, spaceTitle, spaceStage, hardwareSpace SDK, title, runtime stage and hardware
descriptionSpace short description or dataset description (first 500 chars)
tagsAll Hub tags
createdAt, lastModified, scrapedAtISO timestamps

Example output item

{
"repoType": "model",
"id": "openai/whisper-large-v3",
"name": "whisper-large-v3",
"author": "openai",
"url": "https://huggingface.co/openai/whisper-large-v3",
"likes": 6778,
"downloads": 3515562,
"downloadsAllTime": 153221053,
"trendingScore": 33,
"task": "automatic-speech-recognition",
"library": "transformers",
"license": "apache-2.0",
"languages": ["en", "zh", "de", "ur"],
"baseModels": [],
"arxivIds": ["2212.04356"],
"parameters": 1543490560,
"gated": false,
"createdAt": "2023-11-07T18:41:14.000Z"
}

How much does it cost?

It makes only light API calls and needs no proxy, so platform usage is minimal. A run of a few hundred rows finishes in seconds.

FAQ

Do I need a Hugging Face account or token? No. It reads public data from the official Hub API.

Can I get private or gated model files? No. It only returns public metadata. Gated repos are listed with their gating mode, but no files are downloaded.

Why is parameters empty for some models? Hugging Face only reports parameter counts for repos with safetensors weights. GGUF-only or older repos often have none.

Why are Space download counts empty? The Hub does not publish download counts for Spaces. Sort Spaces by trending or likes.

Can I run it every day? Yes. Create a schedule in Apify Console and export each run to Google Sheets, a webhook or your database.

Is this allowed? It uses Hugging Face's documented public API and only public metadata, at a gentle request rate.