{"openapi":"3.0.3","info":{"title":"Base Scout","version":"1.0.0","description":"Pay-per-call Base chain utilities for AI agents and bots: tx status, wallet balances, token metadata, prices. 0.01 USDC per call on Base (x402). Price: 0.01 USDC per call on Base (x402)."},"servers":[{"url":"https://base-scout.botty4541.workers.dev"}],"paths":{"/service/tx":{"get":{"summary":"Paid lookup","parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"0x tx hash"}],"responses":{"200":{"description":"Result (paid)","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"payer":{"type":"string"},"transaction":{"type":"string"},"data":{"type":"object","properties":{"hash":{"type":"string"},"status":{"type":"string"},"from":{"type":"string"},"to":{"type":["string","null"]},"valueEth":{"type":"string"},"blockNumber":{"type":["integer","null"]},"gasUsed":{"type":["integer","null"]},"confirmations":{"type":"integer"}}}}}}}},"402":{"description":"Payment required (x402). Pay and resend with x-payment header."}}}},"/service/balance":{"get":{"summary":"Paid lookup","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"0x address"}],"responses":{"200":{"description":"Result (paid)","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"payer":{"type":"string"},"transaction":{"type":"string"},"data":{"type":"object","properties":{"address":{"type":"string"},"eth":{"type":"string"},"usdc":{"type":"string"},"aUsdc":{"type":"string"}}}}}}}},"402":{"description":"Payment required (x402). Pay and resend with x-payment header."}}}},"/service/price":{"get":{"summary":"Paid lookup","parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string"},"description":"ETH, USDC, BASE, WBTC, SOL, DEEPSEEK, AAVE, UNI, DAI"}],"responses":{"200":{"description":"Result (paid)","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"payer":{"type":"string"},"transaction":{"type":"string"},"data":{"type":"object","properties":{"symbol":{"type":"string"},"usd":{"type":"number"}}}}}}}},"402":{"description":"Payment required (x402). Pay and resend with x-payment header."}}}},"/service/token":{"get":{"summary":"Paid lookup","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"0x ERC-20 address"}],"responses":{"200":{"description":"Result (paid)","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"payer":{"type":"string"},"transaction":{"type":"string"},"data":{"type":"object","properties":{"address":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"integer"},"totalSupply":{"type":"string"}}}}}}}},"402":{"description":"Payment required (x402). Pay and resend with x-payment header."}}}}}}