Skip to main content
Returns one row per (outcome_id, side_index) the wallet has ever held. Sorted by absolute current market value (biggest exposure first).

Endpoint

Query parameters

Response

Use cases

  • Portfolio view — render one row per position with mark-to-mid PnL.
  • Risk/exposureΣ market_value_usdh over rows = current notional risk.
  • Closed-position tax/audit logstatus=settled returns every resolved market the wallet touched, with payout and PnL.

Examples

Notes

  • current_mid reflects the most recent allMids snapshot (poll cadence ~1s). For instantaneous quotes use /v1/markets/:id/book.
  • An “open” position means amount != 0. A wallet may have BOTH a Yes and a No leg open simultaneously — those are two rows.
  • Cost basis uses weighted-average — Polymarket-style — not FIFO. Close-then-reopen keeps the same row (avg_cost recomputes).