Historical funding rates
GET/historical-funding-rates
Returns list of historical funding rates for given market.
Request
Query Parameters
Possible values: Value must match regular expression [A-Z0-9_.]+
Market symbol.
Responses
- 200
- 400
Historical funding rates for given market.
- application/json
- Schema
- Example (from schema)
- success
Schema
- Array [
- ]
rates object[]required
A list containing structures with historical funding rate information. The list is sorted ascending by timestamp.
The absolute funding rate for the listed time period
The relative funding rate for the listed time period
Start of the period to which the funding rate applies.
Possible values: [success
]
Server time in Coordinated Universal Time (UTC)
{
"rates": [
{
"fundingRate": 12.03532,
"relativeFundingRate": 12.03532,
"timestamp": "2024-07-29T15:51:28.071Z"
}
],
"result": "success",
"serverTime": "2020-08-27T17:03:33.196Z"
}
{
"result": "success",
"serverTime": "2022-06-28T09:29:04.243Z",
"rates": [
{
"timestamp": "2022-06-28T00:00:00.000Z",
"fundingRate": -8.15861558e-10,
"relativeFundingRate": -0.000016898883333333
},
{
"timestamp": "2022-06-28T04:00:00.000Z",
"fundingRate": -2.6115278e-11,
"relativeFundingRate": -5.40935416667e-7
},
{
"timestamp": "2022-06-28T08:00:00.000Z",
"fundingRate": -4.08356853e-10,
"relativeFundingRate": -0.000008521190625
}
]
}
Symbol is invalid or does not reference a perpetual market.
- application/json
- Schema
- Example (from schema)
Schema
accountInactive
: The Futures account the request refers to is inactiveapiLimitExceeded
: The API limit for the calling IP address has been exceededauthenticationError
: The request could not be authenticatedinsufficientFunds
: The amount requested for transfer is below the amount of funds availableinvalidAccount
: The Futures account the transfer request refers to is invalidinvalidAmount
: The amount the transfer request refers to is invalidinvalidArgument
: One or more arguments provided are invalidinvalidUnit
: The unit the transfer request refers to is invalidJson Parse Error
: The request failed to pass valid JSON as an argumentmarketUnavailable
: The market is currently unavailablenonceBelowThreshold
: The provided nonce is below the thresholdnonceDuplicate
: The provided nonce is a duplicate as it has been used in a previous requestnotFound
: The requested information could not be foundrequiredArgumentMissing
: One or more required arguments are missingServer Error
: There was an error processing the requestUnavailable
: The endpoint being called is unavailableunknownError
: An unknown error has occurred
Possible values: [accountInactive
, apiLimitExceeded
, authenticationError
, insufficientFunds
, invalidAccount
, invalidAmount
, invalidArgument
, invalidUnit
, Json Parse Error
, marketUnavailable
, nonceBelowThreshold
, nonceDuplicate
, notFound
, requiredArgumentMissing
, Server Error
, Unavailable
, unknownError
]
Possible values: [accountInactive
, apiLimitExceeded
, authenticationError
, insufficientFunds
, invalidAccount
, invalidAmount
, invalidArgument
, invalidUnit
, Json Parse Error
, marketUnavailable
, nonceBelowThreshold
, nonceDuplicate
, notFound
, requiredArgumentMissing
, Server Error
, Unavailable
, unknownError
]
Error description.
Possible values: [error
]
Server time in Coordinated Universal Time (UTC)
{
"errors": [
"accountInactive"
],
"error": "accountInactive",
"result": "error",
"serverTime": "2020-08-27T17:03:33.196Z"
}