Retrieve all current open positions for a specific user.
API key for authentication. Contact Swaps.xyz to obtain an API key.
User EVM EOA address EVM address (0x prefix + 40 hex characters)
"0x1234567890123456789012345678901234567890"
Polymarket proxy wallet address EVM address (0x prefix + 40 hex characters)
"0x1234567890123456789012345678901234567890"
Filter for redeemable positions only
Filter for mergeable positions only
Array of current positions
Proxy wallet address
"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
Asset token ID
Condition ID (0x-prefixed 64-hex string)
"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
Position size
Average purchase price
Initial position value
Current position value
Cash profit/loss
Percentage profit/loss
Total amount bought
Realized profit/loss
Percentage realized profit/loss
Current price
Whether position is redeemable
Whether position is mergeable
Market title
Market slug
Market icon URL
Event slug
Outcome name
Outcome index
Opposite outcome name
Opposite asset token ID
Market end date
Whether position uses negative risk
Event ID (optional field)