---
title: "Get Ohlcv"
method: GET
path: "/ohlcv/{symbol}"
---

# Get Ohlcv

`GET /ohlcv/{symbol}`

## Request

- Base URL: `https://api.pruviq.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pruviq.com/ohlcv/{symbol}`
- Auth: none declared

Get OHLCV + indicator data for a single coin.

Supports multi-timeframe via the `timeframe` query parameter.
For non-1H timeframes, data is resampled from 1H and indicators are recomputed.

Pagination:
- limit: number of bars to return (default 1000, max 5000; 0 or negative → 1000)
- offset: number of bars to skip from the end (0 = most recent)

## Path parameters

- `symbol` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `timeframe` string

## Response `200`

Successful Response

- OhlcvResponse
  - `symbol` string, required
  - `timeframe` string
  - `total_bars` integer, required
  - `data` OhlcvBar[], required
    - `t` integer, required
    - `o` number, required
    - `h` number, required
    - `l` number, required
    - `c` number, required
    - `v` number, required
    - `bb_upper` number, nullable
    - `bb_lower` number, nullable
    - `bb_mid` number, nullable
    - `ema20` number, nullable
    - `ema50` number, nullable
    - `vol_ratio` number, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pruviq/apis/pruviq-simulation-api.md) · [All operations](https://skmtc.dev/pruviq/apis/pruviq-simulation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pruviq/apis/pruviq-simulation-api/revisions/972384919a74?raw)
