{"uid":"cap_ldmInHKlwIZPeVkd1z-TA","slug":"erc20-token-allowance-checker-e9093296","name":"ERC20 Token Allowance Checker","description":"Check the ERC20 allowance an owner has granted a spender, returns raw and formatted amount with token symbol and decimals on five EVM chains. token allowance, erc20 approval check, spender allowance, approval audit, revoke helper data Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/token-allowance","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":"Owner address (required)"},"token":{"type":"string","description":"ERC20 contract (required)"},"spender":{"type":"string","description":"Spender address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","spender":"0x0987654321098765432109876543210987654321"},"response":{"raw":"0","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","spender":"0x0987654321098765432109876543210987654321","decimals":6,"formatted":"0","unlimited":false}},"exampleRequest":{"chain":"ethereum","owner":"0x1234567890123456789012345678901234567890","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","spender":"0x0987654321098765432109876543210987654321"},"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_Qim2QWc55EEzmbQRorER7","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":"Returns the ERC20 allowance an owner has granted to a spender, including raw and formatted amounts, token symbol, and decimals across five EVM chains","exampleAgentPrompt":"Check how much USDC allowance the wallet 0xAbC...123 has approved for the Uniswap v3 router 0xE592...1F on Ethereum mainnet — give me the formatted amount with the token symbol.","exampleUseCases":null,"resultDescription":"Returns the raw allowance value (in smallest token units), a human-readable formatted amount, the token symbol, and the number of decimals, for the specified owner-spender pair on one of five supported EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon).","failureModes":["Invalid or malformed owner/spender/token address returns an error","Unsupported chain identifier returns a chain not supported error","Token contract address is not a valid ERC20 contract, causing a call revert","Zero allowance is a valid successful response, not an error","Network congestion or RPC timeout may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need to quickly audit how much token spending authority an owner has delegated to a specific spender on any of the five major EVM chains, especially for DeFi safety checks, revoke helper workflows, or pre-transaction approval validation. Prefer this over on-chain RPC calls directly when you need a formatted, symbol-aware response without setting up your own blockchain node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:34.707Z","isFirstParty":false}