AymarData

Historical trades for a market.

GET /v1/trades

Request

GET /v1/trades?source=polymarket&market=btc-updown-15m-1792681200&outcome=up&start=2026-10-22T15:00:00Z&end=2026-10-22T16:00:00Z&limit=500
Authorization: Bearer YOUR_API_KEY

Response

{
  "data": [
    {
      "trade_id": "tr_9f2c81",
      "ts_exchange": "2026-10-22T14:30:01.004Z",
      "price": 0.53,
      "size": 250,
      "side": "buy"
    }
  ],
  "next_cursor": null
}

next_cursor is reserved for pagination (currently always null). Empty data means no fills in the window.