Install
openclaw skills install @duffey234/switch402Web data for agents, paid per call in USDC on Base via x402 - page to markdown, site map, page metadata, screenshots, web search and PDF text from api.switch402.com. We built and run switch402.
openclaw skills install @duffey234/switch402switch402 is a pay-per-call web data API for AI agents. We built it and we operate it at
https://api.switch402.com. There is no account and no API key: each paid call is a single x402
payment in USDC on Base (eip155:8453), and you are charged only when the call succeeds.
This skill contains instructions only. It holds no code, no keys and never pays by itself.
| Endpoint (POST JSON) | MCP tool | What it returns | Price |
|---|---|---|---|
/v1/scrape {"url"} | scrape | Page as clean markdown | $0.008 |
/v1/scrape/lite {"url"} | scrape_lite | Markdown, lite tier for simple pages | $0.003 |
/v1/map {"url","limit"?} | map | Same-site links + sitemap URLs | $0.001 |
/v1/metadata {"url"} | metadata | Title, description, canonical, OpenGraph/Twitter, JSON-LD | $0.001 |
/v1/screenshot {"url"} | screenshot | 1280x800 PNG (base64) | $0.008 |
/v1/screenshot/full {"url"} | screenshot_full | Full-page PNG (base64) | $0.012 |
/v1/search {"query"} | search | Up to 10 ranked results | $0.008 |
/v1/pdf {"url"} | pdf | Text per page (text PDFs, up to 50 pages / 10 MB) | $0.008 |
/v1/quote?url= (GET) | quote | Price, payment status, capacity | Free |
Authoritative, machine-readable prices: https://api.switch402.com/.well-known/x402 and
https://api.switch402.com/openapi.json. The amount to sign always comes from the live 402 response.
curl -s "https://api.switch402.com/v1/quote?url=https://example.com".curl -s -X POST https://api.switch402.com/v1/map -H 'content-type: application/json' -d '{"url":"https://example.com"}'.
It returns HTTP 402 with x402 payment requirements._meta["x402/payment"].MCP (streamable HTTP): https://api.switch402.com/mcp.