Spot Trades

The spot trades stream provides real-time trade data for a given trading pair.

The following API plans can call this endpoint: Standard Professional Enterprise

Channel

The channel name has the format spot_trades@{exchange}_{symbol}@{minVol}, made up of the exchange, the trading pair and the minimum trade value, e.g., spot_trades@Binance_BTCUSDT@1000:

ParameterDescriptionExample
{exchange}Exchange name, written exactly as returned by the “Supported Exchanges and Pairs” endpointBinance
{symbol}Trading pair nameBTCUSDT
{minVol}Minimum trade value; only trades of at least this amount are pushed1000

To subscribe to the spot_trades channel, send the following message:

{
    "method": "subscribe",
    "channels": ["spot_trades@Binance_BTCUSDT@1000"]
}
{
    "method": "unsubscribe",
    "channels": ["spot_trades@Binance_BTCUSDT@1000"]
}

For the connection URL, heartbeats and reconnecting after a disconnection, see WebSocket Getting Started.

Response Example

When data is received, the response looks like this:

{
    "channel": "spot_trades@Binance_BTCUSDT@1000",
    "data": [
        {
            "base_asset": "BTC",
            "exchange": "Binance",
            "price": 56738.00,
            "side": 2,  // 1 means sell, 2 means buy
            "symbol": "BTCUSDT",
            "time": 1725416318379,
            "volume_usd": 3858.18400
        }
    ]
}
FieldDescription
base_assetCoin
exchangeExchange
symbolTrading pair
priceTrade price
sideSide: 1 is sell, 2 is buy
volume_usdTrade amount (USD)
timeTrade time, timestamp in milliseconds

API Plans

Only the API plans marked Yes in the table below can call this endpoint. For the price of each plan, see API Plans.

API PlanAccess
Hobbyist❌ No
Startup❌ No
Standard✅ Yes
Professional✅ Yes
Enterprise✅ Yes

Other Channels

ChannelChannel NameContent
Liquidation Order Streamliquidation_ordersReal-time liquidation orders for futures across the whole market
Futures Tradesfutures_tradesTick-by-tick trades in the futures market
Futures Ticker Snapshotfutures_tickerMarket snapshots of price, open interest, funding rate and more

Related Docs