Funding Rate History
Developing
GET
https://api.onetrading.com/fast/v1/funding-rate/history
id
property from the Instruments endpoint.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/funding-rate/history?instrument_code=BTC_EUR_P&from=1733397387858&to=1733411787858&limit=1000'
Response Response Example
[
{
"instrument_code": "BTC_EUR_P",
"funding_rate": "0.00002221799",
"mark_price": "92525.35",
"time": 1733397387858
},
{
"instrument_code": "BTC_EUR_P",
"funding_rate": "0.00002311127",
"mark_price": "92812.40",
"time": 1733411787858
},
{
"instrument_code": "BTC_EUR_P",
"funding_rate": "0.00002329418",
"mark_price": "92955.98",
"time": 1733411787858
}
]
Request
Query Params
instrument_code
string
required
BTC_EUR_P
) to fetch the funding rate for.Example:
BTC_EUR_P
from
integer
optional
Example:
1733397387858
to
integer
optional
Example:
1733411787858
limit
integer
optional
>= 1<= 1000
Default:
100
Example:
1000