Documentation Index
Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
Single-market outright winner (e.g. Polymarket two-outcome moneyline).
One side of a split head-to-head moneyline (typically 2-3 markets per event: per-team Yes/No for a single game/half/quarter/period, plus optional Tie). Group all markets in an event with this role to reconstruct the logical moneyline.
One entrant in a large-field tournament/championship outright (e.g. Kalshi “NBA Champion?” with one Yes/No market per team in the league). Distinct from MONEYLINE_OUTCOME by field size and event shape.
Point spread / handicap.
Over/under total.
Player or team prop.
One bucket of a price-threshold ladder (e.g. “BTC > $80k”).
One bucket of a date ladder (e.g. “Before 2027”).
Exotic market (BTTS, correct score, method of victory, etc.).
Fallback.
Used By
Returned by- eventScopedFilterPredictionMarkets: Filters prediction markets within a single event and returns structured classification metadata for each market. Use this instead of
filterPredictionMarketswhen you need entrant/segment/ladder details (country codes, period+stat grouping, parsed numeric/date rungs) without re-parsing labels client-side. - filterPredictionEvents: Filters prediction events using optional text, IDs, and ranking criteria.
- filterPredictionMarkets: Filters prediction markets using optional text, IDs, event constraints, and ranking criteria.