Get Server Time
Get Server Time.
Get Server Time › Responses
Successful response
serverTimeServer timeUnix millisecond timestamp
Get Exchange Information
Get Exchange Information.
query Parameters
symbolTrading pair. Leave empty to return all supported contracts and assets.
contractTypeContract type. Supported values: PERPETUAL, TRADIFI_PERPETUAL.
underlyingTypeUnderlying asset type.
underlyingSubTypeUnderlying asset label. Matches if the symbol's underlyingSubType contains this value.
Get Exchange Information › Responses
Successful response
Collateral assets list. Each item matches the Coin object (assets[]).
API access rate limits. Each item matches the Rate-limit object (rateLimits[]).
Contract configuration list. Each item matches the Symbol object (symbols[]).
Get Order Book Depth
Get Order Book Depth.
query Parameters
symbolTrading pair
limitDepth size. Supported values: 15, 200. Default: 15.
Get Order Book Depth › Responses
Successful response
Bid side depth.Each item is [price, size].
Ask side depth.Each item is [price, size].
lastUpdateIdLast processed order book update ID
Get 24hr Ticker Statistics
Get 24hr Ticker Statistics.
query Parameters
symbolTrading pair. Leave empty to return all trading pairs.
Get 24hr 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
openPriceOpen price 24 hours ago
highPriceHighest price in the last 24 hours
lowPriceLowest price in the last 24 hours
volume24-hour trading volume (base asset)
quoteVolume24-hour trading volume (quote asset)
markPriceLast mark price
indexPriceLast index price
openTimeTimestamp of the first trade in the 24-hour window
closeTimeTimestamp of the last trade in the 24-hour window
Get Best Bid/Ask
Get Best Bid/Ask.
query Parameters
symbolTrading pair. Leave empty to return all trading pairs.
Get Best Bid/Ask › Responses
Successful response
symbolTrading pair
bidPriceBest bid price
bidQtyQuantity available at the best bid price
askPriceBest ask price
askQtyQuantity available at the best ask price
timeMatching engine timestamp
Get Recent Trades
Get Recent Trades.
query Parameters
symbolTrading pair
limitNumber of trades to return. Range: 1-1000. Default: 100.
Get Recent Trades › Responses
Successful response
idTrade ID
timeTrade timeUnix millisecond timestamp
priceTrade price
qtyFilled quantity (base asset)
quoteQtyTrade value (quote asset)
isBestMatchWhether the trade was the best match
isBuyerMakerWhether the buyer was the maker
Get Kline Data
Get Kline Data.
query Parameters
symbolTrading pair
intervalKline interval.Allowed values: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w.
limitNumber of klines to return. Range: 1-1000. Default: 100.
Get Kline Data › Responses
Successful response
index[0]Open timeUnix millisecond timestamp
index[1]Open price
index[2]High price
index[3]Low price
index[4]Close price
index[5]Volume (base asset)
index[6]Close timeUnix millisecond timestamp
index[7]Quote volume (quote asset)
index[8]Number of trades
index[9]Taker buy volume (base asset)
index[10]Taker buy volume (quote asset)
Get Index Price Klines
Get Index Price Klines.
query Parameters
symbolTrading pair
intervalKline interval.Allowed values: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w.
limitNumber of klines to return. Range: 1-1000. Default: 100.
Get Index Price Klines › Responses
Successful response
index[0]Open timeUnix millisecond timestamp
index[1]Open price
index[2]High price
index[3]Low price
index[4]Close price
index[5]Volume (base asset)
index[6]Close timeUnix millisecond timestamp
index[7]Quote volume (quote asset)
index[8]Number of trades
index[9]Taker buy volume (base asset)
index[10]Taker buy volume (quote asset)
Get Mark Price Klines
Get Mark Price Klines.
query Parameters
symbolTrading pair
intervalKline interval.Allowed values: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w.
limitNumber of klines to return. Range: 1-1000. Default: 100.
Get Mark Price Klines › Responses
Successful response
index[0]Open timeUnix millisecond timestamp
index[1]Open price
index[2]High price
index[3]Low price
index[4]Close price
index[5]Volume (base asset)
index[6]Close timeUnix millisecond timestamp
index[7]Quote volume (quote asset)
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
intervalKline interval.Allowed values: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w.
startTimeStart time (inclusive). Unix millisecond timestamp. Must not be in the future.
endTimeEnd time (inclusive). Unix millisecond timestamp. Must not be in the future and must be ≥ startTime.
limitNumber of klines to return. Range: 1-100. Default: 100.
priceTypePrice type. Supported values: LAST (last trade), INDEX (index price), MARK (mark price). Default: LAST.
Get Historical Klines › Responses
Successful response
index[0]Open timeUnix millisecond timestamp
index[1]Open price
index[2]High price
index[3]Low price
index[4]Close price
index[5]Volume (base asset)
index[6]Close timeUnix millisecond timestamp
index[7]Quote volume (quote asset)
index[8]Number of trades
index[9]Taker buy volume (base asset)
index[10]Taker buy volume (quote asset)
Get Symbol Price
Get Symbol Price.
query Parameters
symbolTrading pair
priceTypePrice type. Supported values: INDEX, MARK. Default: INDEX.
Get Symbol Price › Responses
Successful response
symbolTrading pair
priceRequested price
timeSystem timestampUnix millisecond timestamp
Get Open Interest
Get Open Interest.
query Parameters
symbolTrading pair
Get Open Interest › Responses
Successful response
symbolTrading pair
openInterestCurrent open interest (contracts)
timeMatching engine timestampUnix millisecond timestamp
Get Current Funding Rate
Get Current Funding Rate.
query Parameters
symbolTrading pair. Leave empty to return all trading pairs.
Get Current Funding Rate › Responses
Successful response
symbolTrading pair
markPriceLatest mark price
indexPriceLatest index price
lastFundingRateMost recent funding rate
forecastFundingRateForecasted funding rate
interestRateUnderlying benchmark interest rate
nextFundingTimeNext funding timeUnix millisecond timestamp
timeData timestampUnix millisecond timestamp
collectCycleFunding interval in minutes
Get Funding Rate History
Get Funding Rate History.
query Parameters
symbolTrading pair
startTimeStart time (inclusive). Unix millisecond timestamp.
endTimeEnd time (inclusive). Unix millisecond timestamp. Must be ≥ startTime.
limitNumber of records. Range: 1-1000. Default: 100.
Get Funding Rate History › Responses
Successful response
symbolTrading pair
fundingRateHistorical funding rate
fundingTimeFunding timeUnix millisecond timestamp
markPriceMark price at the funding time
Get API Trading Symbols
Get API Trading Symbols.
Get API Trading Symbols › Responses
Successful response
Notional and Leverage Brackets
Notional and Leverage Brackets.
query Parameters
symbolTrading pair, e.g. BTCUSDT. Leave empty to return risk limits for all contracts.
Notional and Leverage Brackets › Responses
Successful response
symbolTrading pair
Notional and leverage bracket list. Each item matches the Bracket object.