---
title: "Historical data by exchange"
method: GET
path: "/v1/ohlcv/exchanges/{exchange_id}/history"
tags: ["OHLCV"]
---

# Historical data by exchange

`GET /v1/ohlcv/exchanges/{exchange_id}/history`

Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific exchange eg `BITSTAMP`
            
:::info
The OHLCV Historical endpoint data can be delayed a few seconds. Use OHLCV real-time data stream to get data without delay.
The difference between `time_end` and `time_start` cannot be higher than 1 day.
The `period_id` cannot be higher than `1DAY`.
:::

## Path parameters

- `exchange_id` string, required

## Query parameters

- `period_id` string, required
- `time_start` string, required
- `time_end` string, required

## Response `200`

successful operation

- OhlcvExchangeTimeseriesItem[]
  - `time_period_start` string, date-time — Gets or sets the start time of the time period.
  - `time_period_end` string, date-time — Gets or sets the end time of the time period.
  - `time_open` string, date-time, nullable — Gets or sets the time when the price opened.
  - `time_close` string, date-time, nullable — Gets or sets the time when the price closed.
  - `price_open` number, double, nullable — Gets or sets the opening price.
  - `price_high` number, double, nullable — Gets or sets the highest price during the time period.
  - `price_low` number, double, nullable — Gets or sets the lowest price during the time period.
  - `price_close` number, double, nullable — Gets or sets the closing price.
  - `volume_traded` number, double — Gets or sets the total volume traded during the time period.
  - `trades_count` integer — Gets or sets the number of trades executed during the time period.
  - `symbol_id_exchange` string, nullable
  - `symbol_id_coinapi` string, nullable

---

[API](https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api.md) · [All operations](https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coinapi/coinapi-market-data-rest-api/revisions/6dc63abe7f2d/schema)
