get https://api.amberdata.com/markets/options/batch-open-interest/
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.
Time Range & Data Availability Limit
The maximum time range (difference between startDate and endDate) is:
- 62 days of daily, hourly or minutely data
- This endpoint only stores the most recent 62 days of data.
- Queries with a
startDate
older than 62 days from the current date will result in a 410 error.In order to get more than the maximum allowed, you can use the Historical endpoint found here .
Not specifying startDate and endDate
If you omit
startDate
andendDate
, the API will return the most recent 62 days of daily data (not data older than 62 days from the current date).
RESPONSE DATA
Field | Type | Description |
---|---|---|
instrument | string | The name of the instrument. |
timestamp | number | string | The time at which the event occurred. |
value | number | The total outstanding number of contracts. |