Skip to main content
GET
/
v1
/
account
/
positions
Get positions
curl --request GET \
  --url https://api.joyride.exchange/v1/account/positions
[
  {
    "instrument_id": "SOL_USDC-28FEB26-150-C",
    "quantity": 1000,
    "avg_price": 1500000
  }
]

Headers

x-device-id
string

User identifier (takes precedence over user_id query param)

Query Parameters

user_id
string

User identifier (fallback if x-device-id header is not set)

Response

200 - application/json

Array of positions

instrument_id
string
required
Example:

"SOL_USDC-28FEB26-150-C"

quantity
integer
required

Net position in millicontracts (positive = long, negative = short)

Example:

1000

avg_price
integer
required

Volume-weighted average entry price (USDC micros)

Example:

1500000