Get Latest Price
Get Latest Price.
query Parameters
symbolSingle trading pair (mutually exclusive with symbols).
symbolsMultiple trading pairs. Accepts comma-separated values or a JSON array.
Get Latest Price › Responses
Successful response
symbolTrading pair.
priceLatest traded price.
Get 24h Ticker Statistics
Get 24h Ticker Statistics.
query Parameters
symbolSingle trading pair (mutually exclusive with symbols).
symbolsMultiple trading pairs. Accepts comma-separated values or a JSON array.
Get 24h Ticker Statistics › Responses
Successful response
symbolTrading pair.
priceChangeAbsolute price change over the last 24 hours.
priceChangePercentPercentage price change over the last 24 hours.
lastPriceLast traded price.
bidPriceBest bid price.
bidQtyBest bid quantity.
askPriceBest ask price.
askQtyBest ask quantity.
openPriceOpening price 24 hours ago.
highPriceHighest price in the last 24 hours.
lowPriceLowest price in the last 24 hours.
volumeBase asset volume in the last 24 hours.
quoteVolumeQuote asset volume in the last 24 hours.
openTimeFirst trade timestamp in the 24h window (ms).
closeTimeLast trade timestamp in the 24h window (ms).
countNumber of trades in the 24h window.
Get Recent Trades
Get Recent Trades.
query Parameters
symbolTrading pair, e.g. BTCUSDT.
limitNumber of trades to return. Range 1–1000, default 100.
Get Recent Trades › Responses
Successful response
idTrade identifier.
priceTrade price.
qtyExecuted quantity (base asset).
quoteQtyExecuted amount (quote asset).
timeTrade time (milliseconds).
isBuyerMakertrue if the buyer was the maker side.
isBestMatchtrue if the trade matched the best price level.
Get Kline Data
Get Kline Data.
query Parameters
symbolTrading pair, e.g. BTCUSDT.
intervalCandlestick interval (e.g. [1m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,1w]).
Get Kline Data › Responses
Successful response
index[0]Open time (ms).
index[1]Open price.
index[2]High price.
index[3]Low price.
index[4]Close price.
index[5]Volume (base asset).
index[6]Close time (ms).
index[7]Quote asset volume.
index[8]Number of trades.
index[9]Taker buy volume (base asset).
index[10]Taker buy volume (quote asset).
Get Historical Klines
Get Historical Klines.
query Parameters
symbolTrading pair, e.g. BTCUSDT.
intervalKline interval. Allowed values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 1w.
startTimeStart time (inclusive). Valid Unix millisecond timestamp that must not be in the future.
endTimeEnd time (inclusive). Valid Unix millisecond timestamp that must not be earlier than startTime or in the future.
limitNumber of klines to return. Range: 1-100. Default: 100.
Get Historical Klines › Responses
Successful response
index[0]Open time (ms).
index[1]Open price.
index[2]High price.
index[3]Low price.
index[4]Close price.
index[5]Volume (base asset).
index[6]Close time (ms).
index[7]Quote asset volume.
index[8]Number of trades.
index[9]Taker buy volume (base asset).
index[10]Taker buy volume (quote asset).
Get Order Book Depth
Get Order Book Depth.
query Parameters
symbolTrading pair, e.g. BTCUSDT.
limitNumber of depth entries. Supported values: 15, 200. Default 15.
Get Order Book Depth › Responses
Successful response
lastUpdateIdOrder book snapshot ID.
Bid depth entries formatted as [price, quantity].
Ask depth entries formatted as [price, quantity].
Get Best Bid/Ask
Get Best Bid/Ask.
query Parameters
symbolSingle trading pair (mutually exclusive with symbols).
symbolsMultiple trading pairs. Accepts comma-separated values or a JSON array.
Get Best Bid/Ask › Responses
Successful response
symbolTrading pair.
bidPriceBest bid price.
bidQtyBest bid quantity.
askPriceBest ask price.
askQtyBest ask quantity.