2024-06-25
This update adds the Get Account Stats API, and a listings field has been added to the existing Get Token Prices by Contracts API. Please check the details below.
1. Get Account Stats
This API allows you to query cumulative data about transactions and asset activities related to a specific Account.
- Transaction Statistics: Provides the number of transactions associated with a specific Account. Transactions are provided separately as external and internal types.
- Asset Transfer Statistics: Provides the number of token and NFT transfer events associated with a specific Account.
- Held Asset Statistics: Provides the types and counts of tokens and NFTs held by a specific Account.
Response Example:
{
"transactionCounts": {
"external": 43,
"internal": 43
},
"transferCounts": {
"tokens": 168,
"nfts": 1
},
"assets": {
"tokens": 0,
"nfts": 1,
"nftContracts": 1
}
}
2. Get Token Prices by Contracts
The listings field has been added through this update. Use this to check the list of exchanges where the queried token is listed.
Response Example:
[
{
"currency": "USD",
"price": "0.9995642389649487",
"volumeFor24h": "174339728110.7602",
"volumeChangeFor24h": "-49.1535",
"percentChangeFor1h": "-0.00610014",
"percentChangeFor24h": "0.00713253",
"percentChangeFor7d": "0.01203043",
"marketCap": "112892475974.28152",
"updatedAt": "2024-06-23T00:03:00.000Z",
"listings": [
"Binance",
"Bybit",
"OKX",
"Bitget",
"TruBit Pro Exchange",
"Gate.io",
// ...snip
],
"contract": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"deployedTransactionHash": "0x2f1c5c2b44f771e942a8506148e256f94f1a464babc938ae0690c6e34cd79190",
"deployedAt": "2017-11-28T00:41:21.000Z",
"deployerAddress": "0x36928500Bc1dCd7af6a2B4008875CC336b927D57",
"logoUrl": "https://cdn.luniverse.io/img/crypto-currencies/ethereum/mainnet/0xdac17f958d2ee523a2206206994597c13d831ec7/64x64.png",
"type": "ERC20",
"name": "Tether USD",
"symbol": "USDT",
"totalSupply": "51995716056975351",
"decimals": 6
}
}
]
If you want more detailed information, click the link below to check the API specification documentation!