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

Headers

x-wallet
string

Wallet address — primary user identification method

x-device-id
string

Device identifier — mobile fallback when x-wallet is not set

Query Parameters

wallet
string

Wallet address — fallback if neither x-wallet nor x-device-id headers are 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