Skip to content
OSINTtools.io

PolygonScan API

Etherscan-built explorer for the Polygon PoS chain: addresses, transactions, tokens, contracts, labels and CSV export.

Base URL
https://api.etherscan.io/v2
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from docs.etherscan.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

PolygonScan's API is served by the Etherscan API V2, one key and one endpoint for 50+ EVM chains. Polygon Mainnet is chain ID 137 and is listed as available on the free tier. An investigator uses it to read an address's balance, transaction history and token transfers.

All calls go to https://api.etherscan.io/v2/api with chainid, module and action query parameters and an apikey; the action picks the call. Responses carry status, message and result; status 0 can mean an error or no records. This reference details the normal transaction list (txlist). The same endpoint also serves balance (native balance in wei as a string), tokentx (ERC-20 transfers; needs address or contractaddress), internal transactions, ERC-721 and ERC-1155 transfers and advanced filters; see the docs' endpoint overview.

Quick start

  1. Get a key

    Create an account with PolygonScan and copy your api key (free tier). Where to get it

  2. Make your first request

    Normal transactions of an address (module=account, action=txlist); other actions share this path.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.etherscan.io/v2/api?chainid=137&module=account&action=txlist&address=0x0000000000000000000000000000000000000001&apikey=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "status": "1",
      "message": "OK",
      "result": [
        {
          "blockNumber": "1000000",
          "timeStamp": "1700000000",
          "hash": "0x0000000000000000000000000000000000000000000000000000000000000abc",
          "from": "0x0000000000000000000000000000000000000001",
          "to": "0x0000000000000000000000000000000000000002",
          "value": "1000000000000000000",
          "gasUsed": "21000",
          "functionName": "",
          "isError": "0"
        }
      ]
    }

Authentication

Send your API key in the apikey query parameter of every request.

Get a key from PolygonScan

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Free plan: 3 calls per second and 100,000 per day, on selected chains; higher on paid plans

Free tier.

Account

Supports block range, pagination and sort order. For balance, action=balance takes address and an optional tag (latest or a hex block within the last 128); result is then a wei string.

Query parameters

chainidstringrequired

Chain to query; 137 is Polygon Mainnet

Example: 137Default: 137
modulestringrequired

Must be account

Example: accountOne of: account
actionstringrequired

Which call to make

Example: txlistOne of: txlist, balance, tokentx
addressstringrequiredtakes your crypto wallet

Address to query

Example: 0x0000000000000000000000000000000000000001
startblockinteger

Block to start searching from

Example: 0
endblockinteger

Block to stop at

Example: 99999999
pageinteger

Page number

Example: 1
offsetinteger

Records per page

Example: 10
sortstring

asc is oldest first, desc latest first

Example: ascOne of: asc, desc
Response fields · 11Show

statusstring

"1" if data was returned, "0" otherwise

messagestring

OK or an error description such as NOTOK

blockNumberstring

Block that included the transaction

timeStampstring

Block time as a Unix timestamp in seconds

hashstring

Transaction hash

fromstring

Sender address

tostring

Recipient address; empty for contract creations

valuestring

Native amount in wei

gasUsedstring

Gas consumed

functionNamestring

Decoded function signature when the contract is verified

isErrorstring

0 if executed successfully, 1 if it failed

curl 'https://api.etherscan.io/v2/api?chainid=137&module=account&action=txlist&address=0x0000000000000000000000000000000000000001&apikey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "1000000",
      "timeStamp": "1700000000",
      "hash": "0x0000000000000000000000000000000000000000000000000000000000000abc",
      "from": "0x0000000000000000000000000000000000000001",
      "to": "0x0000000000000000000000000000000000000002",
      "value": "1000000000000000000",
      "gasUsed": "21000",
      "functionName": "",
      "isError": "0"
    }
  ]
}