Get Market Information
HTTP request
GET /spot/ticker
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
market | false | string | List of market names. Use "," to separate multiple market names, a maximum of 10 markets are allowed. An empty string or pass to query all markets. |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
market | string | Market name |
last | string | Latest price |
open | string | Opening price |
close | string | Closing price |
high | string | Highest price |
low | string | Lowest price |
volume | string | Filled volume |
value | string | Filled value |
volume_sell | string | Best ask size |
volume_buy | string | Best bid size |
period | int | Period, fixed at 86400, indicates that the data is a one-day value |
Response example
GET /spot/ticker?market=LATUSDT,ELONUSDT
Response example
{
"code": 0,
"data": [
{
"market": "LATUSDT",
"last": "0.008157",
"open": "0.008286",
"close": "0.008157",
"high": "0.008390",
"low": "0.008106",
"volume": "807714.49139758",
"volume_sell": "286170.69645599",
"volume_buy": "266161.23236408",
"value": "6689.21644207",
"period": 86400
},
{
"market": "ELONUSDT",
"last": "0.000000152823",
"open": "0.000000158650",
"close": "0.000000152823",
"high": "0.000000159474",
"low": "0.000000147026",
"volume": "88014042237.15",
"volume_sell": "11455578769.13",
"volume_buy": "17047669612.10",
"value": "13345.65122447",
"period": 86400
}
],
"message": "OK"
}