---
title: "Open/High/Low/Close cost candles (Essential+)"
method: GET
path: "/indices/{code}/ohlc"
tags: ["Indices", "Series"]
---

# Open/High/Low/Close cost candles (Essential+)

`GET /indices/{code}/ohlc`

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/indices/{code}/ohlc`
- Auth: HTTP bearer

OHLC candles for any index. Monthly and quarterly candles are derived from published history and available immediately; weekly/daily candles come from the rolling snapshot store and are Intelligence-only. Because indices publish weekly, daily candles may be flat until intra-period movement accumulates. Requires Essential plan or above; granularity is plan-gated. Professional+ may append `?format=csv`.

## Path parameters

- `code` string, required

## Query parameters

- `period` 'monthly' | 'quarterly' | 'weekly' | 'daily'
- `start` string, date
- `end` string, date
- `format` 'json' | 'csv'

## Response `200`

OHLC candles

- object

## Other responses

- `403`: Essential plan required

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
