Beatae error blanditiis libero
From account balances to contract ABIs — every Polygon blockchain data point is one API call away.
The Polygon Scan API exposes a comprehensive set of REST endpoints that mirror the full data set indexed by the Polygon PoS block explorer. All endpoints follow the same base URL pattern and accept both GET and POST requests with your API key appended as a query parameter.
Base URL
https://api.polygonscan.com/api?module=[MODULE]&action=[ACTION]&apikey=YOUR_KEY
Account Endpoints
The account module provides wallet-level data for any address on the Polygon network:
balance– Get the POL balance of a single addressbalancemulti– Batch balance check for up to 20 addressestxlist– Retrieve normal transaction history for an addresstxlistinternal– Fetch internal (contract-generated) transactionstokentx– ERC-20 token transfer eventstokennfttx– ERC-721 NFT transfer eventstoken1155tx– ERC-1155 multi-token transfer events
Contract Endpoints
The contract module lets you interact with deployed smart contracts:
getabi– Retrieve the ABI of a verified contractgetsourcecode– Fetch verified contract source codegetcontractcreation– Get creator address and creation transaction hashcheckverifystatus– Poll verification submission status
Transaction Endpoints
The transaction module provides receipt and status data:
getstatus– Check if a transaction succeeded or failedgettxreceiptstatus– Get the receipt status (1 = success, 0 = fail)
Block Endpoints
The block module exposes block-level data:
getblockreward– Retrieve block and uncle rewards for a given block numbergetblockcountdown– Estimate the time until a future block is minedgetblocknobytime– Find the block number closest to a Unix timestamp
Gas Tracker Endpoints
The gastracker module provides real-time gas price estimates for Polygon:
gasoracle– Returns SafeGasPrice, ProposeGasPrice, and FastGasPrice in Gweigasestimate– Estimate the gas limit for a given byte-code execution
Token Endpoints
Use the token module for ERC-20 token information:
tokeninfo– Get token name, symbol, decimals, and total supplytokenholderlist– PRO: List of token holders and balances