---
title: "Timeframes of asset metric constituents"
method: GET
path: "/constituent-timeframes/asset-metrics"
tags: ["Constituent Timeframes"]
---

# Timeframes of asset metric constituents

`GET /constituent-timeframes/asset-metrics`

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`).

## Query parameters

- `metric` string, required
- `constituents` string[]
- `start_time` string
- `end_time` string
- `next_page_token` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `format` 'json' | 'csv'
- `pretty` boolean

## Response `200`

List of timeframes.

- ConstituentTimeframesAssetMetricsResponse — Timeframes of asset metric constituents response.
  - `data` object[], required
    - `start_time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
    - `end_time` string — The time in ISO 8601 date-time format. Always with nanoseconds precision.
  - `next_page_token` string — Token of the next page results for a given request.
  - `next_page_url` string — URL of the next page results for a given request.

## Other responses

- `400` — Metric not found.
- `401` — Requested resource requires authorization.
- `403` — Requested resource is not available with supplied credentials.
- `414` — Provided URI is too long. It must not be greater than 10000 symbols.

---

[API](https://skmtc.net/coinmetrics/apis/coin-metrics-api-v4.md) · [All operations](https://skmtc.net/coinmetrics/apis/coin-metrics-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinmetrics/coin-metrics-api-v4/revisions/774268c0a4fe/schema)
