---
title: "Get Price OHLC"
method: GET
path: "/api/price/ohlc/v1"
---

# Get Price OHLC

`GET /api/price/ohlc/v1`

## Request

- Base URL: `https://api.taostats.io`
- URL: `https://api.taostats.io/api/price/ohlc/v1`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/taostats/apis/taostats-1/docs/api/price/ohlc/v1/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `asset` string, required
- `period` '1h' | '1d' | '1m', required
- `timestamp_start` integer
- `timestamp_end` integer
- `page` integer
- `limit` integer

## Response `200`

200

- object
  - `pagination` object
    - `current_page` integer
    - `per_page` integer
    - `total_items` integer
    - `total_pages` integer
    - `next_page` integer
    - `prev_page` unknown
  - `data` object[]
    - `period` string
    - `timestamp` string
    - `asset` string
    - `volume_24h` string
    - `open` string
    - `high` string
    - `low` string
    - `close` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/taostats/apis/taostats-1.md) - [All operations](https://skmtc.dev/taostats/apis/taostats-1/llms.txt) - [OpenAPI document](https://skmtc.dev/taostats/apis/taostats-1/revisions/eb3af702da52?raw)
