Retrieves the historical time series funding rates 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 Funding Rate 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 31 days.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 1 month.
RESPONSE DATA
Field | Type | Description |
---|---|---|
[exchange] | string | The name of the exchange. |
[exchange].timestamp | number | string | The time at which the event occurred. |
{exchange}.insertionTimestamp | string | The time at which the data inserted. |
{exchange}.fundingInterval | number | The funding interval for which data is available. |
{exchange}.fundingRate | number | The funding rate for which data is available. |
{exchange}.nextFundingRate | number | null | TThe next funding rate for which data is available. |
{exchange}.nextFundingTime | number | null | The next funding time for which data is available. |