---
title: "Historical data"
method: GET
path: "/v1/ohlcv/{symbol_id}/history"
tags: ["OHLCV"]
---

# Historical data

`GET /v1/ohlcv/{symbol_id}/history`

Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific symbol eg `BITSTAMP_SPOT_BTC_USD`, if you need to query timeseries by asset pairs eg. `BTC/USD`, then please reffer to the Exchange Rates Timeseries data
            
:::info
The OHLCV Historical endpoint data can be delayed a few seconds. Use OHLCV real-time data stream to get data without delay.
:::

## Path parameters

- `symbol_id` string, required

## Query parameters

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

## Response `200`

successful operation

- V1TimeseriesItem[]
  - `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.

---

[API](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api.md) · [All operations](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinapi/coinapi-market-data-rest-api/versions/805496271c56/schema)
