---
title: "Get market OHLCV history"
method: GET
path: "/api/2/market/ohlcv-history"
tags: ["V2 - Market Data"]
---

# Get market OHLCV history

`GET /api/2/market/ohlcv-history`

Retrieve OHLCV (Open, High, Low, Close, Volume) candlestick data for a specific pool/market by its address.

## Query parameters

- `address` string, required — Pool/market contract address
- `chainId` string — Blockchain chain ID (e.g., "evm:56", "solana:solana")
- `from` union — Start date (timestamp or ISO string)
  - integer, nullable
  - string, nullable
  - unknown
- `to` union — End date (timestamp or ISO string)
  - integer, nullable
  - string, nullable
  - unknown
- `period` string — Candle period (e.g., "5m", "1h", "1d")
- `amount` number, nullable — Maximum number of candles (max 2000)
- `usd` union — Return USD prices (default: true)
  - boolean
  - string
- `fill` union — Forward-fill empty candles between trades so the series has no gaps (default: false)
  - boolean
  - string

## Response `200`

Market OHLCV history response

- object
  - `data` object[], required
    - `v` number, required
    - `o` number, required
    - `h` number, required
    - `l` number, required
    - `c` number, required
    - `t` number, required

## Other responses

- `402` — Payment Required

---

[API](https://skmtc.net/mobula/apis/mobula-api.md) · [All operations](https://skmtc.net/mobula/apis/mobula-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobula/mobula-api/versions/32f95d9e8ff2/schema)
