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.

attribute
PredictionMarketRankingAttribute
Market-level attribute to rank by (use this OR outcome + outcomeAttribute) See PredictionMarketRankingAttribute
outcome
PredictionOutcomeIndex
Which outcome to rank by (required when using outcomeAttribute) See PredictionOutcomeIndex
outcomeAttribute
PredictionOutcomeRankingAttribute
Outcome-level attribute to rank by (requires outcome to be set) See PredictionOutcomeRankingAttribute
direction
RankingDirection
The sort direction. See RankingDirection

Used By

Used as input 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.
  • filterPredictionMarkets: Filters prediction markets using optional text, IDs, event constraints, and ranking criteria.