{"uid":"cap_gcmyOZI8A_MIrXm1c-W0O","slug":"beggar-bot-erc-20-allowance-checker-base-mainnet-be61f351","name":"Beggar Bot ERC-20 Allowance Checker (Base mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/allowance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"token/collection contract"},"data":{"type":"string","description":"0x calldata (with to = token)"},"chain":{"type":"string","description":"base default"},"owner":{"type":"string","description":"owner for live read"},"token":{"type":"string"},"spender":{"type":"string"},"typed_data":{"type":"object","description":"EIP-712 typed data to sign"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vzdnLvaTYdeF6WoB1SFLr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the ERC-20 token allowance a spender has been granted by an owner on Base mainnet, supporting raw calldata and EIP-712 typed data signing.","exampleAgentPrompt":"Check how much USDC allowance the address 0xAbC...123 has granted to spender 0xDeF...456 on Base mainnet.","exampleUseCases":[{"title":"Pre-transaction approval check","prompt":"Before I submit this swap, check whether my wallet 0xOwner...111 has already approved enough USDC (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) for the router 0xRouter...222 on Base mainnet."},{"title":"DeFi protocol allowance audit","prompt":"Can you look up how much allowance the DeFi lending protocol at 0xProtocol...333 has to spend my tokens from owner address 0xMyWallet...444 on Base?"},{"title":"EIP-712 typed data allowance query","prompt":"I have some EIP-712 typed data for an allowance check — can you send it to the allowance endpoint on Base to find out how much approval exists between these two addresses?"}],"resultDescription":"Returns a JSON response containing the current allowance amount a spender is approved to transfer on behalf of the owner for the specified ERC-20 token contract on Base mainnet, along with relevant token metadata.","failureModes":["Invalid or malformed contract address returns an error","Owner or spender address not found on chain returns zero allowance","Unsupported chain value returns an error","Missing required fields (token, owner, spender) returns a validation error","Payment not included or insufficient USDC payment via x402 returns 402","Network congestion or RPC errors may cause timeouts"],"whenToPreferThis":"Use this endpoint when you need a live, on-chain ERC-20 allowance read on Base mainnet (or Base Sepolia for testing) and want a simple JSON result without setting up your own RPC connection. It supports raw calldata and EIP-712 typed data, making it useful for agents that need to verify approvals before executing DeFi transactions. Prefer this over generic RPC calls when you want a managed, paid-per-call service with built-in USDC support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:33:04.211Z","isFirstParty":false,"canonicalSlug":"beggar-bot-erc-20-allowance-checker-base-mainnet-be61f351"}