Accounts
Last updated
Last updated
Endpoints with are under the API Pro subscription. To upgrade your API plan, browse through the PolygonScan APIs page.
Returns the POL balance of a given address.
https://api.polygonscan.com/api
?module=account
&action=balance
&address=0x5A534988535cf27a70e74dFfe299D06486f185B7
&apikey=YourApiKeyToken
Try this endpoint in your browser
Query Parameters
address
the string
representing the address to check for balance
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
Returns the balance of the accounts from a list of addresses.
https://api.polygonscan.com/api
?module=account
&action=balancemulti
&address=0x5A534988535cf27a70e74dFfe299D06486f185B7,0x54bA15efe1b6D886bA4Cd5C5837240675BD0D43a,0x39842a0Fe638cc956b76A49E918c30d818708BA0
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
address
the strings
representing the addresses to check for balance, separated by ,
commas
tag
the string
pre-defined block parameter, either earliest
, pending
or latest
Returns the historical POL balance of an address at a certain block height.
https://api.polygonscan.com/api
?module=account
&action=balancehistory
&address=0x23eA5Ec7Ea2d4282012313c9899Cdc07bd45243d
&blockno=18798641
&apikey=YourApiKeyToken
Query Parameters
address
the string
representing the address to check for balance
blockno
the integer
block number to check balance for eg. 2000000
Returns the list of transactions performed by an address, with optional pagination.
https://api.polygonscan.com/api
?module=account
&action=txlist
&address=0xb91dd8225Db88dE4E3CD7B7eC538677A2c1Be8Cb
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
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
Returns the list of internal transactions performed by an address, with optional pagination.
https://api.polygonscan.com/api
?module=account
&action=txlistinternal
&address=0x0f4240D9bD4D3CFCE7aDE7F26415780824958Bc3
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
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
Returns the list of internal transactions performed within a transaction.
https://api.polygonscan.com/api
?module=account
&action=txlistinternal
&txhash=0x23a07d4f622ba88c8338763d7811437953a0e8fab123b4346486936646f8578d
&apikey=YourApiKeyToken
Query Parameters
txhash
the string
representing the transaction hash to check for internal transactions
Returns the list of internal transactions performed within a block range, with optional pagination.
https://api.polygonscan.com/api
?module=account
&action=txlistinternal
&startblock=19568000
&endblock=19569000
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
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
Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.
https://api.polygonscan.com/api
?module=account
&action=tokentx
&contractaddress=0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
&address=0x6813ad11cca98e15ff181a257a3c2855d1eee69e
&startblock=0
&endblock=99999999
&page=1
&offset=5
&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.
Query Parameters
address
the string
representing the address to check for balance
contractaddress
the string
representing the token contract address to check for balance
startblock
the integer
block number to start searching for transactionsthe 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
Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.
https://api.polygonscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0x7227e371540cf7b8e512544ba6871472031f3335
&address=0x30b32e79ed9c4012a71f4235f77dcf90a6f6800f
&startblock=0
&endblock=99999999
&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.
Query Parameters
address
the string
representing the address to check for balance
contractaddress
the string
representing the token contract address 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
Returns the list of ERC-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract.
https://api.polygonscan.com/api
?module=account
&action=token1155tx
&contractaddress=0x22d5f9b75c524fec1d6619787e582644cd4d7422
&address=0x29a845a182c2fee158de363d5c17c545dcaf8c13
&page=1
&offset=100
&startblock=0
&endblock=99999999
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-1155 transfers from an address, specify the address
parameter
ERC-1155 transfers from a contract address, specify the contract address
parameter
ERC-1155 transfers from an address filtered by a token contract, specify both address
and contract address
parameters.
Query Parameters
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
startblock
the integer
block number to start searching for transactions
endblock
the integer
block number to stop searching for transactions
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns a list of Plasma Deposits received by an address.
https://api.polygonscan.com/api
?module=account
&action=txnbridge
&address=0x4880bd4695a8e59dc527d124085749744b6c988e
&apikey=YourApiKeyToken
Query Parameters
address
the string
representing the address to check for deposits
Returns the list of blocks validated by an address.
https://api.polygonscan.com/api
?module=account
&action=getminedblocks
&address=0xb79fad4ca981472442f53d16365fdf0305ffd8e9
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Query Parameters
address
the string
representing the address to check for balance
blocktype
the string
pre-defined block type, blocks
for canonical blocks
page
the integer
page number, if pagination is enabled
offset
the number of transactions displayed per page
Try this endpoint in your browser
Tip: The result
is returned in wei.
Note : This endpoint is throttled to 2 calls/second regardless of API Pro tier.
Try this endpoint in your browser
Tip: The result
is returned in wei.
Note : This API endpoint returns a maximum of 10000 records only.
Try this endpoint in your browser
Tip: Specify a smaller startblock
and endblock
range for faster search results.
Note : This API endpoint returns a maximum of 10000 records only.
Try this endpoint in your browser
Tip: Specify a smaller startblock
and endblock
range for faster search results
Note : This API endpoint returns a maximum of 10000 records only.
Try this endpoint in your browser
Note : This API endpoint returns a maximum of 10000 records only.
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser
Note : The timeStamp
is represented in Unix timestamp.