Skip to main content
AI Studio  add-on for Spider.
AI & Developer
huggingface.co Verified

Hugging Face Scraper

Extract ML model cards, dataset info, leaderboard data, and paper metadata from Hugging Face.

Get started Docs
target
huggingface.co
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

huggingface-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

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();
ready to run · spider-browser · no selectors
Extraction

Fields you can pull.

Model nameDownloadsLikesTagsLibraryLicenseAuthorLast updated
Rendering

React SPA handling

Full browser rendering for streaming content and dynamic React UI.

Content

Structured parsing

Extract code blocks, documentation, repository data, and metadata.

Waiting

Load completion

Smart network idle detection waits for dynamically loaded content to finish.

Related

More AI & Developer scrapers.

Start

Start scraping huggingface.co.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.