Hugging Face Scraper
Spider read huggingface.co in 1.4 s without a browser and returned 206 lines of clean markdown, including sections like "More than 50,000 organizations are using Hugging Face", "AI at Meta" and "Amazon".
Deploy on optimized Inference Endpoints or update your Spaces applications to a GPU in a few clicks.## More than 50,000 organizations are using Hugging Face#### Ai2non-profit • 968 models • 6.4k followers](https://huggingface.co/allenai) [#### AI at Metacompany • 2.35k models • 14k followers](https://huggingface.co/facebook) [#### Amazoncompany • 36 models • 4.25k followers](https://huggingface.co/amazon) [#### Googlecompany • 1.13k models • 63.8k followers](https://huggingface.co/google) [#### Intelcompany • 254 models • 4.19k followers](https://huggingface.co/Intel) [#### Microsoftcompany • 534 models • 21.4k followers](https://huggingface.co/microsoft) [#### Grammarlycompany • 11 models • 231 followers](https://huggingface.co/grammarly) [#### Writercompany • 34 models • 402 followers](https://huggingface.co/Writer)## Our Open SourceWe are building the foundation of ML tooling with the community.State-of-the-art AI models for PyTorch](https://huggingface.co/docs/transformers)[####State-of-the-art Diffusion models in PyTorch](https://huggingface.co/docs/diffusers)[####Safe way to store/distribute neural network weights](https://huggingface.co/docs/safetensors)[####Python client to interact with the Hugging Face Hub](https://huggingface.co/docs/huggingface_hub)[####Fast tokenizers optimized for research & production](https://huggingface.co/docs/tokenizers)[####Train transformers LMs with reinforcement learning](https://huggingface.co/docs/trl)[####State-of-the-art ML running directly in your browser](https://huggingface.co/docs/transformers.js)[####Smol library to build great agents in Python](https://huggingface.co/docs/smolagents)[####Parameter-efficient finetuning for large language models](https://huggingface.co/docs/peft)[####Access & share datasets for any ML tasks](https://huggingface.co/docs/datasets)[#### The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on huggingface.co.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://huggingface.co/models?sort=trending");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://huggingface.co/models?sort=trending");
await page.content(10000);
const data = await page.evaluate(`(() => {
const models = [];
document.querySelectorAll("article.overview-card-wrapper").forEach(el => {
const name = el.querySelector("h4")?.textContent?.trim();
const downloads = el.querySelector("[title*='downloads']")?.textContent?.trim();
const likes = el.querySelector("[title*='likes']")?.textContent?.trim();
const updated = el.querySelector("time")?.getAttribute("datetime");
if (name) models.push({ name, downloads, likes, updated });
});
return JSON.stringify({ total: models.length, models: models.slice(0, 15) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What huggingface.co costs to scrape.
The capture above cost $0.000289 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More AI & Developer scrapers.
ChatGPT Scraper
Extract shared ChatGPT conversations, prompts, and AI-generated content from public links.
GitHub Scraper
Extract trending repositories, star counts, contributor data, and code snippets from GitHub.
Stack Overflow Scraper
Extract questions, answers, vote counts, and tag data from Stack Overflow.
Start scraping huggingface.co.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.