Get Latest Price
- GET
/api/v3/market/ticker/price
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/price?symbol=BTCUSDT"
Response parameters
| Field | Type | Description |
|---|---|---|
| symbol | String | Trading pair. |
| price | String | Latest traded price. |
The endpoint returns either a single object or an array of objects depending on whether symbol was supplied.
Response example
{
"symbol": "BTCUSDT",
"price": "68920.40"
}