---
title: "Market quotes"
method: GET
path: "/timeseries/market-quotes"
tags: ["Timeseries"]
---

# Market quotes

`GET /timeseries/market-quotes`

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

## Query parameters

- `markets` string[], required
- `granularity` 'raw' | '1m' | '1h' | '1d'
- `start_time` string
- `end_time` string
- `start_inclusive` boolean
- `end_inclusive` boolean
- `timezone` string
- `format` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `limit_per_market` integer
- `pretty` boolean
- `next_page_token` string
- `include_one_sided` boolean

## Response `200`

Time series of market quotes.

- MarketQuotesResponse
  - `data` MarketQuote[], required
    - `market` string, required — Unique name of the market.
    - `time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
    - `coin_metrics_id` string, required — ID of an order book or quote. It can be generated by Coin Metrics or provided by an exchange. If it is generated by Coin Metrics it is unique. If it is generated by exchange we can't guarantee its uniqueness.
    - `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.
  - `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` — Market 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.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)
