{"uid":"cap_1mB9xaGU6Rutvu8F3EfX8","slug":"polygon-pos-onchain-data-b39835d8","name":"Polygon PoS Onchain Data","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/polygon/contract?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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Any address on Polygon PoS"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"ERC-20 token","name":"USD Coin","chain":"polygon","proxy":{"admin":"0x9238E612387eBBA4D4Fa0d76DbFbA99b453417b3","upgradeable":true,"implementation":"0x235AE97b28466Db30469b89A9fe4cFf0659f82Cb"},"symbol":"USDC","address":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","decimals":6,"standards":{"erc20":true,"erc165":false,"erc721":false,"erc1155":false},"isContract":true,"totalSupply":"586295089.86576","bytecodeBytes":1852,"nativeBalance":"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_a33sv-YqF7rT2562bpCPA","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":"Identifies and classifies any Polygon PoS address — returning whether it is a wallet or contract, token standard, name/symbol, proxy details, bytecode size, nonce, and POL balance.","exampleAgentPrompt":"Can you check what's at this Polygon PoS address — 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619 — is it a wallet or a contract, and if it's a contract, what token standard does it use and what are its name and symbol?","exampleUseCases":[{"title":"Token contract due diligence","prompt":"I'm about to integrate this Polygon token at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 into my app — can you tell me if it's really an ERC-20, what its name and symbol are, and whether it's an upgradeable proxy?"},{"title":"Smart wallet type identification","prompt":"Is the Polygon address 0x1234567890abcdef1234567890abcdef12345678 a regular wallet, a smart-wallet proxy, or a deployed contract, and if it's a contract what's its bytecode size?"},{"title":"Proxy admin and implementation lookup","prompt":"For this Polygon PoS contract 0xabc123def456abc123def456abc123def456abc1, who is the proxy admin and what implementation address is it pointing to right now?"}],"resultDescription":"Returns a structured snapshot of the Polygon PoS address including: address classification (EOA or contract), EIP-7702 delegation target if applicable, token standard implemented (ERC-20, ERC-721, ERC-1155 or none), token name and symbol, upgradeable-proxy implementation address and admin, smart-wallet proxy type, bytecode size in bytes, account nonce, and current POL (native token) balance.","failureModes":["Invalid address format — address must match ^0x[0-9a-fA-F]{40}$ pattern","Address not found or has no onchain activity (returns empty/zero values)","RPC node unavailability causing timeout or 5xx error","Rate limiting or payment failure for x402 micropayment","Non-Polygon address submitted (e.g. Ethereum mainnet address that doesn't exist on Polygon)"],"whenToPreferThis":"Use this endpoint when you need a comprehensive one-shot classification and metadata snapshot of any Polygon PoS address — especially when you need to distinguish EOAs from contracts, identify token standards, or investigate proxy architecture. Prefer this over chain-specific alternatives when the target chain is confirmed to be Polygon PoS. For Ethereum or Arbitrum addresses, use the sibling endpoints on the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:38:55.739Z","isFirstParty":false,"canonicalSlug":"polygon-pos-onchain-data-b39835d8"}