24-Hour Ticker Data
Endpoint: /v1/futures/24kline
Request Parameters
Method: GET
Example
Bashcurl -X GET "https://oapi.websea.com/v1/futures/24kline?symbol=BTC-USDT"
Query Parameters
| Parameter |
Required |
Type |
Example |
Description |
| symbol |
Yes |
string |
BTC-USDT |
Trading pair |
Response Parameters
| Parameter |
Required |
Type |
Example |
Description |
| errno |
Yes |
int |
0 |
Status code |
| errmsg |
Yes |
string |
success |
Status message |
| result |
Yes |
array |
See example |
Response data |
Result Fields
| Parameter |
Required |
Type |
Example |
Description |
| id |
Yes |
long |
1499184000 |
Trade ID |
| amount |
Yes |
string |
37593 |
Traded quantity within the last 24 hours |
| count |
Yes |
string |
1234 |
Number of trades within the last 24 hours |
| open |
Yes |
string |
1935.2000 |
24-hour open price |
| close |
Yes |
string |
1879.0000 |
24-hour close price |
| low |
Yes |
string |
1856.0000 |
24-hour low price |
| high |
Yes |
string |
1940.0000 |
24-hour high price |
| vol |
Yes |
string |
71031537.97866500 |
24-hour trading volume |
Response Example
JSON{
"errno": 0,
"errmsg": "success",
"result": [
{
"id": 1499184000,
"amount": "37593.0266",
"count": "1234",
"open": "1935.2000",
"close": "1879.0000",
"low": "1856.0000",
"high": "1940.0000",
"vol": "71031537.97866500"
}
]
}