---
title: "Pair quotes"
method: GET
path: "/timeseries-stream/pair-quotes"
tags: ["Timeseries stream"]
---

# Pair quotes

`GET /timeseries-stream/pair-quotes`

Returns a stream of quotes for specified pairs.<br/> If you are falling behind (slow client) you will get `warning` message first, then `error` message and disconnection will happen.

## Query parameters

- `pairs` string[], required
- `aggregation_method` string
- `backfill` 'latest' | 'none'
- `pretty` boolean

## Response `default`

Aggregated spread quote WebSocket message.

- StreamingAggregatedSpreadQuote — Information about aggregated spread quote.
  - `pair` string, required — Pair string representation as `<base>-<quote>`.
  - `time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
  - `ask_price` string — The limit price of the top ask on the order book. If no asks in the order book, the ask price is skipped.
  - `ask_size` string — The size of the top ask on the order book. If no asks in the order book, the ask size is skipped.
  - `bid_price` string — The limit price of the top bid on the order book. If no bids in the order book, the bid price is skipped.
  - `bid_size` string — The size of the top bid on the order book. If no bids in the order book, the bid size is skipped.
  - `mid_price` string — The average of the bid price and ask price.
  - `spread` string — The difference between the bid price and ask price as a percentage of the mid price.
  - `cm_sequence_id` string, required — The monotonically increasing message number, resets on disconnection.

## Other responses

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