---
title: "Exchange metrics"
method: GET
path: "/timeseries/exchange-metrics"
tags: ["Timeseries"]
---

# Exchange metrics

`GET /timeseries/exchange-metrics`

## Request

- Base URL: `https://api.coinmetrics.io/v4`
- URL: `https://api.coinmetrics.io/v4/timeseries/exchange-metrics`
- Auth: API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/docs/timeseries/exchange-metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns metrics for specified exchanges.<br/> Results are ordered by tuple `(exchange, time)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/>

## Query parameters

- `exchanges` string[], required
- `metrics` string[], required
- `frequency` string
- `start_time` string
- `end_time` string
- `start_inclusive` boolean
- `end_inclusive` boolean
- `timezone` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `sort` 'exchange' | 'time'
- `limit_per_exchange` integer
- `pretty` boolean
- `format` 'json' | 'csv'
- `next_page_token` string

## Response `200`

Time series of exchange metrics.

- ExchangeMetricsResponse: Time series of Exchange metrics.
  - `data` object[], required
    - `exchange` string, required: Name of the exchange.
    - `time` string, required: 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`: Exchange 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.dev/coinmetrics/apis/coin-metrics-api-v4.md) - [All operations](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/revisions/774268c0a4fe?raw)
