Batch Historical

Changed on

Returns batched historical funding rate data for futures instruments within a specified date range, including timestamps, actual funding rates, and projected rates across exchanges.

get/futures/batch-funding-rates/{exchange}

Request

  • Base URL
    https://api.amberdata.com/markets
  • URL
    https://api.amberdata.com/markets/futures/batch-funding-rates/{exchange}
  • Auth
    API key in header x-api-key

Path parameters

exchangestring required

The exchange for which to retrieve the most current data.

Query parameters

instrumentsstring required

[Required] The instrument(s) for which to retrieve the most current data (comma separated). [Maximum] 50 instruments

rateTypestring required

applied (default): Returns only applied funding rates (historical, confirmed rates) predicted: Returns only predicted funding rates (future, expected rates)

startDatestring date-time

[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

endDatestring date-time

[Optional] Payload only includes data before this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

timeIntervalstring

[Optional] Time interval. [Defaults] minutes | hours | days*

timeFormatstring

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Headers

Accept-Encodingstring required
api-versionstring

Response

200

statusinteger
titlestring
descriptionstring

Changes