Skip to main content
Use this endpoint to pull a wallet’s complete trading history — every Buy, Sell, and Redeem action across all Polymarket markets the wallet has touched, ordered newest-first. Each record tells you what happened, which market it occurred in, at what price and size, and how much USDC moved as a result. This endpoint is the starting point for portfolio analysis, PnL reconstruction, or auditing a specific trader’s on-chain activity.

Request

GET https://orbscan.com/open-api/v1/trader/{address}/activity

Path Parameters

string
required
The wallet address to query. Must be a valid Ethereum-style address.Example: 0x6a72f61820b26b1fe4d956e17b6dc2a1ea3033ee

Query Parameters

array
Filter results to one or more market IDs. Repeat the parameter to pass multiple values — for example, ?marketIds=2707644&marketIds=2682268. Each value is a string market ID as returned by Polymarket.
string
Filter to a single transaction hash. The value is automatically lower-cased before matching, so you can pass either mixed- or lower-case hashes.Example: 0x71bf46c3089e2349a62ec6b93638522e8cc635a9836f1308ac7621ce1ecbb609
integer
Only return activity at or after this block height.
integer
Only return activity at or before this block height.
integer
Only return activity at or after this Unix timestamp, in seconds (int64).Example: 1782700000
integer
Only return activity at or before this Unix timestamp, in seconds (int64).
string
Pagination cursor. Pass the nextCursor value (an opaque base64 string) returned by the previous response to fetch the next page. Omit this parameter to start from the first (most recent) page.
integer
Number of records to return per page. Defaults to 50. Maximum is 100; values above 100 are capped automatically.

Example Request

Response

boolean
true when the request succeeds, false otherwise.
string
Application-level status code. "0" indicates success.
string
Human-readable status message, for example "success".
object
Container for the paginated results.

Example Response

Filtering

Combine any of the query parameters below to narrow the results returned. All filters are optional and can be used together.
  • marketIds — restrict results to one or more specific markets. Repeat the parameter for each market ID you want: ?marketIds=2707644&marketIds=2682268. This is useful when you need the history for a wallet within a particular market.
  • txHash — retrieve the activity record(s) for a single on-chain transaction. Helpful when you already have a hash from an explorer and want the decoded Polymarket context.
  • fromBlock / toBlock — bound the query by block height. For example, ?fromBlock=88000000&toBlock=88500000 returns only activity within that block range.
  • fromTimestamp / toTimestamp — bound the query by time. Values are Unix timestamps in seconds. For example, ?fromTimestamp=1782700000&toTimestamp=1782900000 returns activity within a roughly 2.3-day window.
All price values are in cents, not dollars. A price of 78.0 means 78¢ per share, not $78. Divide by 100 to convert to dollars.