Skip to main content

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.

Prediction Market data is currently in beta. It is actively being worked on and improved, but may be unreliable. Polymarket and Kalshi data are live.At least for the time being, this endpoint requires a Growth or Enterprise plan. Learn more.
This endpoint requires a Growth or Enterprise plan. Learn more.

Returns

EventScopedPredictionMarketFilterConnection
EventScopedPredictionMarketFilterConnection
See EventScopedPredictionMarketFilterConnection

Arguments

eventId
String!
required
The ID of the prediction event to scope the query to. Required.
filters
PredictionMarketFilters
A set of filters to apply. See PredictionMarketFilters
phrase
String
A phrase to search for. Can match market label, outcome labels, or event label.
marketIds
[String!]
A list of market IDs to filter by (further restricts within the event).
excludeMarketIds
[String!]
A list of market IDs to exclude from results.
rankings
[PredictionMarketRanking!]
A list of ranking attributes to apply. See PredictionMarketRanking
limit
Int
The maximum number of markets to return.
offset
Int
Where in the list the server should start when returning items.