{"uid":"cap_0gWhYTjG0hq96mWZyohDw","slug":"scanpay-token-balance-4f94dbde","name":"ScanPay Token Balance","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/token-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address","token"],"properties":{"token":{"type":"string"},"address":{"type":"string"},"network":{"enum":["base","ethereum"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"token":"0x8335…2913","address":"0x1E04…efc9","balance":1,"network":"base","decimals":6,"balance_raw":"1000000","balance_str":"1.000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sAXCh-UHl4U0zqM9llvAn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ERC-20 token balance of any EVM wallet address on Base or Ethereum via direct eth_call, no indexer or API key required.","exampleAgentPrompt":"What's the USDC balance of wallet 0x1E04...efc9 on Base — give me both the raw and human-readable amounts?","exampleUseCases":[{"title":"Verify DeFi wallet token holdings","prompt":"Can you check how many USDC tokens wallet 0xAbCd...1234 is holding on the Base network right now?"},{"title":"Confirm airdrop receipt on Ethereum","prompt":"I need to verify whether wallet 0x9F3a...beef actually received the airdropped tokens — can you look up its balance for token contract 0x8335...2913 on Ethereum?"},{"title":"Portfolio balance snapshot","prompt":"Pull the current balance of token 0x4200...0006 for my wallet 0x7777...aaaa on Base so I can track my holdings."}],"resultDescription":"Returns a JSON object containing the wallet address, token contract address, network, token decimals, the raw integer balance (balance_raw), a decimal-formatted string (balance_str), and a numeric balance value — all sourced directly from an on-chain eth_call with no third-party indexer.","failureModes":["Invalid or malformed wallet address returns an error","Invalid token contract address (not a valid ERC-20) may return zero or error","Unsupported network (not Base or Ethereum) returns an error","RPC node downtime causes timeout or 5xx response","Missing required query parameters returns a 4xx validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-API-key ERC-20 balance lookup on Base or Ethereum via direct eth_call. Prefer it over indexer-based solutions when you want trustless on-chain data without third-party rate limits. Use the batch sibling endpoint when checking multiple wallet/token pairs at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:55:42.553Z","isFirstParty":false,"canonicalSlug":"scanpay-token-balance-4f94dbde"}