Get detailed information about a specific position
Get API key via https://portal.jup.ag
Position account public key
1Position data
Position account public key
Position owner public key
Position owner public key (alias of owner, prefer ownerPubkey going forward)
Deterministic market PDA derived from marketId
External market identifier (ticker)
Hashed market identifier used for on-chain PDAs
True if this is a YES position
Contracts held (u64 as string)
Total cost basis in micro USD (u128 as string)
Alias of total cost basis in micro USD (u128 as string)
Mark-to-market value in micro USD (u128 as string); null once market is closed
Average entry price per contract in micro USD (u64 as string)
Current mark price per contract in micro USD (u64 as string); null once market is closed
Current best exit price for this side (micro USD string), or null when unavailable
Unrealized PnL in micro USD (i128 as string); null once market is closed
Unrealized PnL percentage relative to size; null once market is closed
Unrealized PnL after fees in micro USD (i128 as string); null once market is closed
Unrealized PnL after fees percentage relative to size; null once market is closed
Number of open orders
x >= 0Total fees paid in micro USD (u64 as string)
Realized PnL in micro USD (i64 as number)
Whether payout has been claimed
Amount claimed in micro USD (u64 as string)
Unix timestamp when the position was opened
Unix timestamp of the last position update
Unix timestamp (seconds) when the position becomes claimable; null when unavailable
Notional payout if position wins (contracts * $1)
x >= 0External event identifier if available
Unix timestamp (seconds) when the market settles; null when unavailable
True when the position qualifies for payout claim