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

# PredictionMarketsInput

> Input type of `predictionMarkets`. PredictionMarketsInput input object reference: every field and its type.

## GraphQL

```
input PredictionMarketsInput {
  marketIds: [String!]!
}
```

### Used By

**Used as input by**

* [predictionMarkets](https://docs.codex.io/api-reference/queries/predictionmarkets.md): Returns prediction markets by ID.


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