Accounts

Get POL Balance for a Single Address

Returns the POL balance of a given address.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=balance
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

tag

the string pre-defined block parameter, either earliest, pending or latest

Get POL Balance for Multiple Addresses in a Single Call

Returns the balance of the accounts from a list of addresses.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817,0x21C7360b49D0Fc1Af267203E659f71DF2234cffb,0x16F6409ED185a03e3784738AC9c87456f3E13D41
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the strings representing the addresses to check for balance, separated by , commas up to 20 addresses per call

tag

the string pre-defined block parameter, either earliest, pending or latest

Get a list of 'Normal' Transactions By Address

Returns the list of transactions performed by an address, with optional pagination.

​ ​ 📝 Note : This API endpoint returns a maximum of 10000 records only.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=txlist
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817
   &startblock=0
   &endblock=latest
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

💡 Tip: Specify a smaller startblock and endblock range for faster search results.

Get a list of 'Internal' Transactions by Address

Returns the list of internal transactions performed by an address, with optional pagination.

📝 Note : This API endpoint returns a maximum of 10000 records only.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0x55358DA2E6cA71DB2f2439b8E2899B85D78B34Ad
   &startblock=0
   &endblock=latest
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

💡 Tip: Specify a smaller startblock and endblock range for faster search results

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

📝 Note : This API endpoint returns a maximum of 10000 records only.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0xba6984ebd71532f1afcd137de3ed639adae63e246845fc42ad03d8b516465b05
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

txhash

the string representing the transaction hash to check for internal transactions

Get "Internal Transactions" by Block Range

Returns the list of internal transactions performed within a block range, with optional pagination.

📝 Note : This API endpoint returns a maximum of 10000 records only.

Try this endpoint in your browser 🔗

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=5916849
   &endblock=5916850
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

ParameterDescription

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Get a list of 'ERC-20 Token Transfer Events' by Address

Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582
   &address=0xfDc9cD3D0a9270d0EdFEc7954CAb52111A1001cc
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-20 transfers from an address, specify the address parameter

  • ERC-20 transfers from a contract address, specify the contract address parameter

  • ERC-20 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Get a list of 'ERC-721 Token Transfer Events' by Address

Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0xd6f9e7defa52ac67cdfd6a9a352ce6e0a9684b0a
   &address=0xbb282ced765a2a2573747f04101cabd2adab8f45
   &page=1
   &offset=100
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-721 transfers from an address, specify the address parameter

  • ERC-721 transfers from a contract address, specify the contract address parameter

  • ERC-721 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Get list of Blocks Validated by Address

Returns the list of blocks validated by an address.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=getminedblocks
   &address=0x4AD84f7014B7b44F723F284a85B1662337971439
   &blocktype=blocks
   &page=1
   &offset=2
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

blocktype

the string pre-defined block type, blocksfor canonical blocks

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

Last updated