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 freeList a wallet's activity feed (trades, splits, merges, redeems, rewards).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
user | query | str | required | Wallet address of the user (lowercased) example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf |
limit | query | int | optional | Page size (max 500 on gamma lists) default: 20example: 2 |
cursor | query | str | optional | Opaque keyset cursor from pagination.next_cursor — omit on the first page |
type | query | str | optional | Activity type filter (TRADE, SPLIT, MERGE, REDEEM, REWARD, CONVERSION, …) example: TRADE |
condition | query | str | optional | Market condition id (0x…) — v2 accepts condition/condition_id/conditionId example: 0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe |
event_id | query | str | optional | Comma-separated numeric event ids example: 1417289 |
side | query | strBUY | SELL | optional | Trade/activity side filter example: BUY |
start | query | int | optional | Inclusive unix-seconds lower bound example: 1794900000 |
end | query | int | optional | Inclusive unix-seconds upper bound example: 1795028400 |
sort_by | query | str | optional | Sort field accepted by the endpoint (see response_note) example: TIMESTAMP |
sort_direction | query | strASC | DESC | optional | Sort direction example: DESC |
exclude_deposits_withdrawals | query | bool | optional | 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"