Scraping API Without a Subscription: No Plan Required, No Expiring Credits
Most scraping APIs sell a monthly plan whose credits reset each month whether you used them or not. switch402 needs no plan: each successful page costs $0.008 (or $0.003 on lite), paid per call over x402 in USDC on Base. Nothing to cancel. If you prefer a balance, optional prepaid packs and a $10 monthly lite plan are available, and nothing expires: leftover balance stays on your key.
- No monthly fee required
Zero calls in a month cost zero. The $10 monthly lite plan is optional.
- No expiring credits
There is no credit balance; every call is paid on its own.
- No signup or API key
Your code or agent pays per call from a wallet.
- Pay only for success
Settled only after content comes back; failures return 502 and are not charged.
Cost: pages used x $0.008, with no plan, so your cost per page actually used is always $0.008 and a month with no calls costs $0. A monthly plan bills its minimum whatever you use; the calculators show that minimum and what the unused credits would cost you at your volume.
Code example
curl: unpaid call shows the price (HTTP 402)
curl -i -G https://api.switch402.com/v1/scrape \
-H 'User-Agent: my-agent/1.0' \
--data-urlencode 'url=https://example.com'
# HTTP 402 with x402 payment requirements; an x402 client pays and retries.JavaScript: pay per page
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from '@x402/fetch'
import { ExactEvmScheme } from '@x402/evm'
import { privateKeyToAccount } from 'viem/accounts'
const account = privateKeyToAccount(process.env.AGENT_KEY)
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: 'eip155:8453', client: new ExactEvmScheme(account) }],
})
const res = await fetchWithPayment('https://api.switch402.com/v1/scrape', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'User-Agent': 'my-agent/1.0' },
body: JSON.stringify({ url: 'https://example.com' }),
})
const { markdown } = await res.json()FAQ
- Is switch402 live?
- Yes. POST https://api.switch402.com/v1/scrape with {"url": "..."} returns the page as markdown for $0.008 USDC on Base per call, paid over x402 and charged only on success. The lite tier at /v1/scrape/lite costs $0.003.
- Is there really no monthly fee?
- Yes, unless you choose one. Pay per call needs no subscription: you pay $0.008 (or $0.003 on lite) per successful call. Optional prepaid packs ($5, $20 or $50) and a $10 monthly lite plan are there if you prefer a balance; nothing expires: leftover balance stays on your key.
- What do unused credits cost me on a subscription?
- A monthly plan bills its price whatever you use, and on many plans unused credits reset each month, so you pay for them anyway. On switch402 you pay only for the pages you actually scrape: $0.008 per standard page, charged only on success, and a month with no calls costs $0. The calculators show each plan's minimum and what its unused credits cost at your volume.
- How do I pay without an account?
- With x402: the API answers an unpaid call with HTTP 402 and the payment terms, and an x402 client pays in USDC on Base and retries automatically.