---
title: "Asset quotes"
method: GET
path: "/timeseries-stream/asset-quotes"
tags: ["Timeseries stream"]
---

# Asset quotes

`GET /timeseries-stream/asset-quotes`

## Request

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

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

## Query parameters

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