Get Ticker
Get 24-hour market data for a specified futures trading pair.
API Information
- Method:
GET - Path:
/fapi/v1/ticker/{symbol}
Request Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| symbol | path | string | Yes | Trading pair, e.g. BTC_USDT |
Request Example
GET /fapi/v1/ticker/BTC_USDT
Response Fields
| Field | Type | Description |
|---|---|---|
| code | integer | Error code, 0 indicates success |
| message | string | Error message |
| data | object | Ticker data |
| data.symbol | string | Trading pair |
| data.lastPrice | string | Last traded price |
| data.lastQty | string | Last traded quantity |
| data.bestAsk | string | Best ask price |
| data.bestBid | string | Best bid price |
| data.open24h | string | 24-hour open price |
| data.high24h | string | 24-hour high price |
| data.low24h | string | 24-hour low price |
| data.volume24h | string | 24-hour volume (base asset) |
| data.quoteVolume24h | string | 24-hour turnover (quote asset) |
| data.priceChange24h | string | 24-hour price change |
| data.priceChangePercent | string | 24-hour percentage change (%) |
| data.timestamp | integer | Timestamp (milliseconds) |
Response Example
{
"code": 0,
"message": "success",
"data": {
"symbol": "BTC_USDT",
"lastPrice": "42165.30",
"lastQty": "0.125",
"bestAsk": "42166.00",
"bestBid": "42165.00",
"open24h": "41600.00",
"high24h": "42500.00",
"low24h": "41200.00",
"volume24h": "1250.45",
"quoteVolume24h": "52894567.75",
"priceChange24h": "565.30",
"priceChangePercent": "1.36",
"timestamp": 1768051394008
}
}