{"uid":"cap_kCJ2PW1GNYEG44VpkiWxo","slug":"xx402-erc20-token-balance-risk-check-on-base-chain-4a8fde6b","name":"xx402 ERC20 Token Balance & Risk Check on Base Chain","description":"Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.","url":"https://x402.xx402.icu/api/base-chain/erc20-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"keys":["summary","decision","balance","token","owner","account","exposure","next_products","priority_queue","risk_breakdown","review_queue","avoid_queue","bucket_counts","source_status","sources"],"type":"json"},"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_CS1vOBWXwCeJr3MP5Vrt2","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":"Fetches the ERC20 token balance for a wallet address on Base chain and returns a structured risk summary, exposure breakdown, and DeFi product recommendations.","exampleAgentPrompt":"What's the USDC balance and risk assessment for wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 on Base chain — include any exposure breakdown and product recommendations?","exampleUseCases":[{"title":"Pre-trade wallet risk check","prompt":"Before I swap on Base, can you check the risk level and ERC20 token exposure for wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 — I want to know if it's flagged or safe to interact with?"},{"title":"DeFi portfolio exposure audit","prompt":"Give me a full breakdown of the USDC balance and DeFi exposure for my wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 on Base, and tell me which products to prioritize or avoid."},{"title":"Autonomous agent counterparty verification","prompt":"I'm about to send funds to 0xba76c7ECa175f67cFcE475c09498f840176bf497 on Base — run a risk check on that wallet and its ERC20 token balance at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 before I proceed."}],"resultDescription":"Returns a JSON object containing: a summary and decision field for quick risk adjudication; the raw token balance; token and owner identifiers; an exposure score; a risk_breakdown with detailed sub-scores; prioritized, review, and avoid queues of DeFi products; bucket counts; and source status flags indicating which data providers contributed.","failureModes":["Invalid wallet address format returns an error (must match 0x[40 hex chars])","Invalid token contract address format returns an error","Unsupported or non-existent token contract may return empty balance or source_status errors","Payment not completed (x402 flow incomplete) results in 402 response with no data","Rate limiting or upstream chain read failures may cause partial source_status results","Network congestion on Base may delay or fail on-chain balance reads"],"whenToPreferThis":"Choose this endpoint when you need a combined on-chain ERC20 balance lookup plus structured risk assessment for a Base chain wallet in a single call. It is ideal for autonomous agents that need to make risk-gated decisions (e.g., before executing payments, approving counterparties, or recommending DeFi products) without stitching together multiple raw RPC and risk APIs. Prefer it over raw RPC calls when you need the aggregated risk_breakdown, avoid/review/priority queues, and exposure scores alongside the balance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:40:13.106Z","isFirstParty":false,"canonicalSlug":"xx402-erc20-token-balance-risk-check-on-base-chain-4a8fde6b"}