Hugging Face Hub Models, Datasets & Spaces avatar

Hugging Face Hub Models, Datasets & Spaces

Pricing

$0.69 / 1,000 hugging face hub item results

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

Hugging Face Hub Models, Datasets & Spaces

Collect structured metadata for public models, datasets, and spaces from the Hugging Face Hub API with Link-header pagination, deduplication, and explicit request and result limits.

Pricing

$0.69 / 1,000 hugging face hub item results

Rating

0.0

(0)

Developer

Lantern Lab

Lantern Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect structured metadata for public models, datasets, and spaces from the official Hugging Face Hub REST API (https://huggingface.co/api/{models,datasets,spaces}).

Quick start

{
"resourceType": "models",
"queries": [
"llama"
],
"sort": "downloads",
"maxItems": 5,
"maxUpstreamRequests": 1
}

Input and limits

resourceType selects models, datasets, or spaces. queries is optional (up to 20 search terms); when empty or omitted, the Actor runs one unfiltered listing request. Optional author filters by user or organization, and optional pipelineTag filters models by task. sort orders descending by downloads, likes, lastModified, or trendingScore.

maxItems defaults to 100 (hard maximum 1,000 unique billable rows). maxUpstreamRequests defaults to 10 (hard maximum 50); every attempt including failed requests counts. Pagination follows same-origin Link rel="next" response headers. Requests are sequential with 1.1-second pacing, 20-second per-request timeout, 5 MiB decoded response cap, and a 180-second collection budget (capped by the platform run timeout).

Output and billing

Each item row includes id (<resourceType>:<repoId>), resourceType, repoId, author, name, downloads, likes, trendingScore, pipelineTag, libraryName, sdk, license, tags (up to 30), private, gated, createdAt, lastModified, url, sourceUrl, and collectedAt.

Only unique real item rows use the item billing event. Free input_status rows and run_summary / RUN_SUMMARY in the key-value store record results, charged rows, requests, duplicates, failures, and stop reason.

Source and scope

Official public API: https://huggingface.co/docs/hub/api

Only public unauthenticated catalog endpoints are used; no private repositories, model weights, or user tokens are accessed. Respect upstream repository licenses and model cards.