---
title: "OHLC candles"
method: GET
path: "/api/v1/klines"
tags: ["Market data"]
---

# OHLC candles

`GET /api/v1/klines`

## Request

- Base URL: `https://marginpad.io`
- URL: `https://marginpad.io/api/v1/klines`
- Auth: none declared

Historical candlesticks for a symbol. Use for charts, backtests, and indicator math.

## Query parameters

- `symbol` string, required
- `interval` string

## Response `200`

ok

---

[API](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api.md) · [All operations](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/revisions/27d21fcd0bf0?raw)
