> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oddpool.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Historical trades

> Every trade execution on a Kalshi market.

Every trade execution on a Kalshi market. Kalshi only surfaces the taker's buy side in public data.

## Parameters

**market\_id** `string` *required*

Kalshi market ticker (e.g., `KXFEDDECISION-26APR-H0`).

**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

```bash theme={null}
curl -H "X-API-Key: oddpool_..." \
  "https://api.oddpool.com/historical/kalshi/trades?market_id=KXFEDDECISION-26APR-H0&start_time=1774015200000&end_time=1774018800000"
```

## Response

```json theme={null}
{
  "trades": [
    {
      "market_id": "KXFEDDECISION-26APR-H0",
      "timestamp": 1774015436710,
      "taker_side": "yes",
      "price": "0.9500",
      "size": 105.0,
      "trade_id": "4bd8859f-eeaf-685e-e4b5-e9f17516b89c"
    }
  ],
  "pagination": { ... }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.