{"uid":"cap_Zauv2wMB-AnHjlmrumKoN","slug":"erc-20-approval-enumerator-for-base-chain-8453-195c9e86","name":"ERC-20 Approval Enumerator for Base (Chain 8453)","description":"List live ERC-20 approvals for a Base (8453) address: token, spender, current allowance, unlimited flag. status ok (complete, approvals found) / none (complete, zero active) / unknown (data incomplete; reason given; never reported as none). Pass ?address=0x... Errors: 400 invalid address; 503 indexer/RPC unavailable (not charged). Read-only; never signs.","url":"https://x402-research-iota.vercel.app/api/x402/approval-enumerate?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"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"counts":{"type":"object"},"reason":{"type":["string","null"]},"signed":{"type":"boolean"},"status":{"enum":["ok","none","unknown"],"type":"string"},"address":{"type":"string"},"chainId":{"type":"number"},"reasons":{"type":"array","items":{"type":"string"}},"complete":{"type":"boolean"},"coverage":{"type":"object"},"approvals":{"type":"array","items":{"type":"object"}},"limitations":{"type":"array","items":{"type":"string"}},"coverageNote":{"type":"string"},"highRiskCount":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oBzD7wXsmy2cXKAUnC0a5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lists all live ERC-20 token approvals for a given Base network address, returning token, spender, current allowance, and whether the approval is unlimited.","exampleAgentPrompt":"Can you list all the active ERC-20 token approvals for my Base wallet 0xAbC1234567890123456789012345678901234567 — I want to know which contracts are approved to spend my tokens and whether any have unlimited allowances?","exampleUseCases":[{"title":"Pre-interaction wallet security audit","prompt":"Before I interact with this DeFi protocol, can you check all the existing ERC-20 approvals for 0xDeF9876543210987654321098765432109876543 on Base and flag any unlimited allowances that could be risky?"},{"title":"Detect rogue approvals after phishing","prompt":"I think my wallet might have been compromised — can you pull all live ERC-20 approvals for 0xAaA1111222233334444555566667777888899990 on Base so I can see if any unknown contracts have been granted access to my tokens?"},{"title":"DeFi portfolio approval cleanup","prompt":"I want to clean up my token approvals — show me every spender that currently has an ERC-20 allowance from 0xBbB2222333344445555666677778888999900001 on Base, including which ones are set to unlimited."}],"resultDescription":"Returns a JSON object with: status ('ok' if approvals found, 'none' if zero active approvals, 'unknown' if data is incomplete), the queried address, chainId (8453), a boolean 'complete' flag, an array of approval objects each containing token address, spender address, current allowance, and an unlimited flag, a highRiskCount, coverage metadata, and an optional reason/reasons field explaining any data gaps.","failureModes":["400 Bad Request — address parameter is missing or not a valid 0x-prefixed 40-hex-char Ethereum address","503 Service Unavailable — underlying indexer or RPC node is unreachable; call is not charged","status: 'unknown' — data is incomplete; reason field explains why full coverage could not be confirmed"],"whenToPreferThis":"Choose this endpoint when you need a live, read-only enumeration of all active ERC-20 approvals for a specific Base (chain 8453) wallet address, especially when assessing approval risk before DeFi interactions, auditing wallets for unlimited allowances, or checking for suspicious spenders after a potential compromise. Prefer this over generic blockchain explorers when you need structured, machine-readable approval data with explicit unlimited-flag and risk-count fields, and are willing to pay $0.03 USDC per call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:36:33.893Z","isFirstParty":false,"canonicalSlug":"erc-20-approval-enumerator-for-base-chain-8453-195c9e86"}