Skip to main content

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.

MONEYLINE
enum
Single-market outright winner (e.g. Polymarket two-outcome moneyline).
MONEYLINE_OUTCOME
enum
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.
ENTRANT
enum
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.
SPREAD
enum
Point spread / handicap.
TOTAL
enum
Over/under total.
PROP
enum
Player or team prop.
THRESHOLD_BUCKET
enum
One bucket of a price-threshold ladder (e.g. “BTC > $80k”).
DATE_BUCKET
enum
One bucket of a date ladder (e.g. “Before 2027”).
EXOTIC
enum
Exotic market (BTTS, correct score, method of victory, etc.).
OTHER
enum
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 filterPredictionMarkets when 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.