Retrieves the historical time series open interest for the specified instrument and exchange(s).


Deprecation Notice

As part of our ongoing efforts to improve our API and services, we will be deprecating this endpoint on June 28, 2024. This decision is in line with our commitment to providing high-quality, efficient, and secure API services to our users.

We encourage all users of this endpoint to transition to the Futures Open Interest Historical endpoint as soon as possible. This endpoint offers the same data, we have simply merged our Swaps data together with the Futures data. Therefore, "Swaps" data (aka Perpetual Futures) can now be found under the Futures section of the Amberdata API docs.


Time Range Limit

The maximum time range (difference between startDate and endDate) is 30 days.


Not specifying startDate and endDate

If the startDate and endDate query parameters are not provided, the API will not return the previous 24 hours of data.


exchangestringThe name of the exchange.
timestampnumber | stringThe time at which the event occurred.
valuenumberThe total outstanding number of contracts.
Click Try It! to start a request and see the response here!