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 address
  • balancemulti – Batch balance check for up to 20 addresses
  • txlist – Retrieve normal transaction history for an address
  • txlistinternal – Fetch internal (contract-generated) transactions
  • tokentx – ERC-20 token transfer events
  • tokennfttx – ERC-721 NFT transfer events
  • token1155tx – 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 contract
  • getsourcecode – Fetch verified contract source code
  • getcontractcreation – Get creator address and creation transaction hash
  • checkverifystatus – Poll verification submission status
Transaction Endpoints

The transaction module provides receipt and status data:

  • getstatus – Check if a transaction succeeded or failed
  • gettxreceiptstatus – 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 number
  • getblockcountdown – Estimate the time until a future block is mined
  • getblocknobytime – 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 Gwei
  • gasestimate – 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 supply
  • tokenholderlist – PRO: List of token holders and balances