---
title: "Batch Historical"
method: GET
path: "/spot/batch-ohlcv/{exchange}"
---

# Batch Historical

`GET /spot/batch-ohlcv/{exchange}`

## Request

- Base URL: `https://api.amberdata.com/markets`
- URL: `https://api.amberdata.com/markets/spot/batch-ohlcv/{exchange}`
- Auth: API key in header `x-api-key`

Delivers historical OHLCV (Open, High, Low, Close, Volume) data in batch format for multiple Spot market trading pairs, providing comprehensive price and volume history over specified time ranges for efficient analysis across multiple assets.

## Path parameters

- `exchange` string, required

## Query parameters

- `instruments` string, required
- `startDate` string, date-time
- `endDate` string, date-time
- `timeInterval` string
- `timeFormat` string

## Headers

- `Accept-Encoding` string, required
- `api-version` string

## Response `200`

200

- object
  - `status` integer
  - `title` string
  - `description` string
  - `payload` object
    - `metadata` object
      - `next` string
      - `api-version` string
    - `data` object[]
      - `instrument` string
      - `exchangeTimestamp` integer
      - `open` number
      - `high` number
      - `low` number
      - `close` number
      - `volume` number

## Changes

- **2026-11-03** `20cba0305b6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/amberdata/apis/market-api/changes/spot/batch-ohlcv/:exchange/get.md)

---

[API](https://skmtc.dev/amberdata/apis/market-api.md) - [All operations](https://skmtc.dev/amberdata/apis/market-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amberdata/apis/market-api/revisions/20cba0305b6e?raw)
