Hugging Face scraper API: search results and public pages as JSON
Send any Hugging Face page URL with recipe=huggingface and get title, updated, url and 16 more fields as JSON. No selectors to write, no proxies to pick.
- 2 page types
- 19 fields
- 1 to 5 credits a page · $0.10 per 1,000
- Working · 100% in 7 days
5,000 free credits for 21 days, no card.
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'
{
"result": {
"results": [
{
"title": "llamaindex/OCRia-nano-1",
"updated": "2026-11-24T18:03:46"
}
]
},
"success": true
}
Hugging Face API or the page data?
Official API: open
Hugging Face has an official API (Hugging Face Hub API). Open endpoints for models, datasets and Spaces, with a free account token for higher limits. When you need the public page data instead (fields the API does not return, the official rate limits, or no developer key to apply for), the recipe gives it to you.
Source: Hugging Face Hub API on huggingface.co, checked November 6, 2026.
How to get Hugging Face data as JSON today
- Get a free API key: 5,000 free credits for 21 days, no card.
- Send any Hugging Face page URL with
recipe=huggingfaceto the Scrape API (the call). - Get 19 fields as JSON, 1 credits a page, billed only when the call succeeds.
Ujeebu's Hugging Face recipe returns title, updated, url and 16 more fields from any public Hugging Face page as JSON: send the URL with recipe=huggingface to the Scrape API, 1 credits a page, no Hugging Face account or partner approval needed.
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
| Field | Type | Example |
|---|---|---|
results | list of 3+ items | |
results[].title | text | meta-llama/Meta-Llama-3-8B-Instruct |
results[].url | URL | https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct |
results[].updated | date | 2025-06-18T23:49:51 |
Sample answer, validated 2026-11-24
{
"results": [
{
"title": "llamaindex/OCRia-nano-1",
"url": "https://huggingface.co/llamaindex/OCRia-nano-1",
"updated": "2026-11-24T18:03:46"
},
{
"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"
}
]
}
Public pages recipe=huggingface/page 1 credits a page
| Field | Type | Example |
|---|---|---|
title | text | meta-llama/Llama-3.1-8B-Instruct · Hugging Face |
image | image URL | https://cdn-thumbnails.huggingface.co/social-thumbnails/models/meta... |
url | URL | https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct |
stars | text | 8.82k |
comments | number (as text) | 443 |
updated | date | 2024-12-06T16:49:01 |
model.created | date | 2024-07-18T08:56:00.000Z |
model.description | text | Text Generation model with 8B parameters. Download, explore files a... |
model.downloads | number | 4297687 |
model.downloads_all_time | number | 193001973 |
model.gated | text | manual |
model.languages | text | en, de, fr, it, pt, hi, es, th |
Show all 20 fields
model.library | text | transformers |
model.license | text | llama3.1 |
model.likes | number | 8820 |
model.name | text | meta-llama/Llama-3.1-8B-Instruct |
model.organization | text | meta-llama |
model.parameters | number | 8030261248 |
model.task | text | text-generation |
model.updated | date | 2024-09-25T17:00:57.000Z |
Sample answer, validated 2026-11-24
{
"model": {
"created": "2024-07-18T08:56:00.000Z",
"description": "Text Generation model with 8B parameters. Download, explore files and run it on Hugging Face.",
"downloads": 3965297,
"downloads_all_time": 195358937,
"gated": "manual",
"languages": "en, de, fr, it, pt, hi, es, th",
"library": "transformers",
"license": "llama3.1",
"likes": 9086,
"name": "meta-llama/Llama-3.1-8B-Instruct",
"organization": "meta-llama",
"parameters": 8030261248,
"task": "text-generation",
"updated": "2024-09-25T17:00:57.000Z"
},
"title": "meta-llama/Llama-3.1-8B-Instruct · Hugging Face",
"image": "https://cdn-thumbnails.huggingface.co/social-thumbnails/models/meta-llama/Llama-3.1-8B-Instruct.png",
"url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",
"stars": "9.09k",
"comments": "450",
"updated": "2024-12-06T16:49:01"
}
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'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://huggingface.co/models?search=llama", "recipe": "huggingface/listing"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["results"][:3]:
print(item["title"], item["updated"])
# Example output:
# llamaindex/OCRia-nano-1 2026-11-24T18:03:46
# meta-llama/Meta-Llama-3-8B-Instruct 2025-06-18T23:49:51
const params = new URLSearchParams({
url: "https://huggingface.co/models?search=llama",
recipe: "huggingface/listing",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.results.slice(0, 3)) {
console.log(item.title, item.updated);
}
// Example output:
// llamaindex/OCRia-nano-1 2026-11-24T18:03:46
// meta-llama/Meta-Llama-3-8B-Instruct 2025-06-18T23:49:51
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.
Search Hugging Face with parameters
One call, no URL: send recipe=huggingface/search with the parameters below. We build the Hugging Face search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
query required | string | Model name or words in it. |
sort | enum | trending, downloads, likes, modified, created |
page | int | 1 to 20 |
One call (query=llama)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=huggingface/search' \
-d 'query=llama'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "huggingface/search", "query": "llama"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["results"][:3]:
print(item["title"], item["updated"])
# Example output:
# llamaindex/OCRia-nano-1 2026-11-24T18:03:46
# meta-llama/Meta-Llama-3-8B-Instruct 2025-06-18T23:49:51
const params = new URLSearchParams({
recipe: "huggingface/search",
query: "llama",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.results.slice(0, 3)) {
console.log(item.title, item.updated);
}
// Example output:
// llamaindex/OCRia-nano-1 2026-11-24T18:03:46
// meta-llama/Meta-Llama-3-8B-Instruct 2025-06-18T23:49:51
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=huggingface/listing. Search with parameters in the docs
What people build with Hugging Face data
Research datasets
Build datasets of public pages for analysis, search or LLM pipelines.
Learn moreTrend 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 type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 5 | $0.82 | $0.50 |
| Page | 1 | $0.16 | $0.10 |
FAQ
Hugging Face API vs scraping: which one should I use?
Use the official Hugging Face API when it returns what you need. Open endpoints for models, datasets and Spaces, with a free account token for higher limits. Use the page data when you need what the public page shows: Ujeebu's Hugging Face recipe returns title, updated, url and 16 more fields from any public Hugging Face page as JSON: send the URL with recipe=huggingface to the Scrape API, 1 credits a page, no Hugging Face account or partner approval needed.
What does the Hugging Face recipe return?
JSON with 19 fields from search results (recipe=huggingface/listing) and page (recipe=huggingface/page), for example title, updated, url. 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); 1 credits a page ($0.10 per 1,000 on Pro, $0.16 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, in one call: send recipe=huggingface/search with query, sort, page and no URL. We build the Hugging Face search URL (returned in the Ujb-Url header), apply recipe=huggingface/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
GitHubSearch results, Page · 5 credits- Stack OverflowSearch results · 5 credits
Hacker NewsSearch results · 1 credits
LinkedInSearch results, Detail page, Profile · 5 credits
AmazonSearch results · 5 credits
X (Twitter)Profile · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Hugging Face.
Get Hugging Face data as JSON today.
5,000 free credits for 21 days. No card.