trade.{instrument_name}
CHANNELPublic trades. Subscribe with channels e.g. ["trade.BTCUSD-PERP"]. Returns last 50 trades on subscribe.wss://stream.crypto.com/exchange/v1/market
trade.{instrument_name}
Request
Body
required
id integerrequired
Request id
method stringrequired
Possible values: [subscribe]
params objectrequired
channels string[]required
e.g. ["trade.BTCUSD-PERP"]
nonce integerrequired
Current timestamp in milliseconds
WebSocket response
Schema
- Array [
- ]
id int64
method string
code int32
result object
instrument_name string
subscription string
channel string
data object[]
d string
Trade ID
t int64
Trade timestamp in milliseconds, e.g. "1771761038000".
p decimal
Trade price
q decimal
Trade quantity
s WsOrderSide (string)
Possible values: [BUY, SELL]
BUY or SELL
i string
Instrument name e.g. BTCUSD-PERP
m int64
Trade match ID