get https://open-api-v4.coinglass.com/api/futures/funding-rate/history
This endpoint provides funding rate data in OHLC (open, high, low, close) candlestick format for futures trading pairs.
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
interval Limit | >=4h | >=30m | No Limit | No Limit | No Limit |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"time": 1658880000000, // Timestamp (milliseconds)
"open": "0.004603", // Opening funding rate
"high": "0.009388", // Highest funding rate
"low": "-0.005063", // Lowest funding rate
"close": "0.009229" // Closing funding rate
},
{
"time": 1658966400000, // Timestamp (milliseconds)
"open": "0.009229", // Opening funding rate
"high": "0.01", // Highest funding rate
"low": "0.007794", // Lowest funding rate
"close": "0.01" // Closing funding rate
}
]
}