{"uid":"cap_oPt17hZomouhFaN7h81JJ","slug":"coins-agent-check-erc-20-allowance-snapshot-6b4454aa","name":"Coins Agent Check — ERC-20 Allowance Snapshot","description":"USDC receipt evidence for x402 merchants and wallet agents. Try a free public-chain receipt example, then verify your own Base USDC transfers for 0.02 USDC per report.","url":"https://coins.zhidun.ai/api/v1/tokens/allowances?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"chainId":{"anyOf":[{"type":"number","const":56},{"type":"number","const":8453}]},"spenders":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"maxItems":3,"minItems":1},"termsAccepted":{"type":"boolean","const":true},"customerCountryCode":{"type":"string","pattern":"^[A-Z]{2}$"}}},"responseSchema":{"type":"json","example":{"kind":"erc20_allowance_snapshot","reportId":"private-request-hash"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I6tXswtxgkMBj2M0YZqAV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a signed snapshot of ERC-20 token allowances for a given owner address across one or more spender addresses on Base or BSC","exampleAgentPrompt":"Check the USDC token allowances my wallet 0xAbC1234567890AbC1234567890AbC1234567890Ab has granted to the spender 0xDef9876543210DeF9876543210DeF9876543210De on Base (chain 8453) — I need a verifiable allowance snapshot and I'm located in the US.","exampleUseCases":[{"title":"Audit DeFi protocol spend permissions","prompt":"Check what allowance my wallet 0xAbC1234567890AbC1234567890AbC1234567890Ab has granted to Uniswap's router at 0xDef9876543210DeF9876543210DeF9876543210De for USDC on Base chain — flag if it's an unlimited approval. I'm in the US and I accept the terms."},{"title":"Pre-transfer allowance verification","prompt":"Before I trigger an automated USDC transfer, verify that the spender contract 0xDef9876543210DeF9876543210DeF9876543210De has sufficient allowance from owner 0xAbC1234567890AbC1234567890AbC1234567890Ab on BSC (chain 56) for token 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d. Country is US, terms accepted."},{"title":"Security scan for unexpected token approvals","prompt":"Scan the ERC-20 allowances that my wallet 0xAbC1234567890AbC1234567890AbC1234567890Ab has set on Base for USDC, checking these three spender addresses: 0xAAA1111111111111111111111111111111111111, 0xBBB2222222222222222222222222222222222222, and 0xCCC3333333333333333333333333333333333333. I want to know if any of them have unexpected permissions. I'm in the US and I accept your terms."}],"resultDescription":"A JSON object with kind set to 'erc20_allowance_snapshot' and a reportId (private request hash), representing a paid, verifiable snapshot of the current ERC-20 allowances the specified owner has granted to the listed spenders for the given token on the specified chain.","failureModes":["Invalid owner/token/spender address format (must be 0x-prefixed 40-hex-char address)","Unsupported chainId (only 56 for BSC and 8453 for Base are accepted)","Too many spenders (max 3 allowed)","termsAccepted not set to true — request rejected","Missing or invalid customerCountryCode (must be 2-letter ISO country code)","Payment failure via x402 — report not delivered if 0.02 USDC charge fails","On-chain RPC errors if the specified token contract does not exist on the given chain"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically evidenced, paid snapshot of ERC-20 allowances on Base or BSC — particularly useful for compliance checks, pre-transaction validation, wallet security audits, or when you need a reportId for auditability. Prefer this over free block explorer lookups when you need a structured, agent-consumable result with verified provenance and ABI interpretation included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:43:27.370Z","isFirstParty":false,"canonicalSlug":"coins-agent-check-erc-20-allowance-snapshot-6b4454aa"}