> ## 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.

# SportsMarketEnrichedMetadata

> Sports-domain enrichment for a market within an event. SportsMarketEnrichedMetadata type reference: every field and its type.

## GraphQL

```
type SportsMarketEnrichedMetadata {
  sportsMarketType: String
  league: String
  teams: [SportsTeam!]
  gameStartDate: String
  gameStartTime: String
  gameStartTimeSeconds: Int
  gameStartTimezone: SportsTimezone
}

type SportsTeam {
  abbreviation: String!
  altAbbreviations: [String!]
  name: String
  league: String
  logo: String
  alias: String
  color: String
  providerId: Int
  isHome: Boolean
}

enum SportsTimezone {
  UTC
}
```

### Used By

**Returned by**

* [detailedPredictionEventStats](https://docs.codex.io/api-reference/queries/detailedpredictioneventstats.md): Returns windowed and all-time stats for a prediction event.
* [detailedPredictionMarketStats](https://docs.codex.io/api-reference/queries/detailedpredictionmarketstats.md): Returns windowed and all-time stats for a prediction market.
* [eventScopedFilterPredictionMarkets](https://docs.codex.io/api-reference/queries/eventscopedfilterpredictionmarkets.md): 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](https://docs.codex.io/api-reference/queries/filterpredictionmarkets.md): Filters prediction markets using optional text, IDs, event constraints, and ranking criteria.
* [filterPredictionTraderMarkets](https://docs.codex.io/api-reference/queries/filterpredictiontradermarkets.md): Filters trader-market records using trader, market, event, and ranking criteria.
* [onPredictionTradesCreated](https://docs.codex.io/api-reference/subscriptions/onpredictiontradescreated.md): Streams new prediction trades as they are ingested.
* [predictionEventBars](https://docs.codex.io/api-reference/queries/predictioneventbars.md): Returns bar data for a prediction event.
* [predictionEventTopMarketsBars](https://docs.codex.io/api-reference/queries/predictioneventtopmarketsbars.md): Returns bar data for top markets inside a prediction event.
* [predictionMarketBars](https://docs.codex.io/api-reference/queries/predictionmarketbars.md): Returns OHLC-style bar data for a prediction market.
* [predictionMarkets](https://docs.codex.io/api-reference/queries/predictionmarkets.md): Returns prediction markets by ID.
* [predictionTraderHoldings](https://docs.codex.io/api-reference/queries/predictiontraderholdings.md): Returns all prediction token holdings for a specific trader.
* [predictionTraderMarketsStats](https://docs.codex.io/api-reference/queries/predictiontradermarketsstats.md): Returns per-market performance stats for a specific trader.
* [predictionTrades](https://docs.codex.io/api-reference/queries/predictiontrades.md): Returns prediction trades with cursor-based pagination.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.