Polymarket Market Trades
polymarket_market_tradesONE Polymarket market's trades WITH the wallet behind each, newest first, paged: who traded, which side, how many shares and at what price, from 2026-01-01 to a few minutes ago, read from the on-chain trade tape. Takes the market's condition_id (0x plus 64 hex digits, from polymarket_markets or polymarket_market_detail), NOT an outcome token id. Returns {trades, has_more, next_cursor}; while has_more is true pass next_cursor back as cursor for the next, older page. from_ms is inclusive and to_ms exclusive (epoch ms). A page is 100 rows by default and at most 10,000; a row is ~430 characters (a 66-character transaction hash and a 42-character wallet), so ask for what the context window holds. ONE ROW IS ONE ORDER'S FILL, NOT ONE MATCH: a match is several rows (the resting maker orders that were hit, plus one taker row for the aggressor, whose size is the sum of theirs), so never add size * price over both roles. A few percent of fills are merged away, so a count can sit slightly under the on-chain total. proxy_wallet is Polymarket's proxy wallet, not necessarily the person's own address. For the recorded order book (no wallets) use polymarket_tape; for one wallet's whole record use polymarket_wallet.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"condition_id": "<condition_id>"
},
"name": "polymarket_market_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (default 100, max 10000, as the REST route). | |
| to_ms | No | Trade time, epoch milliseconds, EXCLUSIVE; must be greater than from_ms. Omit for no upper bound. | |
| cursor | No | The previous page's next_cursor, passed back unchanged. | |
| from_ms | No | Trade time, epoch MILLISECONDS, inclusive. Omit for the first trade. | |
| condition_id | Yes | The market's condition id: 0x followed by 64 hex digits. |