Prediction Hunt/ API
REST API / Polymarket / Wallet Activity

Wallet Activity (Polymarket)

Complete activity feed for a Polymarket wallet — every TRADE, SPLIT, MERGE, REDEEM, CONVERSION, and REWARD event in one clean, consistent schema.

GET/v2/polymarket/activity

Query Parameters

userstring (query)Required

Wallet address — must match ^0x[a-fA-F0-9]{40}$.

typestring

Optional. Filter to a single event type: TRADE | SPLIT | MERGE | REDEEM | CONVERSION | REWARD.

marketstring

Optional. Filter to a single market by condition_id.

limitinteger

Optional. Page size (default 100, max 500).

offsetinteger

Optional. Page offset (default 0).

Response Schema

userstring

Wallet address (lowercased).

limitinteger

Page size returned (max 500).

offsetinteger

Page offset.

countinteger

Number of activity rows returned in this page.

has_moreboolean

True when count == limit, indicating another page may exist. Use offset += limit to fetch the next page.

activityarray

Per-event records with a clean, consistent snake_case schema.

proxy_walletstring

Polymarket proxy wallet that performed the action.

condition_idstring

Market condition ID.

typestring

TRADE | SPLIT | MERGE | REDEEM | CONVERSION | REWARD.

outcomestring

Outcome label (e.g. "Yes").

outcome_indexinteger

Outcome index in the market.

usdc_sizenumber

USDC amount of the event.

fee_amountnumber

Taker fee paid for this event in USDC.

bonus_amountnumber

Bonus/incentive amount, if any.

transaction_hashstring

Polygon tx hash.

timestampinteger

Unix seconds of the event.

_metaobject

Source and cache metadata.

sourcestring

Data source identifier.

cachestring

hit | miss — whether the response was served from the low-latency cache or freshly resolved.

cache_secondsinteger

Cache window in seconds.

Error Responses

All errors return the same envelope. The code field is stable and programmatically branchable; error and message are human-readable. errors[] is present only on validation failures with field-level detail. See the full error code reference →

successboolean

Always `false` on error responses.

errorstring

Short, human-readable title (e.g. 'Invalid API Key.').

messagestring

Human-readable explanation for the error. Safe to surface in UIs.

codestring

Stable, hierarchical machine-readable code (e.g. 'validation.invalid_enum'). Use for programmatic handling.

doc_urlstring

Link to this code's entry in the Error Reference.

errorsobject[]

Optional. Present only on validation failures with field-level detail.

fieldstring

Name of the offending parameter.

codestring

Field-level machine code.

messagestring

Human-readable explanation.

Authentication

API Key

To secure your requests, we strongly recommend passing your API key via the X-API-Key header. This prevents sensitive keys from being exposed in access logs or browser history.

Request HeaderX-API-Key: pmx_test_5e8f...

Rate Limits

API rate limits are enforced based on the tier associated with your API key. Limits are tracked on two dimensions: requests per second and requests per month. Each completed request counts toward the global monthly quota. Separate endpoint-group monthly limits (matched markets, arbitrage, EV) only advance when the response body has success: true.

Usage is returned on responses via headers such as:

Response Headers (global)X-RateLimit-Limit-Second: 10X-RateLimit-Remaining-Second: 9X-RateLimit-Limit-Month: 1000X-RateLimit-Remaining-Month: 842Example (endpoint-group, when applicable)X-RateLimit-Limit-Arb-Month: 500X-RateLimit-Remaining-Arb-Month: 412

If you exceed a rate limit, the API returns a 429 status with a Retry-After header indicating when you can resume.

Request

Live API Key

Demo Mode
Verified

Parameters

Wallet AddressRequired
Type (optional)
Limit (optional)

Response

Click EXECUTE to send a request →