This FastAPI service surfaces Kalshi markets stored in PostgreSQL and augments them with live candlestick data pulled directly from Kalshi. Use the endpoints below to fetch markets, inspect a single ticker, or retrieve candlesticks for multiple tickers in one call.
GET /markets — Query markets with filtering,
sorting, and pagination. Use max_duration_minutes and
min_duration_minutes to constrain the gap between
open_time and close_time.
GET /markets/{ticker} — Fetch a single market by its ticker.
POST /markets/candlesticks — Retrieve candlestick data
for one or more tickers. Optional timestamps define the range and
period_interval sets the candle width in minutes.
See the README_FASTAPI for setup instructions,
authentication details, and usage examples.