Skip to main content

1. Get your API key

Your key lives in your dashboard. It looks like hf_... and is scoped to your workspace, which holds your credit balance. Keep it secret — treat it like a password.
In the private beta, keys are provisioned for you. Email [email protected] to get one.

2. Scrape your first page

Send a URL to /v1/web/scrape with your key in the X-API-Key header. By default you get back clean Markdown.

3. Read the response

Every scrape returns the page, the page’s own metadata, how much to trust the extraction, and what the call cost:
metadata is what the page declares about itself — any field the page doesn’t publish comes back null. quality tells you how much to trust the extraction; see Extraction quality.

4. Ask for more

Want more than Markdown? Request additional formats:

Next steps

Authentication

How keys, workspaces, and credits fit together.

Formats

Markdown, structured data, extracted JSON, and more.

Crawl a whole site

Go from one page to every page.

API Reference

Every endpoint, with a live playground.