Timeframes of asset metric constituents
Returns timeframes of asset metric constituents.
Results are sorted by tuple (start_time, constituent_name), where constituent depends on a target metric.
E.g., the volume_trusted_spot_usd_1d metric constituents are exchanges,
i.e. the output will be sorted by (start_time, exchange).
Request
- Base URLhttps://api.coinmetrics.io/v4
- AuthAPI key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Target metric name.
Comma separated list of constituents. By default all constituents are returned. Different asset metrics may have different constituents. For example, constituents for volume_trusted_spot_usd_1d are exchanges.
Start of the time interval, inclusive.
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.
Mutually exclusive with at_time.
End of the time interval, inclusive.
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.
Mutually exclusive with at_time.
Token for receiving the results from the next page of a query.<br/> Should not be used directly. To iterate through pages just use next_page_url response field.
Number of items per single page of results.<br/> The value of this parameter is ignored if the endpoint supports the format parameter and its value is set to json_stream.
Where does the first page start, at the start of the interval or at the end.<br/> The value of this parameter is ignored if the endpoint supports the format parameter and its value is set to json_stream.
Format of the response.
Human-readable formatting of JSON responses.
Response
List of timeframes.
Changes
No recorded changes to this operation across all 1 revision of this API.