Skip to main content
GET
/
v1
/
polymarket
/
wallet
/
positions
/
{wallet_address}
Get Wallet Positions
curl --request GET \
  --url https://api.predexon.com/v1/polymarket/wallet/positions/{wallet_address} \
  --header 'x-api-key: <api-key>'
{
  "wallet_address": "<string>",
  "positions": [
    {
      "market": {
        "condition_id": "<string>",
        "market_slug": "<string>",
        "title": "<string>",
        "side": "YES",
        "token_id": "<string>",
        "status": "open"
      },
      "position": {
        "shares": 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
  },
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123,
    "has_more": true
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at https://dashboard.predexon.com

Path Parameters

wallet_address
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
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
order
enum<string>
default:desc

Sort order: asc or desc

Available options:
asc,
desc
limit
integer
default:100

Maximum number of positions to return

Required range: 1 <= x <= 500
offset
integer
default:0

Number of positions to skip for pagination

Required range: x >= 0

Response

Successful Response

Wallet positions endpoint response.

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

Summary of all positions.

pagination
Pagination · object
required

Offset-based pagination model.