{"uid":"cap_ROo8Rhq8bDIGRgv63zOPj","slug":"base-stablecoin-balance-checker-62f79c4d","name":"Base Stablecoin Balance Checker","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/stablecoin-balance","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"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Base wallet or contract whose stablecoin balances should be read."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"base-stablecoin-balance","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EPHDB2hWOMtITnPpWDBNQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and risk-assesses stablecoin balances held by a given Base (EVM) wallet or contract address, returning balances, risk score, and safety flags.","exampleAgentPrompt":"Before I send USDC to 0x4a2b38b9cDb1c8f9b3e5e6A5c3D4f1e2b7a8c9d0 on Base, can you check what stablecoins that address holds and whether it has any risk flags?","exampleUseCases":[{"title":"Vet vendor wallet before payment","prompt":"I'm about to pay 500 USDC to 0x7f3e1a2b4c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f on Base for a data API subscription — can you check their stablecoin holdings and let me know if there are any risk flags I should worry about before I send?"},{"title":"Audit contract stablecoin exposure","prompt":"We're integrating with a third-party smart contract at 0x1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c on Base — can you pull its stablecoin balances and give me a risk score so I can decide whether it's safe to proceed?"},{"title":"Screen agent wallet before tool purchase","prompt":"My AI agent is about to buy access to a premium analytics tool on x402, but I want to make sure the buyer wallet 0x9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1a0b on Base looks clean — can you run a preflight risk check on its stablecoin position?"}],"resultDescription":"Returns a JSON object with the network identifier (eip155:8453), product label, and an assessment block containing a risk_level (e.g. 'low'), a numeric risk_score, and an array of risk flags — along with any relevant activity, identity, and provenance metadata for the queried address.","failureModes":["Invalid address format (not a valid 0x EVM address) returns a validation error","Address has no stablecoin activity on Base — returns empty balances with low risk score","Rate limiting or payment failure (x402) if USDC payment not attached","RPC node unavailability may cause transient 5xx errors","Contract addresses with proxy patterns may return incomplete balance data"],"whenToPreferThis":"Use this endpoint when you need to preflight-check a Base (EIP-155:8453) wallet or contract for stablecoin holdings and associated risk before executing a transaction, payment, or integration. Prefer it over generic blockchain explorers when you want a machine-readable risk score and structured safety flags rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:49:34.654Z","isFirstParty":false}