Skip to main content
GET
/
historical
/
polymarket
/
trades
Historical trades
curl --request GET \
  --url https://api.oddpool.com/historical/polymarket/trades
Trade executions on a Polymarket market. Polymarket trades can be BUY or SELL. Use asset_id to filter to a specific token.

Parameters

market_id
string
required
Polymarket condition ID (0x...).
asset_id
string
Filter by specific token ID.
start_time
integer
Start time in Unix ms.
end_time
integer
End time in Unix ms.
limit
integer
default:"100"
Max rows per page (1-200).
pagination_key
string
Cursor from previous response for next page.

Example

curl -H "X-API-Key: oddpool_..." \
  "https://api.oddpool.com/historical/polymarket/trades?market_id=0x36e8ca24...&start_time=1774015200000&end_time=1774018800000"

Response

{
  "trades": [
    {
      "asset_id": "56914066788195652124...",
      "market_id": "0x00000977017fa72fb6b1...",
      "timestamp": 1774020951044,
      "side": "BUY",
      "price": "0.987",
      "size": 1.317,
      "transaction_hash": "0x554c0b25544baa5f...",
      "fee_rate_bps": "0"
    }
  ],
  "pagination": { ... }
}