get https://api.amberdata.com/market/options/open-interest/exchange//historical
Retrieves the historical time series open interest for the specified exchange and instrument(s).
Time Range Limit
The maximum time range (difference between startDate and endDate) is 1 year.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the daily data from the previous year.
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. |