Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get Multiple Token Analytics Mainnet Only Premium Endpoint

💡Premium Endpoint

To use this API, you will need an API key associated with a Moralis account on the Business plan or higher.

POSThttps://deep-index.moralis.io/api/v2.2/tokens/analytics

Returns analytics data for multiple token addresses across different chains

BODY PARAM
tokensarrayrequired
The tokens to fetch analytics for
tokens[0]
chainstring
The chain identifier (chain name or hex chain ID)
tokenAddressstringrequired
The token contract address
tokens[1]
chainstring
The chain identifier (chain name or hex chain ID)
tokenAddressstringrequired
The token contract address
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'POST',
headers: {
accept: 'application/json',
'content-type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
body: JSON.stringify({
"tokens": [
{
"chain": "0x1",
"tokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7"
},
{
"chain": "solana",
"tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
]
})
};

fetch('https://deep-index.moralis.io/api/v2.2/tokens/analytics', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
{
"tokens": [
{
"tokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"totalBuyVolume": {
"5m": 620018.368745647,
"1h": 6171117.52967764,
"6h": 36449765.17913502,
"24h": 271657291.0959589
},
"totalSellVolume": {
"5m": 376750.0725032808,
"1h": 6363315.515975114,
"6h": 45127944.04393408,
"24h": 278022340.90688425
},
"totalBuyers": {
"5m": 43,
"1h": 552,
"6h": 3535,
"24h": 20336
},
"totalSellers": {
"5m": 48,
"1h": 582,
"6h": 3675,
"24h": 20166
},
"totalBuys": {
"5m": 51,
"1h": 641,
"6h": 4114,
"24h": 24506
},
"totalSells": {
"5m": 55,
"1h": 676,
"6h": 4242,
"24h": 24198
},
"totalLiquidityUsd": "300289168.54999965",
"totalFullyDilutedValuation": "75897332933.73126"
}
]
}