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.
The ID of the prediction event.
The prediction event.
See PredictionEvent
Show Properties
Show Properties
The unique identifier.
The prediction protocol.
See PredictionProtocol
The venue-specific event ID.
The venue-specific series ID.
The question or title.
The external URL.
Primary rules text.
Secondary rules text.
Tags associated with this entity.
The timestamp when this entity opens.
The timestamp when this entity closes.
The expected resolution timestamp.
The actual resolution timestamp.
The resolution details.
See PredictionResolution
URL of the large image.
URL of the thumbnail image.
URL of the small image.
The creation timestamp.
The last update timestamp.
The network ID.
Associated market IDs.
Categories associated with this entity.
See PredictionCategory
Show Properties
Show Properties
Per-domain structured enrichment (sports league/teams/start times today; new domains added over time). Null when no domain-specific signal extracted.
See PredictionEventEnrichedMetadata
Show Properties
Show Properties
Discriminator naming which sub-block carries data.
See PredictionMetadataType
Show Properties
Show Properties
Sports games (league, teams, start times).
Populated when
metadataType = SPORTS.
See SportsEventEnrichedMetadataShow Properties
Show Properties
Soft-normalised league/sport identifier (e.g. NBA, NFL, EPL). Free string to tolerate new venues; well-known values match the canonical set.
Teams participating in the game, when known. Null when the venue does not expose teams.
See SportsTeam
Show Properties
Show Properties
Lowercased venue-canonical abbreviation.
Known alternate forms for the same team (rebrands, relocations, 2-vs-3-letter conventions). Excludes
abbreviation.Display name.
Soft-normalised league for this team.
Logo URL.
Display alias.
Brand colour.
Provider-side identifier (e.g. Polymarket gamma id).
Whether this team is the home team in the event.
Game-start date in UTC (“YYYY-MM-DD”). Derived from
gameStartTime when present.Game-start clock value as canonical UTC ISO-8601.
Game-start as Unix seconds (UTC).
Timezone discriminator for
gameStartTime / gameStartDate. Always UTC for any record produced after the ET→UTC normalisation rollout.
See SportsTimezoneShow Properties
Show Properties
UTC.
gameStartTime is canonical ISO-8601; gameStartTimeSeconds populated.Decomposed venue ticker (parsed components from the venue’s native event identifier). Useful for cross-venue matching when canonical league/teams fields don’t disambiguate.
See DecomposedVenueTicker
Show Properties
Show Properties
Populated for Kalshi events whose ticker matches the sports template.
See KalshiSportsTickerComponents
Show Properties
Show Properties
Original ticker string.
Series prefix (e.g. “KXMLBGAME”).
Soft-normalised series sport.
Raw uppercase team-tail captured from the ticker (e.g. “1WINTUNDRA”). Present when the parser matched the structural shape.
Populated only when the parser can confidently split the team tail.
Populated only when the parser can confidently split the team tail.
The prediction markets.
See PredictionMarket
Show Properties
Show Properties
The unique identifier.
The prediction protocol.
See PredictionProtocol
The venue-specific market ID.
The venue-specific market slug.
The ID of the prediction event.
The venue-specific event ID.
The question or title.
The display label.
A clean, UI-ready label derived from
label/question with the parent event name stripped (and Kalshi Yes:/No: prefixes unwrapped). Falls back to question when label is missing or unknown.The parent event label.
Primary rules text.
Secondary rules text.
Venue-specific outcome IDs.
Internal outcome IDs.
Labels for each outcome.
The resolution details.
See PredictionResolution
URL of the large image.
URL of the thumbnail image.
URL of the small image.
The creation timestamp.
The last update timestamp.
The timestamp when this entity opens.
The timestamp when this entity closes.
The expected resolution timestamp.
The actual resolution timestamp.
The last observation timestamp.
The network ID.
The exchange contract address.
Categories associated with this entity.
See PredictionCategory
Show Properties
Show Properties
The ID of the winning outcome.
Per-domain structured enrichment (sports market type/teams/start times today). Null when no domain-specific signal extracted.
See PredictionMarketEnrichedMetadata
Show Properties
Show Properties
Discriminator naming which sub-block carries data.
See PredictionMetadataType
Show Properties
Show Properties
Sports games (league, teams, start times).
Populated when
metadataType = SPORTS.
See SportsMarketEnrichedMetadataShow Properties
Show Properties
Market template slug (e.g. “moneyline”, “spreads”, “totals”, “ufc_method_of_victory”). Free string — list grows as venues add templates.
Soft-normalised league identifier (mirrors the parent event).
Teams referenced by this market, when known.
See SportsTeam
Show Properties
Show Properties
Lowercased venue-canonical abbreviation.
Known alternate forms for the same team (rebrands, relocations, 2-vs-3-letter conventions). Excludes
abbreviation.Display name.
Soft-normalised league for this team.
Logo URL.
Display alias.
Brand colour.
Provider-side identifier (e.g. Polymarket gamma id).
Whether this team is the home team in the event.
Game-start date in UTC (“YYYY-MM-DD”). Derived from
gameStartTime when present.Game-start clock value as canonical UTC ISO-8601.
Game-start as Unix seconds (UTC).
Timezone discriminator for
gameStartTime / gameStartDate. Always UTC for any record produced after the ET→UTC normalisation rollout.
See SportsTimezoneShow Properties
Show Properties
UTC.
gameStartTime is canonical ISO-8601; gameStartTimeSeconds populated.The bar data.
See PredictionEventBar
Show Properties
Show Properties
The unix timestamp for this bar.
Volume in USD.
Buy volume in USD. Null if protocol doesn’t provide directional data.
Sell volume in USD. Null if protocol doesn’t provide directional data.
The total volume usd.
The venue volume usd. Null if protocol doesn’t provide venue volume.
Volume in collateral token units.
Buy volume in collateral token units.
Sell volume in collateral token units.
Total volume in collateral token (nullable for old aggregates)
Venue volume in collateral token (nullable for old aggregates)
The number of trades.
The number of unique traders. Null if protocol doesn’t track unique traders.
The last event timestamp.
Liquidity in USD. Null if protocol doesn’t provide liquidity data.
See PredictionEventBarOhlc
Liquidity OHLC in collateral token (nullable for old aggregates)
See PredictionEventBarOhlc
Open interest in USD. Null if protocol doesn’t provide open interest data.
See PredictionEventBarOhlc
Used By
Returned by- predictionEventBars: Returns bar data for a prediction event.