get https://api.amberdata.com/market/options/open-interest/exchange//historical
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.
Important Notice: Upcoming Changes to Batch Endpoints
Please take a moment to review the change log details here!
Time Range Limit
The maximum time range (difference between startDate and endDate) is:
- 62 days of daily, hourly or minutely data
In order to get more than the maximum allowed, you can use the Historical endpoint found here .
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the previous 62 days of daily data.
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. |