Get Polymarket trades
polymarket_get_tradesFetch recent Polymarket trades by market conditionId or wallet address, returning price, size, side, outcome, and timestamps to inspect market activity or wallet history.
Instructions
Get recent trades — either a MARKET's tape (who traded, at what price) or a WALLET's trade history.
Provide market (a conditionId) for the market tape, OR wallet for that address's trades.
Args:
market (string, optional): market conditionId (0x…). Provide this OR wallet.
wallet (string, optional): 0x… address. Provide this OR market.
taker_only (boolean): only taker trades (default true); false adds maker fills for the full tape.
limit (number): max trades, 1-100 (default 20).
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { market, user, count, trades:[{ wallet, name, side, outcome, price, size, usdcSize, timestamp, iso, conditionId, title, slug, transactionHash }] }. Errors: "Provide either 'market' or 'wallet'." if neither is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max trades to return (1-100, default 20). | |
| market | No | Market conditionId (0x…) for that market's recent trade tape. Provide this OR wallet. | |
| wallet | No | Wallet address for that wallet's trade history. Provide this OR market. | |
| taker_only | No | Only taker trades (default true); false adds maker fills for the full tape. | |
| response_format | No | Output format: 'markdown' (concise, human-readable; default) or 'json' (full structured data). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| count | Yes | ||
| market | Yes | ||
| trades | Yes |