Scrape a web page and return its content as markdown. Supports most public web pages; some sites (e.g. X/Twitter, Reddit) that block automated access are rejected immediately.
Authentication: This endpoint accepts either a Bearer API key or an X-Sign-In-With-X header for x402 wallet-based authentication. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
url field. The API returns the page content as markdown.
The scraper first tries the target site’s native markdown support (via Cloudflare Markdown for Agents), then falls back to a headless browser extraction. Some sites that block automated access (e.g. X/Twitter, Reddit) are rejected immediately with a 400 error.
Pricing: $0.01 per request.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The URL to scrape
"https://example.com"