---
url: "https://predictiontoolkit.com/tools/codex-prediction-markets/"
publisher: "PredictionToolkit"
dateModified: "2026-11-02"
---

[← Data APIs](<https://predictiontoolkit.com/polymarket-api/>) 

![Codex Prediction Markets API logo](<https://predictiontoolkit.com/assets/logo-codex-prediction-markets-678803af34a5.webp>)

Data API

# Codex Prediction Markets API: query events, markets and traders together

Codex Prediction Markets API, published at codex.io, supplies Polymarket and Kalshi data for applications. It connects event groups, individual markets, outcome prices and trader metrics through protocol-specific filters and identities.

[**3.5**/ 5Editorial rating](<https://predictiontoolkit.com/tools/codex-prediction-markets/#reviews>) [Editorial assessment](<https://predictiontoolkit.com/tools/codex-prediction-markets/#reviews>) 

[Read the prediction-market API guide](<https://docs.codex.io/prediction-markets/polymarket>) docs.codex.io

**Available on:** API

**Pricing:** [See plans and costs ↓](<https://predictiontoolkit.com/tools/codex-prediction-markets/#pricing>) 

[Screenshots](<https://predictiontoolkit.com/tools/codex-prediction-markets/#screenshots>) [Explore alternatives](<https://predictiontoolkit.com/tools/codex-prediction-markets/#alternatives>) 

[Data APIs](<https://predictiontoolkit.com/polymarket-api/>) [Historical data](<https://predictiontoolkit.com/polymarket-historical-data/>) +2 more

[Wallet tracking](<https://predictiontoolkit.com/polymarket-wallet-trackers/>) [Market scanners](<https://predictiontoolkit.com/polymarket-market-scanners/>) 

## Screenshots and interface

Product preview1 / 2

Documented API fields and identity concepts.

## What is Codex Prediction Markets API?

A screener can filter category, status, volume or liquidity, then rank on a selected activity window. Short and long windows cover trade counts, unique traders and changes in liquidity or open interest. Query only the fields and date ranges required, preserving venue-prefixed IDs rather than replacing them with titles.

Chart and trader-page recipes combine OHLC/volume bars with trader statistics, market-level activity and holder data. Events remain groups of markets, not interchangeable outcome records. The service provides analytics; order execution needs another integration.

### Who it is for

-   Market-discovery and event-page developers.
-   Teams ranking recent market activity.
-   Researchers joining wallet and market performance.

## Data and API methods

-   **Event and market filters**
    
    Select category, status, volume, liquidity and ranking metrics.
    
-   **Windowed activity**
    
    Compare trade counts, unique traders, liquidity and open-interest changes.
    
-   **Outcome bars**
    
    Fetch OHLC and volume with explicit IDs and ranges.
    
-   **Trader discovery**
    
    Filter volume, PnL and supported metrics and inspect market-level activity.
    
-   **Trades and holders**
    
    Query trade history, outcome-token holders and market positions.
    
-   **GraphQL recipes**
    
    Use Explorer examples for discovery, profiles, charts and event pages.
    

## Integration tasks

### Build a screener

Filter open events, sort by the intended window and fetch component markets, retaining venue IDs.

### Create a trader page

Join statistics, traded markets and time-series activity to market records.

### Chart both outcomes

Request bars at a defined resolution/range and label each outcome separately.

## Pricing and total cost

Prediction-market endpoints require Growth or Enterprise. Confirm price and request allowance in the dashboard or sales flow before planning polling frequency.

## API access and setup

1.  Create an account with prediction-market access and open GraphQL Explorer.
2.  Run discovery with the intended protocol and exact fields.
3.  Retain full event/market/trader IDs and add pagination, bounded windows and plan-aware limits.

## Useful links

-   [Visit Codex market data](<https://codex.io/>) 

### What to check

-   Events and individual markets have different identities.
-   IDs contain venue and network parts; titles are not substitutes.
-   Execution requires a separate integration.

A closer look

## Ratings & reviews

Editorial rating

**3.5**/ 5

0 user reviews

PredictionToolkit editorial

### Our take on Codex Prediction Markets API

One GraphQL model covers discovery, charts and trader research across venues. Access tiers, prefixed IDs and allowances require careful integration checks.

**Assessment criteria:** Task usefulness, documented scope, setup clarity, and access and cost transparency.

**Assessment date:** 2026-10-05

**Documentation reviewed:** 2026-10-01

Documentation-based assessment. [How we rate](<https://predictiontoolkit.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

## Related tools

[Browse category](<https://predictiontoolkit.com/polymarket-api/>) 

![Bitquery Polymarket GraphQL datasets and response example](<https://predictiontoolkit.com/assets/cover-bitquery-polymarket-api-df0e085579284b24-400.webp>)

![Bitquery Polymarket API logo](<https://predictiontoolkit.com/assets/icon-logo-tool-bitquery-polymarket-api-b21e069a8bb6-96-eced462126aa5cc7.webp>)[Bitquery Polymarket API](<https://predictiontoolkit.com/tools/bitquery-polymarket-api/>) 

Data API**4.0**Editorial

Query and stream decoded trades, token balances and settlement events.

-   Access API

Another query-based on-chain data platform.

![Official Polymarket Gamma API market-discovery documentation](<https://predictiontoolkit.com/assets/cover-polymarket-gamma-api-b596dfa29c1a0874-400.webp>)

![Polymarket Gamma API logo](<https://predictiontoolkit.com/assets/icon-logo-tool-polymarket-gamma-api-f6a03cf91e60-32-a8fd12b110824dad.webp>)[Polymarket Gamma API](<https://predictiontoolkit.com/tools/polymarket-gamma-api/>) 

Data API**4.0**Editorial

Discover contracts and their identifiers before querying executable prices or building a searchable catalog.

-   Access API

Native Polymarket discovery and metadata.

![ARBITER unified API entry page and sample market view](<https://predictiontoolkit.com/assets/cover-arbiter-d7074ec9d310a948-400.webp>)

![ARBITER logo](<https://predictiontoolkit.com/assets/logo-tool-arbiter-bc344e06ee46.svg>)[ARBITER](<https://predictiontoolkit.com/tools/arbiter/>) 

Data API**3.5**Editorial

Query normalized markets, historical books, wallet analytics and possible event matches across Polymarket and Kalshi.

-   Access API

Also in APIs and Data Providers.

## Frequently asked questions about Codex Prediction Markets API

### Is this OpenAI Codex?

It is the separate Codex market-data service at codex.io.

### Can it cover both venues?

Polymarket and Kalshi use protocol filters and venue-specific IDs in the shared schema.

### Are trader metrics included?

Statistics, trader-market activity and activity bars are documented.

### Is a free plan sufficient?

The prediction-market guide specifies Growth or Enterprise.

In this profile
