New API users should migrate to deposit wallets. Read the migration guide.
curl --request GET \
--url https://data-api.polymarket.com/v1/market-positions[
{
"token": "<string>",
"positions": [
{
"proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"name": "<string>",
"profileImage": "<string>",
"verified": true,
"asset": "<string>",
"conditionId": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917",
"avgPrice": 123,
"size": 123,
"currPrice": 123,
"currentValue": 123,
"cashPnl": 123,
"totalBought": 123,
"realizedPnl": 123,
"totalPnl": 123,
"outcome": "<string>",
"outcomeIndex": 123
}
]
}
]curl --request GET \
--url https://data-api.polymarket.com/v1/market-positions[
{
"token": "<string>",
"positions": [
{
"proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"name": "<string>",
"profileImage": "<string>",
"verified": true,
"asset": "<string>",
"conditionId": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917",
"avgPrice": 123,
"size": 123,
"currPrice": 123,
"currentValue": 123,
"cashPnl": 123,
"totalBought": 123,
"realizedPnl": 123,
"totalPnl": 123,
"outcome": "<string>",
"outcomeIndex": 123
}
]
}
]Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
Use this file to discover all available pages before exploring further.
The condition ID of the market to query positions for 0x-prefixed 64-hex string
^0x[a-fA-F0-9]{64}$"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
Filter to a single user by proxy wallet address User Profile Address (0x-prefixed, 40 hex chars)
^0x[a-fA-F0-9]{40}$"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
Filter positions by status.
OPEN — Only positions with size > 0.01CLOSED — Only positions with size <= 0.01ALL — All positions regardless of sizeOPEN, CLOSED, ALL Sort positions by:
TOKENS — Position size (number of tokens)CASH_PNL — Unrealized cash PnLREALIZED_PNL — Realized PnLTOTAL_PNL — Total PnL (cash_pnl + realized_pnl)TOKENS, CASH_PNL, REALIZED_PNL, TOTAL_PNL ASC, DESC Max number of positions to return per outcome token
0 <= x <= 500Pagination offset per outcome token
0 <= x <= 10000Was this page helpful?