{"openapi":"3.1.0","info":{"title":"402arcade","version":"2.0.0","description":"Pay-per-call micro-APIs for AI agents. Every endpoint is x402-payable in USDC on Base — no API keys. Unpaid requests return HTTP 402 with machine-readable payment requirements and I/O schemas."},"servers":[{"url":"https://sepolia.402arcade.dev"}],"paths":{"/base/balance":{"get":{"summary":"ETH or ERC20 balance for any wallet on Base","description":"ETH or ERC20 balance for any wallet on Base. Price: $0.003 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.003},"parameters":[{"name":"address","in":"query","required":true,"description":"wallet address (0x…)","schema":{"type":"string"}},{"name":"token","in":"query","required":false,"description":"ERC20 contract; omit for native ETH","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/portfolio":{"get":{"summary":"Wallet snapshot: ETH + 10 major Base tokens in one call","description":"Wallet snapshot: ETH + 10 major Base tokens in one call. Price: $0.005 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.005},"parameters":[{"name":"address","in":"query","required":true,"description":"wallet address (0x…)","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/resolve":{"get":{"summary":"Basename resolution, both directions","description":"Basename resolution, both directions. Price: $0.003 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.003},"parameters":[{"name":"name","in":"query","required":false,"description":"name.base.eth to resolve","schema":{"type":"string"}},{"name":"address","in":"query","required":false,"description":"address for reverse lookup","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/nft":{"get":{"summary":"NFT metadata (ERC721/1155): collection, owner, traits, image","description":"NFT metadata (ERC721/1155): collection, owner, traits, image. Price: $0.005 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.005},"parameters":[{"name":"contract","in":"query","required":true,"description":"NFT contract address","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":true,"description":"token id (decimal)","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/tx":{"get":{"summary":"Transaction lookup with decoded ERC20 transfers","description":"Transaction lookup with decoded ERC20 transfers. Price: $0.003 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.003},"parameters":[{"name":"hash","in":"query","required":true,"description":"transaction hash","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/quote":{"get":{"summary":"Best-execution DEX swap quote (Uniswap V3 + Aerodrome, multi-hop)","description":"Best-execution DEX swap quote (Uniswap V3 + Aerodrome, multi-hop). Price: $0.005 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.005},"parameters":[{"name":"tokenIn","in":"query","required":true,"description":"token address or ETH/WETH","schema":{"type":"string"}},{"name":"tokenOut","in":"query","required":true,"description":"token address or ETH/WETH","schema":{"type":"string"}},{"name":"amount","in":"query","required":true,"description":"human-units amount of tokenIn","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/rugcheck":{"get":{"summary":"Token safety screening: ownership, dangerous functions, proxy, liquidity, honeypot heuristic","description":"Token safety screening: ownership, dangerous functions, proxy, liquidity, honeypot heuristic. Price: $0.02 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.02},"parameters":[{"name":"token","in":"query","required":true,"description":"ERC20 contract address","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/base/identity":{"get":{"summary":"Identity graph: address ↔ basename ↔ ENS ↔ Farcaster","description":"Identity graph: address ↔ basename ↔ ENS ↔ Farcaster. Price: $0.008 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.008},"parameters":[{"name":"q","in":"query","required":true,"description":"address | name.base.eth | name.eth | fid:N | farcaster username","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/web/markdown":{"get":{"summary":"Any public webpage → clean LLM-ready markdown","description":"Any public webpage → clean LLM-ready markdown. Price: $0.004 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.004},"parameters":[{"name":"url","in":"query","required":true,"description":"public http(s) URL","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/web/screenshot":{"get":{"summary":"PNG screenshot rendered in headless Chromium","description":"PNG screenshot rendered in headless Chromium. Price: $0.015 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.015},"parameters":[{"name":"url","in":"query","required":true,"description":"public http(s) URL","schema":{"type":"string"}},{"name":"width","in":"query","required":false,"description":"viewport width, max 1920","schema":{"type":"string"}},{"name":"fullPage","in":"query","required":false,"description":"true for full scroll height","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/web/pdf":{"get":{"summary":"Any public webpage → PDF","description":"Any public webpage → PDF. Price: $0.02 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.02},"parameters":[{"name":"url","in":"query","required":true,"description":"public http(s) URL","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"A4 (default) or Letter","schema":{"type":"string"}},{"name":"landscape","in":"query","required":false,"description":"true for landscape","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/batch":{"post":{"summary":"Up to 10 data queries in one paid call (bulk discount)","description":"Up to 10 data queries in one paid call (bulk discount). Price: $0.02 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.02},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"calls":{"type":"array"}}}}}},"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/x402/ping":{"get":{"summary":"x402 integration test: complete a real $0.001 payment loop, get your payment decoded back + on-chain receipt","description":"x402 integration test: complete a real $0.001 payment loop, get your payment decoded back + on-chain receipt. Price: $0.001 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.001},"parameters":[],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/x402/lint":{"get":{"summary":"x402 service linter: validate any 402 envelope (spec + CDP official validator), scored findings with fixes","description":"x402 service linter: validate any 402 envelope (spec + CDP official validator), scored findings with fixes. Price: $0.05 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.05},"parameters":[{"name":"url","in":"query","required":true,"description":"public URL of the x402 endpoint to lint","schema":{"type":"string"}},{"name":"method","in":"query","required":false,"description":"HTTP method to probe with (default GET)","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}},"/x402/audit":{"get":{"summary":"Deep x402 seller audit: lint + crash test + cold-start latency + discovery surface + live Bazaar index scan","description":"Deep x402 seller audit: lint + crash test + cold-start latency + discovery surface + live Bazaar index scan. Price: $0.25 per call, paid in USDC on Base via x402 (HTTP 402 flow).","x-payment-info":{"protocol":"x402","scheme":"exact","network":"eip155:84532","asset":"USDC","payTo":"0x0adC88212629A83B51e2b95D060AEAF244909414","price_usd":0.25},"parameters":[{"name":"url","in":"query","required":true,"description":"public URL of the x402 endpoint to audit","schema":{"type":"string"}},{"name":"method","in":"query","required":false,"description":"HTTP method to probe with (default GET)","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response"},"402":{"description":"Payment required — see base64 JSON envelope in the `payment-required` response header (x402 v2)"}}}}}}