v1

latestOpenAPI 3.0.2Apache 2.02026-07-17189642856.1 KB
Constituent Snapshots

Snapshots of asset metric constituents

Returns snapshots of asset metric constituents.
Results are sorted by tuple (time, constituent_name), where constituent_name 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 (time, exchange).

get/constituent-snapshots/asset-metrics

Query parameters

metricstring required

Target metric name.

at_timestring

Returns constituents at a specified date.
Value now can be specified to get the current constituents.
Mutually exclusive with start_time and/or end_time.

start_timestring

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_timestring

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.

next_page_tokenstring

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.

page_sizeinteger

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.

paging_from'start' | 'end' PagingFrom

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'json' | 'csv'

Format of the response.

prettyboolean

Human-readable formatting of JSON responses.

Response

Snapshots of asset metric constituents.

next_page_tokenstring

Token of the next page results for a given request.

next_page_urlstring

URL of the next page results for a given request.