Playground Sign in Start free
Recipe Developer and reference

Hugging Face scraper API: search results and public pages as JSON

Send any Hugging Face page URL with recipe=huggingface and get title, url, updated and 3 more fields as JSON. No selectors to write, no proxies to pick.

  • 2 page types
  • 6 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 100% in 7 days

5,000 free credits for 7 days, no card.

recipe=huggingface/listing
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://huggingface.co/models?search=llama' \
  --data-urlencode 'recipe=huggingface/listing'
200 OK · JSON
{
    "result": {
        "title": "meta-llama/Meta-Llama-3-8B-Instruct",
        "updated": "2025-06-18T23:49:51"
    },
    "success": true
}

What you get from Hugging Face

The fields of each page type and a real sample from our last validation, shortened.

Search and listing pages recipe=huggingface/listing 5 credits a page

FieldTypeExample
resultslist of 3+ items
results[].titletextmeta-llama/Meta-Llama-3-8B-Instruct
results[].urlURLhttps://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct
results[].updateddate2025-06-18T23:49:51

Sample answer, validated 2026-11-01

{
    "results": [
        {
            "title": "meta-llama/Meta-Llama-3-8B-Instruct",
            "url": "https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct",
            "updated": "2025-06-18T23:49:51"
        },
        {
            "title": "meta-llama/Llama-3.1-8B-Instruct",
            "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",
            "updated": "2024-09-25T17:00:57"
        }
    ]
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Hugging Face (JavaScript rendering).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://huggingface.co/models?search=llama' \
  --data-urlencode 'recipe=huggingface/listing'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=huggingface/page, or recipe=huggingface and the API picks the page type from the URL. Your own parameters always win over the recipe.

What people build with Hugging Face data

  • Research datasets

    Build datasets of public pages for analysis, search or LLM pipelines.

    Learn more
  • Trend tracking

    Follow what gets attention over time: scores, comments, stars.

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results, Page5$0.82$0.50

See all plans

FAQ

What does the Hugging Face recipe return?

JSON with 6 fields from search results (recipe=huggingface/listing) and page (recipe=huggingface/page), for example title, url, updated. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape Hugging Face?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on Hugging Face: JavaScript rendering. Send only the URL and recipe=huggingface/listing.

What happens when Hugging Face changes its pages?

We check Hugging Face every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I search Hugging Face with parameters?

Yes. Fill in query, sort, page: we build the Hugging Face search URL, and the call is that URL with recipe=huggingface/listing. A single call with the parameters and no URL is coming to the API; it is not live yet.

Get Hugging Face data as JSON today.

5,000 free credits for 7 days. No card.