List a Polymarket trader’s positions
List a trader’s positions with size, average and current price, value, cost and realized and unrealized PnL. Choose open, closed, redeemable, redeemable_lost or mergeable positions, sort them, and page with the returned cursor.
/v1/polymarket/user-positionsx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Required. Trading wallet or owner wallet (0x plus 40 hex characters), @handle, or a polymarket.com/@handle or /profile/<wallet> URL. A handle is resolved to its trading wallet from the public profile page. An owner wallet is replaced by its trading wallet.
min 1 chars · max 600 chars
0x1111111111111111111111111111111111111111open (default; includes settled winners not yet redeemed), closed (exited), redeemable, redeemable_lost (losing positions still held) or mergeable (complementary pairs).
one of: open, closed, redeemable, redeemable_lost, mergeable
opencurrent_value, price, tokens, unrealized_pnl, realized_pnl, total_pnl or timestamp. Defaults to current_value for open positions and realized_pnl for closed ones.
one of: current_value, price, tokens, unrealized_pnl, realized_pnl, total_pnl, timestamp
desc (default) or asc.
one of: asc, desc
Positions per page, 1–500; defaults to 100.
Optional nextCursor from the previous response. Send the same other parameters with it; omit it for the first page.
Request correlation UUID.
Upstream requests, decoded response bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data is returned; inspect status and coverage for omissions.
open (default; includes settled winners not yet redeemed), closed (exited), redeemable, redeemable_lost (losing positions still held) or mergeable (complementary pairs).
one of: success, partial
Public Polymarket page the data describes, or the public API URL when no page exists (an order book or price history requested by token ID).
absolute HTTPS URL
UTC retrieval time.
complete is false when a warning names an omission, such as market_limit, level_limit, point_limit, comment_row_limit or stats_unavailable.
Always included.
Always included.
Always included.
Trading wallet the positions were read for.
Positions: proxy_wallet, condition_id, token_id, outcome, outcome_index, title, slug, event_slug and icon: the market and outcome the row belongs to. event_id, end_date, opposite_outcome, opposite_token_id, status, current_size, total_size, avg_price, current_price, current_value, entry_cost_usdc, entry_fees_usdc, total_cost_usdc, realized_pnl, unrealized_pnl, total_pnl, percent_pnl, percent_realized_pnl, first_entry_at, last_event_at (Unix seconds), redeemable, mergeable, negative_risk, archived, name, profile_image and verified.
up to 1000 items
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Cursor for the next page, or null when the source has no further page.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with level_limit, point_limit, market_limit, comment_row_limit or *_unavailable warnings. |
| 400 | invalid_request | Missing, duplicate, conflicting, unsafe or unsupported parameters, a URL outside polymarket.com, or a cursor the source rejects. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 404 | not_found | Unknown event, market, outcome, token, series, handle or wallet. |
| 429 | upstream_rate_limited | Polymarket throttled the request; no automatic retry. |
| 502 | upstream_challenged | Polymarket rejected the request or answered with a challenge page. |
| 502 | unsupported_page | Malformed, mismatched or non-JSON source data, or a profile page without its wallet address. |
| 502 | response_too_large payload_too_complex | Response exceeded byte or parsing limits. |
| 502 | unsafe_redirect request_limit upstream_error | Bounded source retrieval could not complete. |
| 503 | busy | All worker slots and queue places are occupied. |
| 504 | timeout | Total request deadline expired. |