---
title: "Pairs"
method: GET
path: "/reference-data/pairs"
tags: ["Reference Data"]
---

# Pairs

`GET /reference-data/pairs`

## Request

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

Returns a list of pairs metadata.

## Query parameters

- `pairs` string[]
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `next_page_token` string
- `format` string
- `pretty` boolean

## Response `200`

List of pairs metadata.

- ReferenceDataPairsResponse
  - `data` ReferenceDataPairInfo[], required
    - `pair` string, required: Pair string representation as `<base>-<quote>`.
    - `full_name` string, required: Human-friendly name.
  - `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`: Pair not found.
- `401`: Requested resource requires authorization.
- `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)
