Skip to main content
POST
/
ws
/
ordersSummariesPerps
Subscribe: Perps Order Summaries
curl --request POST \
  --url wss://api.ondoperps.xyz/ws/ordersSummariesPerps \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": "subscribe",
  "channel": "ordersSummariesPerps",
  "markets": [
    "NVDA-USD.P"
  ]
}
'
{
  "data": [
    {
      "market": "AAPL-USD.P",
      "restingOrdersSummary": {},
      "positionSummary": {},
      "marketOrderSummary": {}
    }
  ]
}

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:
ordersSummariesPerps
Example:

"ordersSummariesPerps"

markets
string[]
required

Markets to subscribe to. At least one market is required.

Example:
["NVDA-USD.P"]

Response

200 - application/json

Channel update for ordersSummariesPerps

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