Skip to main content
POST
/
ws
/
fillsPerps
Subscribe: Perps Fills
curl --request POST \
  --url wss://api.ondoperps.xyz/ws/fillsPerps \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": "subscribe",
  "channel": "fillsPerps",
  "markets": [
    "NVDA-USD.P"
  ]
}
'
{
  "data": [
    {
      "id": "70a37d8f972f2494837f9dba8364cbb4",
      "orderId": "197ec08e001658690721be129e7fa595",
      "market": "AAPL-USD.P",
      "price": "227.50",
      "size": "5.00",
      "side": "buy",
      "direction": "open long",
      "filledCost": "1137.50",
      "fee": "0.57",
      "time": "2025-03-05T14:30:00Z",
      "isMaker": false
    }
  ]
}

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

"fillsPerps"

markets
string[]

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

Example:
["NVDA-USD.P"]

Response

200 - application/json

Channel update for fillsPerps

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