{"uid":"cap_yI7zx0VbeU-VGaIZjQ1Xx","slug":"x402-toolbox-chain-token-allowance-d298a062","name":"x402-toolbox Chain Token Allowance","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/chain/token-allowance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"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_yHcp6-ESZyPSTQsOqc29N","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":"Looks up the ERC-20 token allowance granted by an owner to a spender on a blockchain, paid per-call via x402 USDC micropayment","exampleAgentPrompt":"Check the token allowance that the Uniswap router has been granted by my wallet address on Base — I want to know how many USDC tokens it's approved to spend.","exampleUseCases":[{"title":"DeFi pre-trade allowance check","prompt":"Before I swap on the DEX, check whether the router contract has enough token allowance to spend my USDC — tell me the exact approved amount on Base."},{"title":"Security audit of wallet approvals","prompt":"I want to audit my wallet's ERC-20 approvals — look up what allowance I've granted to that Aave lending contract for USDC on Base."},{"title":"Automated bot approval verification","prompt":"My trading bot needs to verify that the aggregator contract has a non-zero USDC allowance from the bot's wallet before it tries to execute — can you check the current allowance on-chain?"}],"resultDescription":"Returns a JSON object indicating success and payment confirmation, along with the numeric token allowance amount that the specified spender is approved to transfer on behalf of the owner for the given ERC-20 token and chain.","failureModes":["Invalid or malformed schema/address input returns error response","Token contract not found on specified chain returns null or zero allowance","Network/RPC unavailability causes timeout or 5xx error","Payment failure via x402 blocks the request with 402 status","Unsupported chain identifier returns validation error"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup, pay-per-call lookup of ERC-20 token allowances on Base or supported EVM chains, especially in agent workflows where acquiring API keys is impractical and micropayment via x402/USDC is acceptable. Prefer it over self-hosted RPC calls when you want a managed, deterministic tool invocation without infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:30.344Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-chain-token-allowance-d298a062"}