Skip to main content
POST
Subscribe: Perps Trades

Body

application/json
op
enum<string>
required

Operation type.

Available options:
subscribe,
unsubscribe
Example:

"subscribe"

channel
enum<string>
required

Channel for this subscription.

Available options:
tradesPerps
Example:

"tradesPerps"

markets
string[]

Markets to filter by. Optional; if omitted, all available markets are used.

Example:
numPastTrades
integer

Number of historical trades to receive on subscribe.

Example:

50

Response

200 - application/json

Channel update for tradesPerps

type
enum<string>
Available options:
update
channel
enum<string>
Available options:
tradesPerps
data
object[]