Web data API: scrape, map, metadata, screenshots, search, PDF
switch402 gives AI agents one pay-per-call API for web data: page to markdown ($0.008, lite $0.003), site map and page metadata ($0.001), screenshots ($0.008, full page $0.012), web search ($0.008) and PDF to text ($0.008). Pay per call in USDC on Base over x402, charged only on success; scrape calls fail over automatically. No signup, API key or plan required; optional prepaid packs and a $10 monthly lite plan.
Quickstart
- Send the request below. Without payment it returns HTTP 402 with the x402 payment requirements.
- Pay $0.008 USDC on Base with any x402 client and retry. Most clients do this step for you.
- You get the page back as markdown. You are charged only on success; if every provider fails you get a 502 and pay nothing.
curl -i -X POST https://api.switch402.com/v1/scrape \
-H 'content-type: application/json' \
-H 'user-agent: my-agent/1.0' \
-d '{"url":"https://example.com"}'Send your own User-Agent header (for example my-agent/1.0); some default library user-agents are blocked at the edge. A lite endpoint, POST https://api.switch402.com/v1/scrape/lite, is $0.003 per call.
- GET /v1/quote?url=…: the price and routing for a URL, before you pay.
- GET /health: live status.
- llms.txt: the API summary for agents.
- Firecrawl pricing calculator
- ScrapingBee pricing calculator
- Jina Reader cost calculator
- ScraperAPI pricing calculator
- ZenRows pricing calculator
- Scrapfly pricing calculator
- Diffbot pricing calculator
- ScreenshotOne pricing calculator
- SerpAPI pricing calculator
- Apify pricing calculator
- Tavily pricing calculator
- Exa pricing calculator
- Questions: hello@switch402.com
Source: youraitools.co/listings.json and api.youraitools.co/stats/v1/listings (one unpaid check per listing per day), pulled Oct 30, 2026, 1:06 PM ET. These are directory counts, not switch402 usage.
How it works
- 1Call one endpoint
Send a scrape request to a single switch402 URL.
- 2We pick the provider
We route to multiple verified x402 scrape providers. Any that failed their last check are skipped, and a failed call fails over to the next.
- 3Pay per call
Pay $0.008 USDC on Base over x402, only on success. No plan required; optional prepaid packs and a $10 monthly lite plan, and nothing expires: leftover balance stays on your key.
Today switch402 covers page to markdown, site maps, page metadata, screenshots, web search and PDF to text.
Want to see when pay-per-call beats a monthly plan? Try the cost calculator.
Pricing
Pay per successful call in USDC on Base over x402. No signup or plan required. Failed calls cost nothing.
- Scrape$0.008 per page
/v1/scrapeAny public page as clean markdown, with automatic failover.
- Scrape lite$0.003 per page
/v1/scrape/lite/v1/scrape/lite: $0.003 per page. A page as markdown, charged only on success.
- Site map$0.001 per call
/v1/mapLists a site's pages: the same-site links on a page plus the URLs in its sitemap, deduped, up to 1,000.
- Page metadata$0.001 per call
/v1/metadataReads a page's title, description, canonical URL, language, social (OpenGraph and Twitter) tags and JSON-LD structured data.
- Screenshot$0.008 per call
/v1/screenshotThe visible 1280x800 viewport of a page, JavaScript rendered, as a PNG.
- Full-page screenshot$0.012 per call
/v1/screenshot/fullThe whole scrollable page as a PNG.
- Web search$0.008 per call
/v1/searchUp to 10 ranked web results for a query, each with title, URL and snippet.
- PDF to text$0.008 per call
/v1/pdfThe text of a public PDF, page by page: up to 10 MB and 50 pages, optional page selection. Not charged if extraction fails.
- QuoteFree
/v1/quoteThe price and availability for a URL before you pay.
Prefer a balance? Buy a $5, $20 (+5% credit) or $50 (+10% credit) pack once with x402 and get an API key. Each call debits that endpoint's own price, only when it succeeds. The monthly plan is $10 for 30 days: lite pages bill at $0.0025 during the period, so $10 covers 4,000 lite pages. Nothing expires.
How credits workScreenshots, web search and PDF to text
- Screenshot API without a subscription
$0.008 viewport, $0.012 full page
- Web search API for AI agents
$0.008 per search, up to 10 results
- PDF to text API for RAG
$0.008 per call, up to 50 pages
Scraping API pricing, answered
- Firecrawl pricing explained
Free 1,000 credits, then $19–$749
- Firecrawl pricing calculator
Free vs Hobby vs pay per page
- Exa vs Tavily pricing
Cost per search at 1K, 10K, 100K
- Diffbot pricing calculator
Free 10K credits, $299 and $899 plans
- Credits vs pay per call
Your real cost per request, with break-evens
- Firecrawl vs Tavily pricing
Search, extract and crawl costs
- SerpAPI vs Tavily pricing
Cost per search at 1K, 15K, 100K
- Firecrawl alternatives, priced
6 options at 1K, 10K, 100K pages
- Firecrawl vs Exa pricing
Cost per search and per page
- Tavily pricing calculator
Plans from $30 vs $0.008 a search
- Exa pricing calculator
Lite $4, Auto $7 per 1k searches
- ScraperAPI pricing calculator
Plans from $49, cost per page you use
- ScraperAPI vs ScrapingBee pricing
Credits, plans, cost per page
- ScrapingBee pricing
Plans, credits and cost per request
- ScraperAPI pricing
Plans, credits and cost per request
- SerpAPI pricing calculator
Monthly searches vs $0.008
- Apify pricing calculator
Plan floors vs pay per page
- LangChain web scraper tool
$0.003 per page, no API key
- Scraping API pricing compared
Cost per page at 1K, 10K and 100K pages
- Diffbot pricing explained
Startup $299/mo, 1 credit per page
- Jina Reader pricing explained
Billed by output tokens, prepaid
- Firecrawl vs Jina Reader pricing
URL to markdown cost per page
- Tavily credits explained
1 credit a search, plans from $30
- SerpAPI credits explained
Expired searches, plans from $25
- Apify credits explained
Compute units vs pay per page
- ScreenshotOne pricing calculator
Plan vs $0.008 per screenshot
Subscription vs pay-per-call calculators
- Firecrawl pricing calculator
- ScrapingBee pricing calculator
- Jina Reader cost calculator
- ScraperAPI pricing calculator
- ZenRows pricing calculator
- Scrapfly pricing calculator
- Diffbot pricing calculator
- ScreenshotOne pricing calculator
- SerpAPI pricing calculator
- Apify pricing calculator
- Tavily pricing calculator
- Exa pricing calculator
Get updates (optional)
Optional: leave your email and we will write when we add a new tool. Live today: scrape, scrape lite, screenshot, full-page screenshot, web search, site map, page metadata and PDF to text. No spam, and you do not need this to use the API.
