{"uid":"cap_BwYSXX61WtwbND7JgmBhR","slug":"allthebot-erc-20-allowance-eth-0db2c651","name":"AllTheBot ERC-20 Allowance (ETH)","description":"Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.","url":"https://api.zkrobotics.fr/x402/eth/allowance?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["owner","spender","token"],"properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"spender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"ethereum","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","allowance":"0","unlimited":false,"allowance_raw":"0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CV0Poh2NOXEQXA3p6YUom","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks how much ERC-20 token a spender is approved to transfer from an owner wallet on Ethereum, with unlimited-approval detection.","exampleAgentPrompt":"Can you check how much USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) the Permit2 contract (0x000000000022D473030F116dDEE9F6B43aC78BA3) is approved to spend from my wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum, and let me know if the approval is unlimited?","exampleUseCases":[{"title":"Revoke audit before DeFi interaction","prompt":"Before I interact with this new DeFi protocol, can you check if the contract 0x1234567890abcdef1234567890abcdef12345678 has any USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) spending approval on my Ethereum wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045, and flag it if the approval is unlimited?"},{"title":"Pre-swap approval verification","prompt":"I'm about to swap WETH for DAI on Uniswap — can you verify the Uniswap v3 router (0xE592427A0AEce92De3Edee1F18E0157C05861564) is approved to spend my WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) from wallet 0xAbCdEf1234567890AbCdEf1234567890AbCdEf12 on Ethereum?"},{"title":"Bridge allowance security check","prompt":"Can you check how much USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) the Hop bridge contract (0x3666f603Cc164936C1b87e207F36BEBa4AC5f18d) is allowed to move from my Ethereum address 0xFeedBacc0000000000000000000000000000FeeD, and tell me if it's an unlimited approval?"}],"resultDescription":"Returns a JSON object with the owner wallet address, token contract address, spender address, network (ethereum), the human-readable allowance amount, the raw allowance as a string, and a boolean indicating whether the approval is unlimited (i.e. max uint256).","failureModes":["Invalid Ethereum address format for owner, spender, or token returns a 400 error","Token contract address does not exist or is not an ERC-20 returns an error or zero allowance","RPC node unavailability may cause a 503 or timeout","Spender has no approval at all returns allowance of 0 and unlimited: false"],"whenToPreferThis":"Use this endpoint when you need to check ERC-20 token approval status on Ethereum mainnet specifically, including unlimited-approval detection. Prefer this over generic blockchain RPC calls when you want a clean, parsed response with the unlimited flag already computed. Best suited for pre-transaction safety checks, wallet audits, and DeFi security workflows on Ethereum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:47.695Z","isFirstParty":false,"canonicalSlug":"allthebot-erc-20-allowance-eth-0db2c651"}