{"uid":"cap_Hex3L4l1Nwnmr_EURlRrr","slug":"polygon-pos-erc-20-allowance-checker-3155fc65","name":"Polygon PoS ERC-20 Allowance Checker","description":"ERC-20 allowance on Polygon PoS: how much a spender may transfer from an owner, whether the approval is effectively unlimited, the owner's balance, and the amount the spender could move right now.","url":"https://onchaincheck.dev/polygon/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"],"type":"string"},"queryParams":{"type":"object","required":["token","owner","spender"],"properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address that granted the approval"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 contract on Polygon PoS"},"spender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address allowed to spend"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"raw":"115792089237316195423570985008687907853269984665640564039457584007913129639935","chain":"polygon","owner":"0x357542d88744DB4BFfE8F90008138dDc4a10cdC3","token":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC","spender":"0x429eba38eF16A42C62b497C22A4662C45b37f848","allowance":"115792089237316195423570985008687907853269984665640564039457584007913129.639935","unlimited":true,"ownerBalance":"0","spendableNow":"0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_msldHbZtYnas96J40GWq_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 allowance a spender has on Polygon PoS, whether it is unlimited, the owner's current balance, and the net spendable amount right now.","exampleAgentPrompt":"What's the USDC allowance on Polygon PoS for spender 0x429eba38eF16A42C62b497C22A4662C45b37f848 from owner 0x357542d88744DB4BFfE8F90008138dDc4a10cdC3 — is it unlimited, and how much can the spender actually move right now?","exampleUseCases":[{"title":"DeFi approval security audit","prompt":"Check the USDC allowance on Polygon PoS for the Uniswap router at 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 from my wallet 0x357542d88744DB4BFfE8F90008138dDc4a10cdC3 — is it set to unlimited, and what's my actual balance?"},{"title":"Smart contract spending limit check","prompt":"Before I submit this transaction, can you look up how much of my USDT token at 0xc2132D05D31c914a87C6611C10748AEb04B58e8F the lending protocol at 0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf is approved to spend from my Polygon address 0xAbCd1234567890AbCd1234567890AbCd12345678?"},{"title":"Monitoring approval after revoke","prompt":"I just revoked an approval on Polygon — can you confirm that the allowance for spender 0x429eba38eF16A42C62b497C22A4662C45b37f848 on the USDC contract 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 from owner 0x357542d88744DB4BFfE8F90008138dDc4a10cdC3 is now zero?"}],"resultDescription":"A JSON object containing the raw and human-readable allowance, whether it is effectively unlimited (boolean), the owner's current ERC-20 balance, the net amount the spender can move right now (minimum of allowance and balance), the token symbol, and the chain identifier.","failureModes":["Invalid Ethereum address format returns a validation error","Token contract address is not a valid ERC-20 on Polygon PoS — returns error or zero values","Owner or spender address does not exist onchain — returns zero allowance and balance","Network connectivity issues to Polygon PoS RPC — may return 5xx error","Payment not included or invalid — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to check ERC-20 token approvals specifically on Polygon PoS, including whether an approval is effectively unlimited (max uint256). Prefer this over generic block explorers when you need a structured, machine-readable response combining allowance, balance, and spendable amount in one call. Ideal for DeFi security checks, approval audits, and pre-transaction validation on Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:42:33.719Z","isFirstParty":false,"canonicalSlug":"polygon-pos-erc-20-allowance-checker-3155fc65"}