Historical funding rate
GET/api/v1/funding-rate/historical
Get historical funding rate data for a given exchange
and symbol
.
Request
Query Parameters
exchange stringrequired
Specifes exchange
Example: binance
symbol stringrequired
Specifies symbol
Example: BTC-USDT
page string
Specifies page
Default value:
1
Example: 1
limit string
Specifies limit
Default value:
1000
Example: 1000
from string
Specifies from
Example: 2021-01-01
to string
Specifies to
Example: 2021-01-01
sort string
Possible values: [asc
, desc
]
Specifies sort
Default value:
asc
Example: asc
Header Parameters
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
d integer
specifies the date and time in unix timestamp format
Example:
1739100021
f number
specifies the funding rate
Example:
0.0000782
m number
specifies the mark price
Example:
58813.19
exchange string
limit integer
page integer
sort string
symbol string
{
"data": [
{
"d": 1739100021,
"f": 0.0000782,
"m": 58813.19
}
],
"exchange": "string",
"limit": 0,
"page": 0,
"sort": "string",
"symbol": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Loading...