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

# PredictionMarketThresholdBucket

> Numeric threshold-bucket metadata for THRESHOLD_BUCKET-role markets. PredictionMarketThresholdBucket type reference: every field and its type.

## GraphQL

```
type PredictionMarketThresholdBucket {
  metric: PredictionMarketLadderMetric!
  operator: PredictionMarketLadderOperator!
  numericValue: Float
  lowerBound: Float
  upperBound: Float
}

enum PredictionMarketLadderMetric {
  PRICE
  STOCK_PRICE
  FDV
  COMMODITY
  TEMPERATURE
  RATE_CHANGE_BPS
  ROTTEN_TOMATOES
  BOX_OFFICE
  TWEETS
  FOLLOWERS
  SUBSCRIBERS
  VIEWS
  LIKES
  POSTS
  OTHER
}

enum PredictionMarketLadderOperator {
  ABOVE
  BELOW
  EXACTLY
  BETWEEN
}
```

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