Get Market Info
Description
Get the market information of trading pairs in the past 24 hours.
HTTP Request
GET /v3/market/tickers
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| symbol | No | String | A trading pair. If the field is empty, you will get all trading pairs. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| s | String | A trading pair |
| o | String | Opening price |
| l | String | Lowest price in the past 24 hours |
| h | String | Highest price in the past 24 hours |
| c | String | Closing price |
| qty | String | Trading unit, the quantity of the base currency, or Cont for the number of contracts. |
| amt | String | Trading unit, the quantity of the quote currency. |
| tC | Integer | Trade counts |
| sT | Long | Start time of the 24-hour interval |
| cT | Long | End time of the 24-hour interval |
| dC | String | Daily price change in decimal |
| bPx | String | Best bid price |
| bSz | String | Quantity at the best bid price |
| aPx | String | Best ask price |
| aSz | String | Quantity at the best ask price |
| mPx | String | Mark price |
Request Example
None
Response Example
{
"code": 200,
"msg": "Success",
"data": [
{
"s": "BTC_USDT_PERP",
"o": "30338.34",
"l": "30308.14",
"h": "32338.91",
"c": "30938.56",
"qty": "0.1",
"amt": "0",
"tC": 1,
"sT": 1648995780000,
"cT": 1649082121008,
"dC": "0.0198",
"bPx": "0.01",
"bSz": "30338.35",
"aPx": "0.01",
"aSz": "34.3",
"mPx": "30938.57"
}
]
}