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

# PredictionMarketDateBucket

> Date-bucket metadata for DATE_BUCKET-role markets. PredictionMarketDateBucket type reference: every field and its type.

## GraphQL

```
type PredictionMarketDateBucket {
  operator: PredictionMarketDateOperator!
  unixTimestamp: Int
  lowerTimestamp: Int
  upperTimestamp: Int
}

enum PredictionMarketDateOperator {
  BEFORE
  AFTER
  ON
  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.