Trades

Every executed fill on a given market, both outcomes interleaved, sorted by timestamp ascending.

List trades

GET/v1/markets/{conditionId}/trades

Query parameters

FieldTypeDescription
sidestringFilter to one side: yes or no. Omit to include both.
fromISO 8601Start of the window. Optional.
toISO 8601End of the window. Optional.
limitintegerPage size, 1–1000. Defaults to 100.
offsetintegerNumber of rows to skip. Defaults to 0.

Example request

terminal
curl https://polyreplay.dev/api/v1/markets/0xabc123.../trades \
  -H "Authorization: Bearer pr_xxx" \
  -G \
  --data-urlencode "from=2025-03-31T22:00:00Z" \
  --data-urlencode "to=2025-03-31T23:00:00Z"

Response

200 OK
{
  "data": [
    {
      "ts": "2025-03-31T22:01:47Z",
      "side_token": "YES",
      "side": "BUY",
      "price": 0.63,
      "size": 420.0,
      "fee_rate_bps": 0
    }
  ],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "total": 1284
  }
}