Hugging Face Scraper avatar

Hugging Face Scraper

Pricing

from $2.50 / 1,000 results

Go to Apify Store
Hugging Face Scraper

Hugging Face Scraper

Scrape AI models, datasets and Spaces from Hugging Face: downloads, likes, trending score, license, task, library, parameter count, base models, languages and Space status. Paste Hub URLs or search by keyword, get clean JSON. No login, no API key, no proxy.

Pricing

from $2.50 / 1,000 results

Rating

0.0

(0)

Developer

Anyx Solutions

Anyx Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

banner

Hugging Face Scraper

Models, datasets and Spaces from the Hugging Face Hub, with downloads, likes, licenses, parameter counts and base models, as clean JSON.

Hugging Face is where the open AI ecosystem publishes its work: over a million models, hundreds of thousands of datasets, and the Spaces that demo them. This Actor scrapes AI models, datasets and Spaces from Hugging Face: downloads, likes, trending score, license, task, library, parameter count, base models, languages and Space status. Paste any Hub listing with its filters, an organization page, or a single model, dataset or Space, or just search by keyword. Each repo comes back with its last-30-day and all-time downloads, likes and trending score, creation and update dates, gating, the papers it cites, and for Spaces the SDK, hardware and whether the app is running. There is no login, no API key, and no proxy to configure. Built for AI market research, model and vendor tracking, open-source analytics, investors watching what developers adopt, and teams building model catalogs.

⚡ Quick start

{
"startUrls": [
{
"url": "https://huggingface.co/models?pipeline_tag=text-generation&sort=trending&search=llama"
}
],
"searchTerms": ["whisper"],
"maxItems": 5
}

🧩 Input

FieldTypeRequiredDefaultDescription
startUrlsarrayno—huggingface.co pages: a model, dataset or Space listing with its filters (/models?…, /datasets?…, /spaces?…), an organization or user (/meta-llama), or a model, dataset or Space page.
searchTermsarrayno—Keywords to search the Hub for, one per line, for example whisper or stable diffusion.
repoTypestringnomodelWhat search terms look for: model, dataset or space.
sortstringnotrendingOrder of search results: trending, downloads, likes, created or modified. Spaces have no downloads, so for Spaces downloads sorts by likes.
taskstringno—Only return models or datasets for one task, such as text-generation, automatic-speech-recognition or text-to-image. Ignored for Spaces.
maxItemsintegerno—Maximum number of repos per start URL or search term. The input form starts at 5; leave it empty for every matching repo.
proxyConfigurationobjectno{ "useApifyProxy": false }Proxy settings. The Hugging Face Hub needs no proxy.

Add URLs, search terms, or both. The easiest way to build a query is to filter on huggingface.co/models (task, library, language, license, size, sort, search) and paste the address bar: the Actor keeps every one of those filters, and the same goes for the datasets and Spaces pages. An organization or user page such as https://huggingface.co/google returns that account's models, most downloaded first. The search options (Search in, Sort by, Task) apply to search terms only.

📤 Output

Each model, dataset or Space is one dataset row, marked by itemType. Every row has the same fields; a field that does not apply to that kind of repo (downloads on a Space, parameters on a dataset) is null.

Fields

FieldTypeDescription
itemTypestringmodel, dataset or space.
idstringRepo ID, owner/name.
authorstringOwner: organization or user.
namestringRepo name without the owner.
urlstringThe repo's page on huggingface.co.
titlestringDisplay title of a dataset or Space. null for models.
descriptionstringDataset summary as plain text, or a Space's short description. null for models.
pipelineTagstringA model's task, such as text-generation.
taskCategoriesarrayA dataset's task categories, such as question-answering.
librarystringA model's library, such as transformers, diffusers or gguf.
tagsarrayEvery tag on the repo.
licensestringLicense ID, such as apache-2.0 or llama3.1.
languagesarrayLanguages declared on the repo card.
downloadsnumberDownloads over the last 30 days (models and datasets).
downloadsAllTimenumberDownloads since the repo was created (models and datasets).
likesnumberLikes.
trendingScorenumberHugging Face's trending score: recent likes and activity.
createdAtstringWhen the repo was created (ISO 8601).
lastModifiedstringWhen the repo was last updated (ISO 8601).
gatedbooleanWhether you must accept terms or be approved to download the files (models and datasets).
gatedModestringauto (accept terms) or manual (owner approves) when gated.
parameterCountnumberTotal model parameters, from the safetensors or GGUF weights. null when the weights don't publish it.
baseModelsarrayThe model(s) this model was built from.
baseModelRelationstringHow it was built from them: finetune, quantized, adapter or merge.
datasetsarrayDatasets a model was trained on (as declared on its card), or datasets a Space uses.
modelsarrayModels a Space uses.
arxivIdsarrayarXiv IDs of the papers the repo cites.
sizeBytesnumberSize of a dataset's main files in bytes.
sdkstringA Space's SDK: gradio, streamlit, docker or static.
runtimeStagestringWhether a Space is up: RUNNING, SLEEPING, BUILDING, RUNTIME_ERROR and so on.
hardwarestringHardware a Space runs on, such as cpu-basic or zero-a10g.
emojistringA Space's emoji.
appUrlstringThe Space's app on its own domain (*.hf.space).

💡 Use cases

  • AI market research — track which models, tasks and licenses are gaining downloads and likes, week over week.
  • Vendor and competitor tracking — monitor every release from an organization such as meta-llama, google or mistralai, with parameter counts and licenses.
  • Model lineage — map fine-tunes and quantizations back to their base models to measure a model family's reach.
  • Dataset discovery — build catalogs of datasets by task, language, license and size.
  • Investment and partnership research — spot fast-rising authors and Spaces by trending score.

❓ FAQ

  • Do I need a Hugging Face account or API token? No. The Actor reads the same public pages anyone can browse without logging in.
  • Do I need a proxy? No. It runs without one by default.
  • What do the download numbers mean? downloads counts the last 30 days, the number Hugging Face shows on a model page; downloadsAllTime counts every download since the repo was created.
  • Why is parameterCount empty for some models? It is read from the published weight files. Models without safetensors or GGUF weights (older PyTorch-only checkpoints, adapters, API-only models) don't publish it.
  • Can I get gated models like Llama? Yes, their public details: downloads, likes, license and so on. gated tells you that downloading the weights needs approval; the Actor never downloads files.
  • How many repos can I get? As many as the listing has. Leave maxItems empty to page through every match; each page holds 100 repos. Hugging Face limits how fast anonymous clients can browse, so very large runs pause briefly when they hit that limit and then continue.

🔗 More scrapers by Anyx

🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.

🖼 Image credit

Image credit: huggingface.co