---
title: "Batch Historical"
method: GET
path: "/options/batch-open-interest/{exchange}"
---

# Batch Historical

`GET /options/batch-open-interest/{exchange}`

## Request

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

Delivers batch historical open interest data for multiple options contracts, providing timestamped values that reflect the total number of outstanding contracts over specified time ranges across supported exchanges.

## 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
      - `value` number
      - `type` string

## Other responses

- `400`: 400

## Changes

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

[Operation history](https://skmtc.dev/amberdata/apis/market-api/changes/options/batch-open-interest/: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)
