Trades
Every executed fill on a given market, both outcomes interleaved, sorted by timestamp ascending.
List trades
GET/v1/markets/{conditionId}/trades
Query parameters
| Field | Type | Description |
|---|---|---|
| side | string | Filter to one side: yes or no. Omit to include both. |
| from | ISO 8601 | Start of the window. Optional. |
| to | ISO 8601 | End of the window. Optional. |
| limit | integer | Page size, 1–1000. Defaults to 100. |
| offset | integer | Number 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
}
}