Funding Rate History
Get historical funding rate
tip
- Passing
startTimeonly, it returns error. - Passing
endTimeonly, it returns 200 records tillendTime. - Both are not passed, it returns 200 records till current time.
HTTP Request
GET /derivatives/v3/public/funding/history-funding-rate
Request Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| category | false | string | Product type. linear,inverse. Default: linear, but in the response category shows "" |
| symbol | true | string | Symbol name |
| startTime | false | integer | The start timestamp (ms) |
| endTime | false | integer | The end timestamp (ms) |
| limit | false | integer | Limit for data size per page. [1, 200]. Default: 200 |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| category | string | Product type. Keeps empty string "" when category is not passed |
| list | array | Object |
| > symbol | string | Symbol name |
| > fundingRate | string | Funding rate |
| > fundingRateTimestamp | string | Funding rate timestamp(ms) |
Request Example
- linear
GET /derivatives/v3/public/funding/history-funding-rate?symbol=BTCPERP&limit=2 HTTP/1.1
Host: api.bybit.com
Response Example
- linear
{
"retCode": 0,
"retMsg": "OK",
"result": {
"category": "",
"list": [
{
"symbol": "BTCPERP",
"fundingRate": "0.0001",
"fundingRateTimestamp": "1671955200000"
},
{
"symbol": "BTCPERP",
"fundingRate": "0.0001",
"fundingRateTimestamp": "1671926400000"
}
]
},
"retExtInfo": {},
"time": 1671970750651
}