Hugging Face Scraper — Models, Datasets & Licenses avatar

Hugging Face Scraper — Models, Datasets & Licenses

Pricing

from $1.00 / 1,000 repositories

Go to Apify Store
Hugging Face Scraper — Models, Datasets & Licenses

Hugging Face Scraper — Models, Datasets & Licenses

Extract public Hugging Face model and dataset metadata: downloads, likes, tasks, tags, licenses and update dates. Search by keyword or owner. No account required.

Pricing

from $1.00 / 1,000 repositories

Rating

0.0

(0)

Developer

Felix GoldWin

Felix GoldWin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Features

Limited permissions

Share

What does Hugging Face Scraper do?

Search and export public Hugging Face model and dataset metadata for AI research, catalog building, and popularity monitoring. Find repositories by name, owner, or tags; compare downloads and likes; and collect task, library, license, language, and update information.

No Hugging Face account or API token is required. The Actor collects catalog metadata through the public Hub API. It does not download model weights, dataset rows, or repository files. Results can be downloaded as JSON, CSV, or Excel, scheduled in Apify, or accessed through the Apify API.

Price: $1 per 1,000 delivered repository records, plus $0.005 per run. Platform usage is included.

What data can you extract?

Each dataset row represents one model or dataset repository. Fields absent from the source are null or empty arrays.

FieldsDescription
resourceType, repositoryId, nameRepository type, full Hub identifier, and name
author, urlPublic owner name and repository page
downloads, likesHub-reported downloads over the rolling 30-day window, and current likes
pipelineTag, libraryNameModel task and library when available
tags, licenses, languagesSource labels and extracted license/language tags
taskCategories, sizeCategoriesDataset classification labels when available
gated, private, disabledSource access and availability flags
createdAt, lastModified, revisionSource timestamps and revision identifier
fileCountNumber of file entries reported by the catalog, when provided
scrapedAtUTC time when the record was collected

Metadata for publicly listed gated repositories is included by default. This does not grant access to their files. Set excludeGated to remove records marked as gated. License values are labels reported by the source, not a determination of permission to use a model or dataset. This is an independent tool, not an official Hugging Face product.

How to scrape Hugging Face

  1. Choose models, datasets, or both.
  2. Enter an optional repository search term, owner, or tags.
  3. Choose a sort order and result limit.
  4. Run the Actor and inspect the dataset and SUMMARY coverage record.
  5. Download the results or connect them to your workflow through Apify integrations.

The default input collects up to 1,000 public models ordered by downloads, highest first.

Input examples

Find Qwen models:

{
"resourceType": "models",
"search": "Qwen",
"sortBy": "downloads",
"order": "desc",
"maxItems": 1000,
"maxPages": 150
}

Find English-language datasets with an Apache 2.0 license tag:

{
"resourceType": "datasets",
"tags": ["language:en", "license:apache-2.0"],
"excludeGated": true,
"maxItems": 500,
"maxPages": 150
}

Monitor recently updated repositories of both types:

{
"resourceType": "both",
"sortBy": "lastModified",
"order": "desc",
"maxItems": 2000,
"maxPages": 150
}

These examples request maximum counts; they do not guarantee that enough matching repositories exist.

Input fields

InputDefaultDetails
resourceType"models"models, datasets, or both
search""Repository search text, up to 200 characters; empty lists matching repositories
author""Exact Hub owner name, up to 96 letters, numbers, underscores or hyphens, beginning with a letter or number
tags[]Exact source tags; all specified tags must match
sortBy"downloads"downloads, likes, or lastModified
order"desc"desc for highest/newest first, or asc for lowest/oldest first
excludeGatedfalseExclude repositories marked as gated
minDownloads0Minimum reported downloads; zero disables this filter
minLikes0Minimum reported likes; zero disables this filter
maxItems1000Global maximum unique output records, from 1 through 10,000
maxPages150Global maximum logical search requests, from 1 through 500

Search text, owner names, and tags are trimmed. Tags preserve their case and are deduplicated. Each tag must be nonempty, at most 100 characters, and contain no commas or control characters. Up to 50 unique tags are allowed, with at most 1,000 input entries before deduplication. Minimum counts must be integers from 0 through 1,000,000,000,000. Unknown input fields and incorrect types are rejected.

Tags use AND matching: language:en together with license:apache-2.0 requires both labels. Search, owner, and tag filters are combined. Minimum downloads, minimum likes, and gated filtering are applied by the Actor while scanning source results. Filtered records are not charged as results. The Actor continues scanning until a run limit or the source end; it does not assume a low count means all later records will fail the filter.

In both mode, the Actor alternates pages between models and datasets, starting with models. maxItems and maxPages apply across both types together. Ordering is preserved within each source result stream, but the combined dataset is not a single global ranking, and it does not guarantee an equal number of models and datasets. With a small result limit, the first model page may fill the entire export.

Pagination and coverage

The Actor follows the Hub API's cursor pagination, so exports can exceed 1,000 repositories when enough matching records are accessible. maxItems remains a limit, not a promised count. Filters, source availability, rate limits, the request budget, and your Apify spending limit may produce fewer results.

maxPages counts search requests across both resource types, including pages scanned to find matching records. HTTP retries do not consume an additional logical page. Restrictive count or gated filters can require many pages; check the summary before raising limits.

The Hub catalog changes while a run is in progress. Deduplication prevents repeated repository records within a run, including resumed runs, but no live traversal can guarantee a perfectly complete snapshot. Source errors, repeated pages or cursors, and request limits are reported in SUMMARY. The Actor respects source rate limits and may stop with partial results if the source remains unavailable.

Output and diagnostics

The default dataset contains repository records. The SUMMARY record in the default key-value store reports saved records, scanned pages, input duplicates removed, and per-resource counts for scanned, filtered, duplicate, and saved records. It also reports errors and stop reasons. Inspect it whenever a run returns fewer results than expected.

Repository metadata describes the Hub's current public catalog. Download and like counts can change, tags may be incomplete, and a license or file-count field may be unavailable.

Pricing

The price is $0.001 per repository record delivered, plus $0.005 for starting a run, with platform usage included.

  • 100 delivered records: $0.105.
  • 1,000 delivered records: $1.005.
  • Empty results: $0.005, with no result charge.

Filtered records, duplicates removed within a run, failed requests, and the summary are not charged as results. Each new scheduled run is charged for the records it delivers, even if an earlier run delivered the same repositories. Use Apify's spending limit to control the maximum charge.

FAQ and support

Does this download models or datasets?

No. It exports catalog metadata only. It does not download weights, data rows, or repository files, and it does not access private repositories or bypass gated access.

Can I schedule monitoring or use an API?

Yes. Use Apify schedules for repeated snapshots and the Actor's API tab for integration examples. Export JSON, CSV, or Excel, or connect results to other tools through Apify integrations.

Why did I receive fewer records than requested?

Your filters may match fewer repositories, many scanned records may fail the minimum-count filters, or a source, page, or spending limit may stop the run. Inspect SUMMARY for the recorded reason.

How do I report a problem?

Open the Actor's Issues tab with the run URL, relevant input filters, and the result you expected. Do not include tokens, credentials, or private repository data.