Get Interest Rate List
Check interest rate list.
HTTP REQUEST
GET /api/v1/interest/query
Example
GET /api/v1/interest/query?symbol=.XBTINT
{
"dataList": [
{
"symbol": ".XBTINT", //Symbol of the Bitcoin Lending Rate
"granularity": 60000, //Granularity (milisecond)
"timePoint": 1557996300000, //Time point (milisecond)
"value": 0.0003 //Interest rate value
},
{
"symbol": ".XBTINT",
"granularity": 60000,
"timePoint": 1557996240000,
"value": 0.0003
},
{
"symbol": ".XBTINT",
"granularity": 60000,
"timePoint": 1557996180000,
"value": 0.0003
}
],
"hasMore": true //Whether there are more pages
}
REQUEST URL
This endpoint support Futures URL
REQUEST RATE LIMIT
Public weight
:5
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Symbol of the contract |
startAt | long | No | Start time (milisecond) |
endAt | long | No | End time (milisecond) |
reverse | boolean | No | This parameter functions to judge whether the lookup is reverse. True means “yes”. False means no. This parameter is set as True by default. |
offset | long | No | Start offset. The unique attribute of the last returned result of the last request. The data of the first page will be returned by default. |
forward | boolean | No | This parameter functions to judge whether the lookup is forward or not. True means “yes” and False means “no”. This parameter is set as true by default |
maxCount | int | No | Max record count. The default record count is 10, The maximum length cannot exceed 100 |
RESPONSES
Param | Description |
---|---|
symbol | Symbol of the Bitcoin Lending Rate |
granularity | Granularity (milisecond) |
timePoint | Time point (milisecond) |
value | Interest rate value |
hasMore | Whether there are more pages |