Skip to main content
GET
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

owner
string
default:0x06A9aF046187895AcFc7258450B15397CAc67400
required

User's EOA address (looks up their perpetual trading product account)

asset
string | null

Filter to a specific asset ticker (e.g. AAPL)

Response

Successful Response

List of open perpetual trading positions with account balance.

positions
PerpetualTradingPosition · object[]
required

Open perpetual futures positions

account_value
string
default:0

Total account value in USD (margin + unrealized PnL)

withdrawable
string
default:0

Available USDC balance (withdrawable margin)