polymarket_trades
Pack: polymarket · Endpoint: https://gateway.pipeworx.io/polymarket/mcp
Recent EXECUTED trades (the fills tape) for a Polymarket market — actual money that changed hands, newest first. Each trade: side (BUY/SELL), outcome (Yes/No or the option name), size (shares), price, timestamp, and the trader’s wallet/pseudonym. Use for “what’s the recent order flow”, “is smart money buying Yes”, “how much just traded and at what price”. DISTINCT from polymarket_orderbook (resting/unfilled orders — intent) and polymarket_price_history (the CP time-series). Pass a market slug or numeric id (same input as polymarket_market).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug_or_id | string | yes | Market slug (e.g. “will-trump-win-2024”) or numeric id — same input as polymarket_market. |
limit | number | no | Number of recent trades to return (1-100, default 20) |
Example call
Arguments
{
"slug_or_id": "will-trump-win-2024",
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/polymarket/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"polymarket_trades","arguments":{"slug_or_id":"will-trump-win-2024","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('polymarket_trades', {
"slug_or_id": "will-trump-win-2024",
"limit": 20
});
More examples
{
"slug_or_id": "will-bitcoin-hit-150k-by-june-30-2026",
"limit": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"polymarket": {
"url": "https://gateway.pipeworx.io/polymarket/mcp"
}
}
}
See Getting Started for client-specific install steps.