GET /v2/activity

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

List a wallet's activity feed (trades, splits, merges, redeems, rewards).

Parameters

nameintypedescription
userquerystrrequiredWallet address of the user (lowercased)
example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf
limitqueryintoptionalPage size (max 500 on gamma lists)
default: 20
example: 2
cursorquerystroptionalOpaque keyset cursor from pagination.next_cursor — omit on the first page
typequerystroptionalActivity type filter (TRADE, SPLIT, MERGE, REDEEM, REWARD, CONVERSION, …)
example: TRADE
conditionquerystroptionalMarket condition id (0x…) — v2 accepts condition/condition_id/conditionId
example: 0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe
event_idquerystroptionalComma-separated numeric event ids
example: 1417289
sidequerystr
BUY | SELL
optionalTrade/activity side filter
example: BUY
startqueryintoptionalInclusive unix-seconds lower bound
example: 1794900000
endqueryintoptionalInclusive unix-seconds upper bound
example: 1795028400
sort_byquerystroptionalSort field accepted by the endpoint (see response_note)
example: TIMESTAMP
sort_directionquerystr
ASC | DESC
optionalSort direction
example: DESC
exclude_deposits_withdrawalsquerybooloptional
default: False

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/activity?user=0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf&limit=2&type=TRADE&condition=0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe&event_id=1417289&side=BUY&start=1794900000&end=1795028400&sort_by=TIMESTAMP&sort_direction=DESC"