curl --compressed "https://api.coinmetrics.io/v4/timeseries/index-levels?start_time=2020-01-01&end_time=2020-01-02&paging_from=start&indexes=CMBIBTC&frequency=1d-ny-close&pretty=true&api_key=<your_key>"{
"data": [
{
"time": "2017-05-22T00:00:00.000000000Z",
"index": "CMBIWORK",
"level": "389473805.713838875"
},
{
"time": "2017-05-23T00:00:00.000000000Z",
"index": "CMBIWORK",
"level": "362701474.775819778"
}
],
"next_page_token": "0.MjAxNy0wNS0yMlQwMDowMDowMFo",
"next_page_url": "https://api.coinmetrics.io/v4/timeseries/index-levels?indexes=CMBIWORK&api_key=<your_key>&pretty=true&page_size=2&next_page_token=0.MjAxNy0wNS0yMlQwMDowMDowMFo"
}Index levels
Returns levels for specified indexes.
Results are ordered by tuple (index, time).
To fetch the next page of results use next_page_url JSON response field.
curl --compressed "https://api.coinmetrics.io/v4/timeseries/index-levels?start_time=2020-01-01&end_time=2020-01-02&paging_from=start&indexes=CMBIBTC&frequency=1d-ny-close&pretty=true&api_key=<your_key>"{
"data": [
{
"time": "2017-05-22T00:00:00.000000000Z",
"index": "CMBIWORK",
"level": "389473805.713838875"
},
{
"time": "2017-05-23T00:00:00.000000000Z",
"index": "CMBIWORK",
"level": "362701474.775819778"
}
],
"next_page_token": "0.MjAxNy0wNS0yMlQwMDowMDowMFo",
"next_page_url": "https://api.coinmetrics.io/v4/timeseries/index-levels?indexes=CMBIWORK&api_key=<your_key>&pretty=true&page_size=2&next_page_token=0.MjAxNy0wNS0yMlQwMDowMDowMFo"
}Authorizations
Query Parameters
Comma separated list of indexes, or patterns like CMBI*, or *BTC.
Use the /catalog-all-v2/index-levels endpoint for the full list of supported indexes.
"CMBIBE"
Frequency of the index. Supported values are 200ms, 1s, 15s, 1h, 1d-ny-close, 1d-sg-close, 1d, 1d-HH:00.
Use the /catalog-all-v2/index-levels endpoint for the full list of supported frequencies per index.
Downsampling granularity for the data of a given native frequency. Granularity applied to external indexes only. Ignored for the indexes calculated by Coin Metrics. Possible values are raw, 1m, 1h, 1d-ny-close, 1d-ny-close-last-second, 1d-ldn-close, 1d-ldn-close-last-second, 1d-sg-close, 1d-sg-close-last-second, or custom offsets (e.g., 1d-16:00). For external indexes with a granularity coarser than raw, each returned record is the last observation within a granularity interval, and time is the timestamp of that observation rather than the interval boundary. Intervals with no observations are omitted from the response. Because an interval is matched against the requested range by its boundary, the observation selected for the interval containing start_time can have a time earlier than start_time, by less than one granularity interval.
Start of the time interval.
This field refers to the time field in the response.
Multiple formats of ISO 8601 are supported: 2006-01-20T00:00:00Z, 2006-01-20T00:00:00.000Z, 2006-01-20T00:00:00.123456Z, 2006-01-20T00:00:00.123456789Z, 2006-01-20, 20060120.
Inclusive by default.
UTC timezone by default. Z suffix is optional and timezone parameter has a priority over it.
If start_time is omitted, response will include time series from the earliest time available.
End of the time interval.
This field refers to the time field in the response.
Multiple formats of ISO 8601 are supported: 2006-01-20T00:00:00Z, 2006-01-20T00:00:00.000Z, 2006-01-20T00:00:00.123456Z, 2006-01-20T00:00:00.123456789Z, 2006-01-20, 20060120.
Inclusive by default.
UTC timezone by default. Z suffix is optional and timezone parameter has a priority over it.
If end_time is omitted, response will include time series up to the latest time available.
Timezone name for start_time and end_time timestamps.
This parameter does not modify the output times, which are always UTC.
Format is defined by TZ database.
"America/New_York"

