Hugging Face Models & Datasets List to CSV (Model Scraper) avatar

Hugging Face Models & Datasets List to CSV (Model Scraper)

Pricing

$4.00 / 1,000 rows

Go to Apify Store
Hugging Face Models & Datasets List to CSV (Model Scraper)

Hugging Face Models & Datasets List to CSV (Model Scraper)

Pricing

$4.00 / 1,000 rows

Rating

0.0

(0)

Developer

Francesco Correnti

Francesco Correnti

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Hugging Face Models & Datasets List to CSV (Hugging Face Model Scraper)

Hugging Face model scraper: export a hugging face models list csv (or datasets) with one flat row per repo. Uses the public Hugging Face Hub API, no API key. Filter by task and license, sort by downloads, likes, last modified or trending. Rows include card-completeness flags (README, license, dataset link, model-index evals). $0.004 per row.

Input

{ "kind": "model", "task": "text-classification", "license": "mit", "sort": "downloads", "maxItems": 100 }
FieldDefaultMeaning
kindmodelmodel or dataset
taskemptyModels: pipeline_tag. Datasets: task_categories. Empty = no filter
licenseemptyLicense id, e.g. mit. Empty = no filter
sortdownloadsdownloads, likes, lastModified, trending (descending)
maxItems501 to 10000

Output

One row per item, keys in this order: id, author, downloads, likes, license, tags, pipeline_tag, lastModified, has_readme, has_license, has_dataset_link, has_model_index_eval. tags is joined with ; so the CSV stays flat. Missing numbers are 0, missing text is "", never null. Export as CSV from the dataset tab.

Sample row:

FieldExample
idBAAI/bge-small-en-v1.5
authorBAAI
downloads59413346
likes643
licensemit
tagssentence-transformers;pytorch;onnx;safetensors;bert;feature-...
pipeline_tagfeature-extraction
lastModified2024-02-22T03:36:23.000Z
has_readmetrue
has_licensetrue
has_dataset_linkfalse
has_model_index_evaltrue

Pricing

Pay per event: row = $0.004 per row pushed. No other events. The run stops cleanly when your max-charge limit is reached.

Limits: public Hugging Face API only, no private or gated repos, API rate limits apply (429/5xx retried up to 5 times with backoff, 30 s timeout), maxItems capped at 10000.