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 Timeseries Volume By Chain Mainnet Only

GEThttps://deep-index.moralis.io/api/v2.2/volume/timeseries

Returns historical volume data for chains in time intervals

QUERY PARAMS
chainstring
The chain to query
timeframestringrequired
The time interval for data points
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: 'GET',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://deep-index.moralis.io/api/v2.2/volume/timeseries?chain=solana&timeframe=1d', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
{
"timeseries": [
{
"timestamp": "2025-03-04T10:00:00.000Z",
"volume": 50377606.51392583
}
]
}