kalshi_markets_history
Retrieve candlestick history for up to 25 Kalshi markets in one call by providing market tickers; set start, end, and interval to batch-download grouped market data.
Instructions
Kalshi batch market history. Returns candlesticks for up to 25 Kalshi markets in one call. market_tickers is required, as a comma-separated list or repeated values. start_ts defaults to 7 days ago, end_ts to now and period_interval to 1440 minutes. Results are grouped by market. Ranges are capped at 366 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ts | No | Unix end timestamp in seconds. Defaults to now. | |
| start_ts | No | Unix start timestamp in seconds. Defaults to 7 days ago. | |
| market_tickers | Yes | Comma-separated Kalshi market tickers. Repeated query values are also accepted. | |
| period_interval | No | Candlestick interval in minutes. Default: 1440. | |
| include_latest_before_start | No | Include the latest candle before start_ts when supported upstream. |