Return every trade for a market token in a single response. Growth plan or above.
Returns every onchain trade fill for one market token in a single response. The server walks the full trade history with parallel time-bucketed queries server-side — you don’t need to paginate. Each trade is enriched with market metadata. This is the right endpoint when you want bulk-export a market for analysis, indexing, or backtesting. For interactive UIs that just need the most recent N fills, use the standard Market Trade History instead.Documentation Index
Fetch the complete documentation index at: https://polynode.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Location | Description |
|---|---|---|---|
token_id | string | path | CTF token ID (numeric string) |
from | integer | query | Optional start of window in unix seconds. Default: 2024-01-01 (covers all Polymarket history) |
to | integer | query | Optional end of window in unix seconds. Default: now |
| Field | Type | Description |
|---|---|---|
token_id | string | The CTF token ID requested |
from_ts / to_ts | integer | Resolved time window in unix seconds |
count | integer | Total trades returned (≤ 250,000) |
partial | boolean | true if either the 250K hard cap or the 180s wall-clock budget was hit before the full window was walked |
partial_reason | string | null | "hard_cap_250000" or "wall_clock_180s" when partial; otherwise null |
fetched_in_ms | integer | Server-side fetch time. Cached calls show the original miss time |
cache | string | "hit" if served from Redis cache, "miss" if freshly walked |
trades | array | All trades, sorted by timestamp descending (newest first) |
| Field | Type | Description |
|---|---|---|
tx_hash | string | Polygon transaction hash |
order_hash | string | Order hash from the exchange |
timestamp | integer | Unix seconds when the fill settled |
maker | string | Maker address |
taker | string | Taker address |
token_id | string | The outcome token id (echoes the request param) |
direction | string | "BUY" or "SELL" from the maker’s perspective |
price | number | USDC per share, 4-decimal precision |
shares | number | Outcome tokens traded |
usd | number | USDC notional |
fee | number | Maker fee paid (USDC) |
403 Tier required:
401 No API key:
token_id. A condition_id variant that returns both tokens in one call is on the roadmap.partial: true results are not cached. Subsequent calls re-attempt the full walk. Tighten the time window with from/to if you keep hitting the cap.(token_id, from_ts, to_ts). Different windows are cached independently. Default-window calls (no from/to) share a cache slot.