---
title: "Get Klines"
method: GET
path: "/api/v1/market-data/klines"
tags: ["Market Data"]
---

# Get Klines

`GET /api/v1/market-data/klines`

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/market-data/klines`
- Auth: API key in header `X-API-Key`

OHLCV klines from Binance Spot.

## Query parameters

- `symbol` string
- `interval` string
- `limit` integer

## Response `200`

Successful Response

- KlineResponse: OHLCV kline data.
  - `symbol` string, required
  - `interval` string, required
  - `klines` object[], required
  - `count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
