Get Funding Rate
Get funding rate
(Authentication type: NONE, See Interface Permission)
Request Format
GET https://api-cloud.bitmart.com/contract/v1/ifcontract/fundingrate
Request Limit
Request Parameter
Field | Type | Required? | Description |
---|---|---|---|
contractID | long | Yes | Contract ID |
Instruction
Request example
curl https://api-cloud.bitmart.com/contract/v1/ifcontract/fundingrate?contractID=2
Response Data
Field | Type | Description |
---|---|---|
rate | string | Funding rate |
timestamp | long | Timestamp |
Example of returned data format
{
"code": 1000,
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
"message": "OK",
"data": [
{
"rate": "-0.0060483184843194741",
"timestamp": 1534320000
},
{
"rate": "0.1041766553400505803",
"timestamp": 1534291200
}
]
}