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

# PredictionMarketSegment

> Sports sub-event segment (period and/or stat). PredictionMarketSegment type reference: every field and its type.

## GraphQL

```
type PredictionMarketSegment {
  type: PredictionMarketSegmentType!
  period: String
  stat: PredictionMarketStatType
  groupingKey: String!
  numberValue: Float
}

enum PredictionMarketSegmentType {
  STAT
  PERIOD
  NONE
}

enum PredictionMarketStatType {
  POINTS
  REBOUNDS
  ASSISTS
  THREES
  STEALS
  BLOCKS
  TURNOVERS
  FOULS
  DOUBLE_DOUBLE
  TRIPLE_DOUBLE
  FIRST_INNING_RUNS
}
```

### Used By

**Returned by**

* [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.


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