Get Tickers for Specified Pairs
Description
Query market data for a specific trading pair
HTTP Request
- POST
/api/v3/market/tickers - Supported Products:
spot/linear - Rate Limit: 10 requests per second per IP
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | Yes | Product type: spot / linear |
symbols | array[string] | No | Trading pair list, for example ["SOLUSDT","ETHUSDT"]. Maximum 100 pairs. If omitted or empty, returns up to 100 listed trading pairs in the requested category. |
Response Parameters
| Field | Type | Description |
|---|---|---|
symbol | string | Trading pair |
ts | string | Update time (ms) |
lastPrice | string | Last price |
openPrice24 | string | 24h opening price |
highestPrice24 | string | 24h high price |
lowestPrice24 | string | 24h low price |
volume24 | string | 24h trading volume |
turnover24 | string | 24h trading turnover |
price24hPcnt | string | 24h price change percentage |
bid1Price | string | Best bid price |
bid1Size | string | Best bid quantity |
ask1Price | string | Best ask price |
ask1Size | string | Best ask quantity |
indexPrice | string | Index price (futures only) |
markPrice | string | Mark price (futures only) |
fundingRate | string | Current funding rate (futures only) |
fundingRateInterval | int | Funding settlement interval in hours (futures only) |
nextFundingRateTime | string | Next funding settlement time as a decimal string representing a millisecond timestamp. |
openInterest | string | Open interest (futures only) |
Request Example
POST /api/v3/market/tickers HTTP/1.1
Host: openapi.lbank.com
Content-Type: application/json
ex-timestamp: <current_unix_timestamp_ns>
{
"category": "linear",
"symbols": [
"BTCUSDT"
]
}
Response Example
{
"code": 200,
"message": "Success",
"data": {
"list": [{
"symbol": "BTCUSDT",
"ts": "1793237779000",
"lastPrice": "80010.00",
"openPrice24": "79000.00",
"highestPrice24": "81000.00",
"lowestPrice24": "78500.00",
"volume24": "100.00000",
"turnover24": "8000000.00000",
"price24hPcnt": "0.01278481",
"bid1Price": "80009.00",
"bid1Size": "0.50000",
"ask1Price": "80011.00",
"ask1Size": "0.40000",
"indexPrice": "80020.00",
"markPrice": "80015.00",
"fundingRate": "0.0001",
"fundingRateInterval": 2,
"nextFundingRateTime": "1793239200000",
"openInterest": "388.35775"
}]
},
"extras": null
}