Skip to main content
GET
/
v2
/
polymarket
/
wallet
/
positions
/
{wallet}
Get Wallet Positions
curl --request GET \
  --url https://api.predexon.com/v2/polymarket/wallet/positions/{wallet} \
  --header 'x-api-key: <api-key>'
{
  "wallet_address": "<string>",
  "positions": [
    {
      "market": {
        "condition_id": "<string>",
        "market_slug": "<string>",
        "title": "<string>",
        "side": "YES",
        "side_label": "<string>",
        "token_id": "<string>",
        "status": "open"
      },
      "position": {
        "shares": 123,
        "total_shares_bought": 123,
        "avg_entry_price": 123,
        "total_cost_usd": 123
      },
      "current": {
        "price": 123,
        "value_usd": 123
      },
      "pnl": {
        "unrealized_usd": 123,
        "unrealized_pct": 123,
        "realized_usd": 123
      }
    }
  ],
  "summary": {
    "total_positions": 123,
    "total_value_usd": 123,
    "total_cost_usd": 123,
    "total_unrealized_pnl_usd": 123,
    "total_realized_pnl_usd": 123,
    "win_rate": 123,
    "winning_positions": 123,
    "losing_positions": 123,
    "fees_paid": 123,
    "fees_refunded": 123,
    "net_fees": 123
  },
  "pagination": {
    "limit": 123,
    "count": 123,
    "has_more": true,
    "pagination_key": "<string>"
  }
}
Fetch positions for a Polymarket wallet with cost basis, current value, and P&L.
Rolling total PnL accuracy timeline — Total PnL (realized + unrealized - net fees) uses rolling windows that need time to accumulate full data:
  • All-time total PnL: accurate immediately (February 10, 2026)
  • 1-day rolling total PnL: fully accurate starting February 11, 2026
  • 7-day rolling total PnL: fully accurate starting February 17, 2026
  • 30-day rolling total PnL: fully accurate starting March 12, 2026
ConstraintValue
limit1–200 (default 100)

Authorizations

x-api-key
string
header
required

Path Parameters

wallet
string
required

Wallet address to fetch positions for

Query Parameters

include_closed
boolean
default:true

Include zero-balance (closed) positions

min_shares
number
default:0

Minimum number of shares to include

Required range: x >= 0
market_slug
string | null

Filter by market slug

condition_id
string | null

Filter to a specific market by condition ID

sort_by
enum<string>
default:value

Field to sort by

Available options:
value,
unrealized_pnl,
realized_pnl,
cost,
avg_price,
current_price,
entry_date
order
enum<string>
default:desc

Sort order: asc or desc

Available options:
asc,
desc
limit
integer
default:100

Maximum number of positions to return (1-200)

Required range: 1 <= x <= 200
pagination_key
string | null

Cursor for pagination

Response

Successful Response

Wallet positions endpoint response.

wallet_address
string
required
positions
Position · object[]
required
summary
PositionsSummary · object
required

Summary of all positions.

pagination
CursorPagination · object
required

Cursor-based pagination for endpoints that don't support offset.