GET /v2/positions

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/polymarket/v2/positionsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

List positions for a user or a market, including the closed lifecycle via status.

Parameters

nameintypedescription
userquerystrrequiredWallet address of the user (lowercased)
example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf
conditionquerystroptionalMarket condition id (0x…) — v2 accepts condition/condition_id/conditionId
example: 0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe
limitqueryintoptionalPage size (max 500 on gamma lists)
default: 20
example: 2
cursorquerystroptionalOpaque keyset cursor from pagination.next_cursor — omit on the first page
statusquerystr
OPEN | REDEEMABLE | REDEEMABLE_LOST | MERGEABLE | CLOSED
optionalPosition lifecycle filter — OPEN (default), REDEEMABLE, REDEEMABLE_LOST, MERGEABLE, CLOSED
example: OPEN
event_idquerystroptionalComma-separated numeric event ids
example: 1417289
titlequerystroptionalCase-insensitive market-title filter
filter_typequerystroptionalAmount filter mode (e.g. CASH, SHARES)
filter_amountqueryfloatoptionalMinimum amount for filter_type
include_archivedquerybooloptional
default: False
sort_byquerystroptionalSort field accepted by the endpoint (see response_note)
example: TIMESTAMP
startqueryintoptionalInclusive unix-seconds lower bound
example: 1794900000
endqueryintoptionalInclusive unix-seconds upper bound
example: 1795028400
sort_directionquerystr
ASC | DESC
optionalSort direction
example: DESC

Response

type: object
cursor key: next_cursor
pagination: cursor
sample: {
  "data": "array[2]",
  "pagination": "object"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/v2/positions?user=0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf&condition=0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe&limit=2&status=OPEN&event_id=1417289&sort_by=TIMESTAMP&start=1794900000&end=1795028400&sort_direction=DESC"