Charts
Get historical data of collection volume (total sales worth) for charting purposes
Given a time period and the desired number of points, returns points which represent total worth of collection sales in the interval after that point. The last point always has no value.
get/v2.0/data/collections/{id}/charts/volume
Path parameters
idstring required
Collection id
Example:ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8
Collection ID
Query parameters
period'MIN5' | 'MIN30' | 'H1' | 'H6' | 'D1' | 'D7' | 'D30' | 'D180' | 'D365' | 'ALL' required
Period:
- MIN5 - Last 5 minutes
- MIN30 - Last 30 minutes
- H1 - Last 1 hour
- H6 - Last 6 hours
- D1 - Last 1 day
- D7 - Last 7 days
- D30 - Last 30 days
- D180 - Last 180 days (roughly 6 months)
- D365 - Last 365 days (roughly 1 year)
- ALL - For all time
Time period for aggregation
sizeinteger required
Number of data points to return
endTimestring date-time
Optionally, the date-time of the last point of the graph. Defaults to current time.
Response
OK