Hugging Face Models & Datasets Scraper (API) avatar

Hugging Face Models & Datasets Scraper (API)

Pricing

$0.30 / 1,000 model or dataset exporteds

Go to Apify Store
Hugging Face Models & Datasets Scraper (API)

Hugging Face Models & Datasets Scraper (API)

Exports Hugging Face model and dataset metadata—downloads, likes, tags, license, pipeline task, and update dates—via the official public API.

Pricing

$0.30 / 1,000 model or dataset exporteds

Rating

5.0

(1)

Developer

Ahmed

Ahmed

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Hugging Face Models & Datasets Scraper

Exports Hugging Face model and dataset metadata — downloads, likes, tags, license, pipeline task, library, and update dates — by calling the official public huggingface.co API. Built for AI/ML engineers tracking model popularity or licensing, researchers building datasets of the Hugging Face ecosystem, and teams doing competitive or trend analysis on model releases.

Why this scraper

  • Covers both models and datasets from a single actor run against the same official API — no need to run separate tools for each.
  • Priced at $0.0003 per item, which is below the cheapest per-item alternative on the store.
  • Pulls from the official unauthenticated JSON API, so output fields match what Hugging Face itself publishes (downloads, likes, trending score, license, tags) with no scraping of rendered HTML.

Output fields

FieldTypeDescription
idstringFull model or dataset ID, e.g. author/name
itemTypestringEither 'model' or 'dataset'
authorstringOrganization or user that owns the item
pipelineTagstringPipeline task, e.g. text-generation (models only)
libraryNamestringLibrary used, e.g. transformers
downloadsintegerTotal download count
likesintegerNumber of likes
trendingScoreintegerHugging Face trending score
licensestringLicense identifier parsed from tags, e.g. mit
tagsstringComma-separated list of all tags
gatedbooleanWhether access requires approval
privatebooleanWhether the item is private
shastringLatest commit SHA
createdAtstringCreation timestamp, ISO 8601
lastModifiedstringLast modification timestamp, ISO 8601
siblingsCountintegerNumber of files in the repo

Input

{
"startUrls": [
{ "url": "https://huggingface.co/api/models?limit=50&full=true" }
],
"maxItems": 50
}

To scrape datasets instead, point startUrls at a datasets endpoint, e.g. https://huggingface.co/api/datasets?limit=50.

Output

{
"id": "Qwen/Qwen3.8-Flash-Next",
"itemType": "model",
"author": "Qwen",
"pipelineTag": "image-text-to-text",
"libraryName": "transformers",
"downloads": 4810,
"likes": 4176,
"trendingScore": 4045,
"license": "other",
"tags": "transformers,safetensors,qwen4_exp,image-text-to-text,conversational,license:other,eval-results,endpoints_compatible,region:us",
"gated": false,
"private": false,
"sha": "de4b8e4d43b917e7706784d8bb445c9af86a3540",
"createdAt": "2026-08-24T08:24:59.000Z",
"lastModified": "2026-08-27T05:03:36.000Z",
"siblingsCount": 144
}

Pricing

$0.0003 per model or dataset exported. A run pulling 50 items costs $0.015; a run of 1,000 items costs $0.30.

Use cases

  • Tracking weekly download and like counts for a shortlist of models to decide which to fine-tune or deploy.
  • Building a license-compliance audit of datasets used internally by filtering exported records on the license field.
  • Feeding a research database of pipeline tasks and library usage trends across newly released models.