{"uid":"cap_JfQwwc8_CJmI405_ifjmS","slug":"aether-base-token-allowance-lookup-26c6372f","name":"Aether Base Token Allowance Lookup","description":"Pay-per-call Base onchain data, token risk verdicts and x402 payability audits over x402 (USDC on Base).","url":"https://aether-x402.vercel.app/v1/base/allowance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","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}$"}}},"responseSchema":{"type":"json","example":{"raw":"0","formatted":"0","unlimited":false}},"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_q7slS-mcpcYkxLUxiGCFc","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":"Queries the ERC-20 token spending allowance granted by an owner address to a spender address on Base mainnet.","exampleAgentPrompt":"Check what token allowance wallet 0xAbCd...1234 has approved for spender 0xDEF5...6789 on the USDC token contract 0xA0b8...eb48 on Base — I want to know if it's unlimited or has a specific cap.","exampleUseCases":[{"title":"DeFi approval security audit","prompt":"I want to check how much allowance my wallet 0x1234...abcd has granted to the Uniswap router contract 0x2626...6200 for the USDC token 0x8338...4820 on Base — is it set to unlimited?"},{"title":"Pre-trade allowance verification","prompt":"Before my agent executes a swap, check whether address 0xabc1...2345 has enough spending allowance set for contract 0xdef6...7890 on token 0x4200...0006 on Base so we know if an approval transaction is needed first."},{"title":"Allowance monitoring for suspicious grants","prompt":"Check the current token allowance that wallet 0x9876...fedc has approved for the contract 0x1111...aaaa on the WETH token 0x4200...0006 on Base — I'm auditing this wallet for overly permissive approvals."}],"resultDescription":"Returns a JSON object with three fields: 'raw' (the allowance as a raw integer string), 'formatted' (human-readable decimal amount), and 'unlimited' (boolean indicating whether the allowance is set to the maximum uint256 value, i.e. effectively unlimited).","failureModes":["Invalid Ethereum address format for owner, token, or spender returns a validation error","Token contract address is not a valid ERC-20 contract on Base, resulting in a call failure or zero response","Payment via x402/USDC fails if the calling agent lacks sufficient USDC balance on Base","Rate limiting or service unavailability from the underlying Base RPC node","Spender or owner address that has never interacted returns allowance of 0 (not an error, but may be misread as failure)"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call lookup of ERC-20 token allowances on Base mainnet without setting up your own RPC infrastructure. It is ideal for AI agents that need to check approval state before executing DeFi operations, audit wallets for risky unlimited approvals, or verify spending permissions programmatically using USDC micropayments via the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:16.918Z","isFirstParty":false,"canonicalSlug":"aether-base-token-allowance-lookup-26c6372f"}