{"uid":"cap_WB_cHF1MXrUCLC9gfQ6di","slug":"tanod-chainpeek-erc-20-allowance-read-2718f871","name":"Tanod chainpeek ERC-20 Allowance Read","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/chain/allowance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["ethereum","base","robinhood"],"type":"string","description":"Chain to read."},"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","maxLength":42,"description":"Token holder address (0x + 40 hex)."},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","maxLength":42,"description":"ERC-20 contract address (0x + 40 hex)."},"spender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","maxLength":42,"description":"Approved spender address (0x + 40 hex)."}}},"responseSchema":{"type":"json","example":{"block":52290472,"chain":"base","owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","decimals":6,"allowance":"0","unlimited":false,"allowance_raw":"0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_69bGq5NFSpsdMege1R_Nb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ERC-20 token allowance granted by an owner to a spender, including token decimals, symbol, and whether the approval is unlimited, on Ethereum or Base.","exampleAgentPrompt":"What's the USDC allowance that 0xAbC...123 (owner) gave to the Uniswap router 0xDef...456 (spender) on Ethereum — and is it an unlimited approval?","exampleUseCases":[{"title":"Audit DeFi protocol approvals","prompt":"Can you check what allowance my wallet 0x1234567890abcdef1234567890abcdef12345678 has granted to the Aave lending pool at 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd for the USDC token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 on Ethereum? I want to know if it's an unlimited approval."},{"title":"Pre-trade allowance check","prompt":"Before I try to swap tokens, check if the address 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef has approved the DEX router 0xcafecafecafecafecafecafecafecafecafecafe to spend the token at 0xba5e000000000000000000000000000000000001 on Base, and tell me how many tokens it's allowed to move."},{"title":"Security review of token approvals","prompt":"I'm reviewing my wallet's security — can you look up what allowance 0x1111111111111111111111111111111111111111 has given to the contract 0x2222222222222222222222222222222222222222 for the WETH token at 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 on Ethereum? Flag it if it's set to unlimited."}],"resultDescription":"Returns the numeric allowance (in both raw and human-readable decimal form), the token's symbol, the token's decimals, and a boolean flag indicating whether the allowance is effectively unlimited (i.e., set to max uint256).","failureModes":["Invalid address format (not 0x + 40 hex) returns a validation error","Unsupported chain value returns an enum error","Token address is not a valid ERC-20 contract (e.g., an EOA) may return zero or an RPC error","RPC node unavailability on the selected chain can cause timeouts","No allowance set returns zero rather than an error"],"whenToPreferThis":"Use this endpoint when you need a quick, enriched ERC-20 allowance lookup on Ethereum or Base that also returns token metadata (symbol, decimals) and the unlimited-approval flag in one call, without running your own blockchain node or constructing raw RPC calls. Prefer it over raw eth_call when you want the unlimited flag and human-readable amounts out of the box.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:44.265Z","isFirstParty":false,"canonicalSlug":"tanod-chainpeek-erc-20-allowance-read-2718f871"}