Endpoints with are under the API Pro subscription. To upgrade your API plan, browse through the SnowScan APIs page.
Get AVAX Balance for a Single Address
Returns the AVAX balance of a given address.
https://api.snowscan.xyz/api
?module=account
&action=balance
&address=0xe03a7f448f72da64810f9e44412f222cfb5004f3
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample response
{
"status":"1",
"message":"OK",
"result":"1183936519436142842"
}
Get AVAX Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api.snowscan.xyz/api
?module=account
&action=balancemulti
&address=0xa0ae667479e1a7faaa8535ba9ab0c191c2a243ab,0xc64211a1a05d0354dfb34845641389a97e1aefe5,0x893e0df5c459f1f84d0bbdaac7e22cf7c87de92c
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"account":"0xa0ae667479e1a7faaa8535ba9ab0c191c2a243ab",
"balance":"3302404306545745727"
},
{
"account":"0xc64211a1a05d0354dfb34845641389a97e1aefe5",
"balance":"1344736394783516065"
},
{
"account":"0x893e0df5c459f1f84d0bbdaac7e22cf7c87de92c",
"balance":"1185193959868088801"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
https://api.snowscan.xyz/api
?module=account
&action=txlist
&address=0x0559f8abdbbf92df77ad078838c28d8323d59cd6
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"11271821",
"timeStamp":"1645577921",
"hash":"0x0c9a16d59d8871509b0add74bbd9ac058c9bd8b2fcb237e8ea810c1bafd9c91f",
"nonce":"105742",
"blockHash":"0x7f39bcb3e827cd2bf875bc993f127446e56df97dcc634072d34cc0bb08b908e5",
"transactionIndex":"15",
"from":"0x53848709d91a33e5620abd15dd8e036ba162d9e0",
"to":"0x0559f8abdbbf92df77ad078838c28d8323d59cd6",
"value":"1000000000000000000",
"gas":"21000",
"gasPrice":"53291326367",
"isError":"0",
"txreceipt_status":"1",
"input":"0x",
"contractAddress":"",
"cumulativeGasUsed":"1994258",
"gasUsed":"21000",
"confirmations":"1751922"
},
{
"blockNumber":"11272165",
"timeStamp":"1645578641",
"hash":"0x337bed3424852e8985b4ee629f5f66399006c8cc29490f01addcc2456d21ba2b",
"nonce":"0",
"blockHash":"0xd51a2429b0c710aed6f89eb9b477f975858e9adcc2c86507f5f9a448d4f07a99",
"transactionIndex":"20",
"from":"0x0559f8abdbbf92df77ad078838c28d8323d59cd6",
"to":"0x1b7966315ef0259de890f38f1bdb95acc03cacdd",
"value":"0",
"gas":"81222",
"gasPrice":"52708630622",
"isError":"0",
"txreceipt_status":"1",
"input":"0xa22cb46500000000000000000000000082a85407bd612f52577909f4a58bfc6873f14da80000000000000000000000000000000000000000000000000000000000000001",
"contractAddress":"",
"cumulativeGasUsed":"2430420",
"gasUsed":"53795",
"confirmations":"1751578"
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
https://api.snowscan.xyz/api
?module=account
&action=txlistinternal
&address=0x5Ca52A9A15B5161800C099D968878914aBE65525
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"8662403",
"timeStamp":"1640365232",
"hash":"0x36110aab4e5ea14d46c04e3e9d6bab63ac346ec1e02c07d0a4f1c805ab88efa7",
"from":"0x60ae616a2155ee3d9a68541ba4544862310933d4",
"to":"0x5ca52a9a15b5161800c099d968878914abe65525",
"value":"167797120082204864",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"32774",
"gasUsed":"0",
"traceId":"0_1",
"isError":"0",
"errCode":""
},
{
"blockNumber":"8703652",
"timeStamp":"1640448872",
"hash":"0xc96de28906abccfedd6d362ed902d928aa8b008a0d9f227d68c09409d2e97310",
"from":"0x60ae616a2155ee3d9a68541ba4544862310933d4",
"to":"0x5ca52a9a15b5161800c099d968878914abe65525",
"value":"3721026917622993",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"29407",
"gasUsed":"0",
"traceId":"0_1",
"isError":"0",
"errCode":""
}
]
}
Get 'Internal Transactions' by Transaction Hash
Returns the list of internal transactions performed within a transaction.
https://api.snowscan.xyz/api
?module=account
&action=txlistinternal
&txhash=0x778077eee09d09420dfe6fb1001afca756d5a35e14df35a255aaa3dea6d0e924
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"13028661",
"timeStamp":"1649171679",
"from":"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
"to":"0x60ae616a2155ee3d9a68541ba4544862310933d4",
"value":"13340000000000000000",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"2300",
"gasUsed":"95",
"isError":"0",
"errCode":""
},
{
"blockNumber":"13028661",
"timeStamp":"1649171679",
"from":"0x60ae616a2155ee3d9a68541ba4544862310933d4",
"to":"0xf2d3e5230f90d7045d4a361af7f49a99b18dcf9b",
"value":"13340000000000000000",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"31279",
"gasUsed":"0",
"isError":"0",
"errCode":""
}
]
}
The isError
field returns 0
for successful transactions and 1
for rejected/cancelled transactions.
Get "Internal Transactions" by Block Range
Returns the list of internal transactions performed within a block range, with optional pagination.
https://api.snowscan.xyz/api
?module=account
&action=txlistinternal
&startblock=13028500
&endblock=13028600
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"13028500",
"timeStamp":"1649171343",
"hash":"0x7f7431b67355c8e30195cf0a1ecdd0b42aeb7fb50c9ae7a94f7e00eb6b2238cd",
"from":"0x60ae616a2155ee3d9a68541ba4544862310933d4",
"to":"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
"value":"2200000000000000000",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"116314",
"gasUsed":"23878",
"traceId":"0_1",
"isError":"0",
"errCode":""
},
{
"blockNumber":"13028501",
"timeStamp":"1649171346",
"hash":"0x739e934e8f5846688a5d8cc5ddf29808aa3a3d8df9690fb0ca537efb01b4a39e",
"from":"0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
"to":"0x195256074192170d1530527abc9943759c7167d8",
"value":"17000000000000000",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"2300",
"gasUsed":"195",
"traceId":"0_1_1_1_1",
"isError":"0",
"errCode":""
}
]
}
The isError
field returns 0
for successful transactions and 1
for rejected/cancelled transactions.
Get a list of 'ERC20 - Token Transfer Events' by Address
Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.
https://api.snowscan.xyz/api
?module=account
&action=tokentx
&contractaddress=0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd
&address=0xad0c052a9ea77913cb79a0cc4a0fd7842960ecba
&page=1
&offset=100
&startblock=0
&endblock=99999999
&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.
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"3868825",
"timeStamp":"1630821451",
"hash":"0x1418637f3e0120fa85b22cbd1ac44b6819713db64111841627c34e8f9495ab89",
"nonce":"0",
"blockHash":"0xad6c166117cd99df12f241af6bd85b6ef7697e51631032dcac355d328099c7fb",
"from":"0x1643de2efb8e35374d796297a9f95f64c082a8ce",
"contractAddress":"0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd",
"to":"0xad0c052a9ea77913cb79a0cc4a0fd7842960ecba",
"value":"19533122741743778728",
"tokenName":"JoeToken",
"tokenSymbol":"JOE",
"tokenDecimal":"18",
"transactionIndex":"1",
"gas":"248805",
"gasPrice":"90120047439",
"gasUsed":"202896",
"cumulativeGasUsed":"223896",
"input":"deprecated",
"confirmations":"9159958"
},
{
"blockNumber":"3868862",
"timeStamp":"1630821508",
"hash":"0x556d9b1dd3c2a6d19d3edcb7657d8ebd8cddf6c8a2f1ccee636630b8529237e1",
"nonce":"1",
"blockHash":"0x864ddaff34f2861ac61df8521779fde20391465c6e62cd6b5bb4274c8efed4fb",
"from":"0xad0c052a9ea77913cb79a0cc4a0fd7842960ecba",
"contractAddress":"0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd",
"to":"0x76bc9067aa5db06b3fc6d75f189e24b50968a0db",
"value":"19500000000000000000",
"tokenName":"JoeToken",
"tokenSymbol":"JOE",
"tokenDecimal":"18",
"transactionIndex":"0",
"gas":"51757",
"gasPrice":"85000000000",
"gasUsed":"51757",
"cumulativeGasUsed":"51757",
"input":"deprecated",
"confirmations":"9159921"
}
]
}
Get a list of 'ERC721 - 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.snowscan.xyz/api
?module=account
&action=tokennfttx
&contractaddress=0x1b7966315eF0259de890F38f1bDB95Acc03caCdD
&address=0xa6d59120219fd6e763b5bc872cc9f76c1ac89878
&page=1
&offset=100
&startblock=0
&endblock=99999999
&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.
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"11250431",
"timeStamp":"1645533606",
"hash":"0xb1a6a1bafb06c2e4ac9c281ecf95239dfa4c40e8793934e54937f932a888ecf3",
"nonce":"1",
"blockHash":"0x99c646dca2b2c0fe5ee896359c6e98b21c1e0f0f65c23cbf5a284202dfe8a8f9",
"from":"0x7e8deef5bb861cf158d8bdaaa1c31f7b49922f49",
"contractAddress":"0x1b7966315ef0259de890f38f1bdb95acc03cacdd",
"to":"0xa6d59120219fd6e763b5bc872cc9f76c1ac89878",
"tokenID":"34045",
"tokenName":"Crabada",
"tokenSymbol":"Crabada",
"tokenDecimal":"0",
"transactionIndex":"3",
"gas":"239037",
"gasPrice":"27500000000",
"gasUsed":"155164",
"cumulativeGasUsed":"511214",
"input":"deprecated",
"confirmations":"1778394"
},
{
"blockNumber":"11251300",
"timeStamp":"1645535346",
"hash":"0x77fc76fb66cd10e203e6c17c250fd1982453e5529e5186ac24d3dbc15050dd91",
"nonce":"3",
"blockHash":"0x5bbcc73e296f6049a8bcb6707f1d766c68af7ecbbda601fc306aac16aa3f1b42",
"from":"0xa6d59120219fd6e763b5bc872cc9f76c1ac89878",
"contractAddress":"0x1b7966315ef0259de890f38f1bdb95acc03cacdd",
"to":"0x82a85407bd612f52577909f4a58bfc6873f14da8",
"tokenID":"34045",
"tokenName":"Crabada",
"tokenSymbol":"Crabada",
"tokenDecimal":"0",
"transactionIndex":"25",
"gas":"155245",
"gasPrice":"28598743394",
"gasUsed":"100173",
"cumulativeGasUsed":"4294426",
"input":"deprecated",
"confirmations":"1777525"
}
]
}
Get a list of 'ERC1155 - Token Transfer Events' by Address
Returns the list of ERC-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract.
https://api.snowscan.xyz/api
?module=account
&action=token1155tx
&contractaddress=0x42c701d4e359178412d014506cfac43a67e57d6d
&address=0x9d870f63673d739871071cd5b4275bb791512325
&page=1
&offset=2
&startblock=0
&endblock=latest
&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.
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "34801751",
"timeStamp": "1693920859",
"hash": "0xa049c1983d2c4da8a4c534da3dc066e6fdfff37e56fa5693b1c9bbc291564c4e",
"nonce": "0",
"blockHash": "0xdcae4ed703f425cbd4066a47af5dc9405dbaf8252f1db6c88ffa419ba16ccccf",
"transactionIndex": "7",
"gas": "2040206",
"gasPrice": "25000000000",
"gasUsed": "1960616",
"cumulativeGasUsed": "3254918",
"input": "deprecated",
"contractAddress": "0x42c701d4e359178412d014506cfac43a67e57d6d",
"from": "0x0000000000000000000000000000000000000000",
"to": "0x9d870f63673d739871071cd5b4275bb791512325",
"tokenID": "8388783",
"tokenValue": "12464528767793594614785257937283674183320265322366840117",
"tokenName": "Liquidity Book Token",
"tokenSymbol": "LBT",
"confirmations": "7781116"
},
{
"blockNumber": "34801751",
"timeStamp": "1693920859",
"hash": "0xa049c1983d2c4da8a4c534da3dc066e6fdfff37e56fa5693b1c9bbc291564c4e",
"nonce": "0",
"blockHash": "0xdcae4ed703f425cbd4066a47af5dc9405dbaf8252f1db6c88ffa419ba16ccccf",
"transactionIndex": "7",
"gas": "2040206",
"gasPrice": "25000000000",
"gasUsed": "1960616",
"cumulativeGasUsed": "3254918",
"input": "deprecated",
"contractAddress": "0x42c701d4e359178412d014506cfac43a67e57d6d",
"from": "0x0000000000000000000000000000000000000000",
"to": "0x9d870f63673d739871071cd5b4275bb791512325",
"tokenID": "8388784",
"tokenValue": "12550736948792729217430727609078539105287544595791658192",
"tokenName": "Liquidity Book Token",
"tokenSymbol": "LBT",
"confirmations": "7781116"
}
]
}
Get list of Blocks Mined by Address
Returns the list of blocks mined by an address.
https://api.snowscan.xyz/api
?module=account
&action=getminedblocks
&address=0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"3462296",
"timeStamp":"1491118514",
"blockReward":"5194770940000000000"
},
{
"blockNumber":"2691400",
"timeStamp":"1480072029",
"blockReward":"5086562212310617100"
},
{
"blockNumber":"2687700",
"timeStamp":"1480018852",
"blockReward":"5003251945421042780"
}
]
}
Returns the balance of an address at a certain block height.
https://api.snowscan.xyz/api
?module=account
&action=balancehistory
&address=0x9Ae47E4a02f1F9a6dc8950522aC20eA62009804E
&blockno=9319008
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": "9154289378804537987"
}