{"uid":"cap_G5rXPK5TXZrfqKqhoE0lv","slug":"erc20-token-allowance-approval-checker-1007c791","name":"ERC20 Token Allowance & Approval Checker","description":"Check the exact ERC20 allowance an owner has granted to a spender contract, flagging unlimited approvals for revocation, on EVM chains. token allowance, approval check, unlimited approval, revoke allowance, spender allowance, wallet security Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/token-approvals","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":["token","owner","spender"],"properties":{"chain":{"type":"string","description":"ethereum, base (default), arbitrum, optimism, polygon"},"owner":{"type":"string","description":"Token owner address (required)"},"token":{"type":"string","description":"ERC20 contract address (required)"},"address":{"type":"string","description":"EVM/chain address (optional)"},"spender":{"type":"string","description":"Spender contract address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","spender":"0xE592427A0AEce92De3Edee1F18E0157C05861564"},"response":{"_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","revoked":true,"spender":"0xE592427A0AEce92De3Edee1F18E0157C05861564","riskNote":"No approval (safe).","allowance":{"raw":"0","formatted":"0"},"unlimited":false}},"exampleRequest":{"chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","spender":"0xE592427A0AEce92De3Edee1F18E0157C05861564"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QTGc5X9oWC9sc_-tiFrke","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the exact ERC20 allowance an owner has granted to a spender contract on EVM chains, flagging unlimited approvals that may need revocation","exampleAgentPrompt":"Check how much USDC allowance my wallet 0xAbC...123 has granted to the Uniswap router contract 0xDef...456 on Ethereum — and flag it if it's an unlimited approval that I should consider revoking.","exampleUseCases":null,"resultDescription":"Returns the exact ERC20 allowance amount the owner has approved for the spender contract, whether the approval is unlimited (max uint256), and relevant token/chain context to help decide whether to revoke the approval.","failureModes":["Invalid or non-existent token contract address returns error","Owner or spender address not valid EVM format returns 400","Unsupported EVM chain returns error","Token contract is not ERC20-compliant returns error","Network RPC timeout causes 500 or retry needed","Missing required parameters returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need to audit a specific ERC20 token allowance granted by an owner to a particular spender on an EVM chain, especially to detect unlimited approvals that pose security risks. Prefer this over generic block explorers when you need programmatic, structured allowance data with automatic unlimited-approval flagging for revocation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:18.945Z","isFirstParty":false}