Get Best Bid/Ask
- GET
/api/v3/market/ticker/bookTicker
Weight(IP): 4
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Single trading pair (mutually exclusive with symbols). |
| symbols | Array | No | Multiple trading pairs. Accepts comma-separated values or a JSON array. |
Request example
curl "https://api-spot.weex.com/api/v3/market/ticker/bookTicker?symbols=BTCUSDT,ETHUSDT"
Response parameters
| Field | Type | Description |
|---|---|---|
| symbol | String | Trading pair. |
| bidPrice | String | Best bid price. |
| bidQty | String | Best bid quantity. |
| askPrice | String | Best ask price. |
| askQty | String | Best ask quantity. |
If symbol is supplied the response is a single object; otherwise, it is an array.
Response example
[
{
"symbol": "BTCUSDT",
"bidPrice": "68919.90",
"bidQty": "2.480",
"askPrice": "68920.60",
"askQty": "1.102"
}
]