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

<div data-generated>
  ## GraphQL

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

  ### Used By

  **Used as input by**

  * [predictionMarkets](/api-reference/queries/predictionmarkets.md): Returns prediction markets by ID.
</div>


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