Historical Funding Rate
GET/api/v1/funding-rate
Fetch historical funding rate data for a given exchange
and symbol
.
Request
Query Parameters
Specifes exchange
Specifies symbol
Default value: 1
Specifies page
Default value: 1000
Specifies limit
Specifies from
Specifies to
Possible values: [asc
, desc
]
Default value: asc
Specifies sort
Header Parameters
Your DataMaxi+ API key
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
data
specifies an array of funding rate data
specifies the date and time
specifies the funding rate
specifies the mark price
specifies the start date of the requested data (either from
or to
can be used, but not both)
specifies the number of records per page
specifies the current page of the response
specifies the order of the records
specifies the end date of the requested data (either from
or to
can be used, but not both)
[
{
"data": [
{
"d": "2021-01-01 00:00:00",
"f": "0.0000782",
"m": "58813.19"
}
],
"from": "string",
"limit": 0,
"page": 0,
"sort": "string",
"to": "string"
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}