# Polymarket — List trades

Get Polymarket Trade History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as limit, and retrieve structured data including outcome token identifier, market condition identifier, matched trade price, matched trade size, and trade timestamp for activity views, and source joins, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-list-trades/b400e725-9688-44aa-81e4-1263d91efbc9/
API ID: b400e725-9688-44aa-81e4-1263d91efbc9
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v2/trades
Page update time: 2026-12-03T02:49:29.592Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:29.261Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Trade History API

Without user, the read can serve market, event or public-feed scope. data rows carry token\_id, condition\_id, side, price, size and transaction\_hash. start and end apply only to user-scoped reads; the other scopes have their own fixed windows.

## What You Can Build

- **Activity views**: Display matched trades with outcome and wallet context.
- **Source joins**: Retain transaction references when combining trade records.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data[].token_id` | Outcome token identifier |
| `data[].condition_id` | Market condition identifier |
| `data[].side` | Reported BUY or SELL side |
| `data[].price` | Matched trade price |
| `data[].size` | Matched trade size |
| `data[].timestamp` | Trade timestamp |
| `data[].transaction_hash` | Source transaction reference |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — List trades request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "user": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address to filter by; omit for the market/event/global feed."
        },
        "limit": {
          "type": [
            "integer",
            "null"
          ],
          "description": "First-page size. Ignored when `cursor` is supplied (the cursor's size wins).",
          "minimum": 0,
          "maximum": 1000
        },
        "cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque pagination cursor from a prior response's `next_cursor`."
        },
        "taker_only": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Defaults to `true`: each fill is served once, on its taker side.\n`false` includes the maker rows too."
        },
        "filter_type": {
          "type": [
            "string",
            "null"
          ],
          "description": "CASH or TOKENS; defaults to TOKENS."
        },
        "filter_amount": {
          "type": [
            "number",
            "null"
          ],
          "description": "Minimum trade size; defaults to 0.01, and 0 means the same."
        },
        "start": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Window start on `block_timestamp`, epoch seconds (inclusive); honored\non the `user` shape only. Omitted or `0` floors to three years back;\n`start=1` asks for full history. The `condition`/`event_id` shapes\nserve a fixed three-year window and the bare feed the rolling\ncurrent-plus-previous month, ignoring both bounds."
        },
        "end": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Window end, epoch seconds (inclusive); honored on the `user` shape\nonly; omitted or `0` means now plus one day."
        },
        "condition": {
          "type": [
            "string",
            "null"
          ],
          "description": "Condition id(s), comma-separated (at most 20 distinct values).\n`condition_id` / `conditionId` are accepted aliases."
        },
        "event_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Event id(s), comma-separated (at most 20 distinct values)."
        },
        "side": {
          "type": [
            "string",
            "null"
          ],
          "description": "BUY or SELL."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bio": {
            "type": "string"
          },
          "condition_id": {
            "type": "string"
          },
          "event_slug": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "outcome_index": {
            "type": "integer"
          },
          "price": {
            "type": "number"
          },
          "profile_image": {
            "type": "string"
          },
          "profile_image_optimized": {
            "type": "string"
          },
          "proxy_wallet": {
            "type": "string"
          },
          "pseudonym": {
            "type": "string"
          },
          "side": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "slug": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "token_id": {
            "type": "string"
          },
          "transaction_hash": {
            "type": "string"
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "limit": {
          "type": "integer"
        },
        "next_cursor": {
          "type": "string"
        },
        "offset": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v2/trades?limit=2' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "data": [
    {
      "bio": "",
      "condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
      "event_slug": "",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
      "name": "0x0C0B89762dE607A86D6a7D3D3DD4175408929d07-1791170879886",
      "outcome": "No",
      "outcome_index": 999,
      "price": 0.986,
      "profile_image": "",
      "profile_image_optimized": "",
      "proxy_wallet": "0x0c0b89762de607a86d6a7d3d3dd4175408929d07",
      "pseudonym": "Perfect-Puzzle-Shoe",
      "side": "BUY",
      "size": 8.07,
      "slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
      "timestamp": 1793282611,
      "title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
      "token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
      "transaction_hash": "0x5e5bd2b1b3feecb2f3df144a9ab27416d1a131ac0a81d046ec20b472f22b337e"
    },
    {
      "bio": "",
      "condition_id": "0x39b9308e565f5a95605b799fab8f0bf6d97cdeae77f742315b0755e605f3e357",
      "event_slug": "",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/test-nyc-weather-pciture-cgUEW73XBkei.jpg",
      "name": "0x1aBc2b469b5dED495d6C8B21Fc79dcb8d8f345E7-1778811281023",
      "outcome": "No",
      "outcome_index": 999,
      "price": 0.9896,
      "profile_image": "",
      "profile_image_optimized": "",
      "proxy_wallet": "0x1abc2b469b5ded495d6c8b21fc79dcb8d8f345e7",
      "pseudonym": "Pure-Eyeliner",
      "side": "BUY",
      "size": 9.0,
      "slug": "lowest-temperature-in-nyc-on-october-29-2026-52-53f",
      "timestamp": 1793282611,
      "title": "Will the lowest temperature in New York City be between 52-53°F on October 29?",
      "token_id": "93829812180784549388634961245407587691211652324002258468497543757720432955776",
      "transaction_hash": "0xc4db8a705168fca1122bc9e523727660d38cec6ed2bc8ec7425bf4be00613991"
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 2,
    "next_cursor": "eyJkYXRhIjp7InR5cGUiOiJ0cmFkZXMiLCJwYXJhbXMiOnsibCI6MiwidHMiOjE3OTMyODI2MTEsInNxIjoiOTYzODQ4MjEwMDA2MTA2MjEwIiwiZCI6Mn19LCJzaWciOiI1MzAzNjRjNDk5MjllNzU2MDkyNzI3Y2YyY2UxOWZiYyJ9",
    "offset": 0
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which scope can I query?
user is optional. Select a wallet, condition or event, or read the bare feed. Condition and event selectors accept comma-separated IDs, up to 20 distinct values each.

### What does taker_only change?
It defaults to true, serving each fill once on its taker side. false includes maker rows too, so do not treat all returned rows as distinct fills when aggregating.

### Do start and end filter every scope?
No. They are inclusive epoch-second bounds for user-scoped reads only. Other condition or event reads serve a fixed three-year window; the bare feed uses the current and previous month. For user history, omitted or zero start means three years back, while start=1 asks for full history.

### How do I continue the result?
Use next_cursor as cursor, keep the lookup scope and filters consistent, and retain the cursor-provided size. The first-page limit is at most 1000.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- Polymarket: https://openany.si/polymarket/polymarket-list-trades/b400e725-9688-44aa-81e4-1263d91efbc9/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
