> For the complete documentation index, see [llms.txt](https://gitbook-docs.coinmetrics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/reference-data/exchange-pair-metrics.md).

# Exchange pair metrics

Returns a list of exchange pair metrics metadata.

```json
{"openapi":"3.0.2","info":{"title":"Coin Metrics API v4","version":"4.0.0"},"tags":[{"name":"Reference Data","description":"Metadata information of entities supported by Coin Metrics.\n\n**Endpoints on this page:**\n- `GET /reference-data/asset-metrics` — Asset metrics\n- `GET /reference-data/assets` — Assets\n- `GET /reference-data/exchange-asset-metrics` — Exchange asset metrics\n- `GET /reference-data/exchange-metrics` — Exchange metrics\n- `GET /reference-data/exchange-pair-metrics` — Exchange pair metrics\n- `GET /reference-data/exchanges` — Exchanges\n- `GET /reference-data/indexes` — Indexes\n- `GET /reference-data/institution-metrics` — Institution metrics\n- `GET /reference-data/market-metrics` — Market metrics\n- `GET /reference-data/markets` — Markets\n- `GET /reference-data/pair-metrics` — Pair metrics\n- `GET /reference-data/pairs` — Pairs\n- `GET /reference-data/protocols` — Protocols"}],"servers":[{"url":"https://api.coinmetrics.io/v4"},{"url":"wss://api.coinmetrics.io/v4"},{"url":"https://community-api.coinmetrics.io/v4"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"description":"Coin Metrics API key can be specified as `?api_key=` query parameter.","in":"query","name":"api_key","type":"apiKey"}},"parameters":{"CatalogMetric":{"description":"Comma separated list of metrics. By default all metrics are returned.","in":"query","name":"metrics","schema":{"type":"array","items":{"type":"string"}},"explode":false},"PageSize":{"description":"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`.","in":"query","name":"page_size","schema":{"default":100,"type":"integer","format":"int32","minimum":1,"maximum":10000}},"PagingFromWithStartByDefault":{"description":"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`.","in":"query","name":"paging_from","schema":{"default":"start","enum":["start","end"],"type":"string","format":"PagingFrom"}},"NextPageToken":{"description":"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.","in":"query","name":"next_page_token","schema":{"type":"string"}},"CatalogResponseFormat":{"description":"Format of the response. Supported values are `json`, `json_stream`.","in":"query","name":"format","schema":{"type":"string","default":"json"}},"Pretty":{"description":"Human-readable formatting of JSON responses.","in":"query","name":"pretty","schema":{"type":"boolean","default":false}}},"responses":{"ReferenceDataExchangePairMetrics":{"description":"List of exchange pair metrics metadata.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataExchangePairMetricsResponse"}}}},"MetricNotFound":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Metric not found."},"Unauthorized":{"description":"Requested resource requires authorization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UriTooLong":{"description":"Provided URI is too long. It must not be greater than 10000 symbols."}},"schemas":{"ReferenceDataExchangePairMetricsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ReferenceDataMetricInfo"},"type":"array"},"next_page_token":{"$ref":"#/components/schemas/NextPageToken"},"next_page_url":{"$ref":"#/components/schemas/NextPageUrl"}},"required":["data"],"type":"object"},"ReferenceDataMetricInfo":{"description":"Metric metadata.","properties":{"metric":{"$ref":"#/components/schemas/MetricId"},"full_name":{"$ref":"#/components/schemas/FullName"},"description":{"$ref":"#/components/schemas/Description"},"product":{"$ref":"#/components/schemas/Product"},"category":{"$ref":"#/components/schemas/Category"},"subcategory":{"$ref":"#/components/schemas/Subcategory"},"unit":{"$ref":"#/components/schemas/Unit"},"data_type":{"$ref":"#/components/schemas/MetricDataType"},"type":{"$ref":"#/components/schemas/MetricType"},"reviewable":{"$ref":"#/components/schemas/Reviewable"},"display_name":{"$ref":"#/components/schemas/DisplayName"},"experimental":{"$ref":"#/components/schemas/ExperimentalMetric"},"constituent_snapshots_url":{"$ref":"#/components/schemas/ConstituentSnapshotsUrl"},"constituent_timeframes_url":{"$ref":"#/components/schemas/ConstituentTimeframesUrl"},"docs_url":{"$ref":"#/components/schemas/DocsUrl"}},"required":["metric","full_name","description","product","category","subcategory","unit","data_type","type"],"type":"object"},"MetricId":{"description":"Name of the metric.","type":"string"},"FullName":{"description":"Human-friendly name.","type":"string"},"Description":{"description":"Human-friendly description.","type":"string"},"Product":{"description":"Associated Product of the metric.","type":"string"},"Category":{"description":"Category of the metric.","type":"string"},"Subcategory":{"description":"Subcategory of the metric.","type":"string"},"Unit":{"description":"Unit of the metric.","type":"string"},"MetricDataType":{"description":"Data Type of the metric. Can be bigint or decimal.<br/>\n\"bigint\" means that you should expect an integer number in a range from -9223372036854775808 to 9223372036854775807.<br/>\n\"decimal\" means that a number can have up to 131072 digits before the decimal point and up to 16383 digits after the decimal point.\n","type":"string"},"MetricType":{"description":"Type of the metric.","type":"string"},"Reviewable":{"description":"Reviewable by human flag.","type":"boolean"},"DisplayName":{"description":"More detailed and human friendly name of a metric.","type":"string"},"ExperimentalMetric":{"description":"If set to true, indicates that metrics collection is under active development - there is a chance of temporary discrepancies in the served dataset.","type":"boolean"},"ConstituentSnapshotsUrl":{"description":"The endpoint URL of the constituent snapshots.","type":"string"},"ConstituentTimeframesUrl":{"description":"The endpoint URL of the constituent timeframes.","type":"string"},"DocsUrl":{"description":"The documentation URL.","type":"string"},"NextPageToken":{"description":"Token of the next page results for a given request.","type":"string"},"NextPageUrl":{"description":"URL of the next page results for a given request.","type":"string"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"required":["error"],"type":"object"},"ErrorObject":{"properties":{"type":{"description":"Error type string. Can be used for error identification.","type":"string"},"message":{"description":"Human-friendly error description. Can be amended without prior notification. Do not use for error identification in your code.","type":"string"}},"required":["type","description"],"type":"object"}}},"paths":{"/reference-data/exchange-pair-metrics":{"get":{"summary":"Exchange pair metrics","description":"Returns a list of exchange pair metrics metadata.","operationId":"getReferenceDataExchangePairMetrics","tags":["Reference Data"],"parameters":[{"$ref":"#/components/parameters/CatalogMetric"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/PagingFromWithStartByDefault"},{"$ref":"#/components/parameters/NextPageToken"},{"$ref":"#/components/parameters/CatalogResponseFormat"},{"$ref":"#/components/parameters/Pretty"}],"responses":{"200":{"$ref":"#/components/responses/ReferenceDataExchangePairMetrics"},"400":{"$ref":"#/components/responses/MetricNotFound"},"401":{"$ref":"#/components/responses/Unauthorized"},"414":{"$ref":"#/components/responses/UriTooLong"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/reference-data/exchange-pair-metrics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
