---
url: "https://polytoolhub.com/tools/codex-prediction-markets/"
publisher: "Polytoolhub"
dateModified: "2026-10-05"
---

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

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

Data API

# Codex Prediction Markets API

Query Polymarket and Kalshi market data, trader analytics, outcome charts and ranking signals through a unified GraphQL API.

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

[Open documentation](<https://docs.codex.io/prediction-markets/polymarket>) docs.codex.io

**Available on:** GraphQL API

**Pricing:** Prediction-market endpoints require a Growth or Enterprise plan

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

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

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

## Screenshots and interface

Product preview1 / 2

API rate limits, supported fields and event/market concepts.

## What is Codex Prediction Markets API?

Codex’s prediction-market API provides a data layer for building screeners, event pages and wallet analytics. It separates events from individual markets, exposes both outcome prices, and supports time-windowed statistics such as volume, liquidity and unique traders. The same API family covers Polymarket and Kalshi, so an application can share much of its query and display logic across venues.

### Who it is for

-   Developers building market discovery and event dashboards
-   Teams ranking markets by recent activity
-   Researchers combining wallet performance with market data

## Features and coverage

**Available on:** GraphQL API

**Markets & venues:** Polymarket, Kalshi

**Research topics:** Market data, Trader analytics

-   **Event and market filters**
    
    Query high-level event groups or individual markets by category, status, volume, liquidity and ranking metrics.
    
-   **Time-windowed statistics**
    
    Compare activity across short and long windows, including trade counts, unique traders and changes in liquidity or open interest.
    
-   **Outcome price bars**
    
    Retrieve OHLC and volume data for market charts, with explicit IDs and time ranges.
    
-   **Trader discovery**
    
    Filter traders by volume, PnL and other supported metrics, then inspect their market-level activity.
    
-   **Trade and holder data**
    
    Query trade history, outcome-token holders and positions for a selected market.
    
-   **GraphQL explorer and recipes**
    
    Use documented examples for discovery, trader profiles, charts and complete event pages.
    

## Workflows with Codex Prediction Markets API

### Build a market screener

Filter open events, sort on the intended activity window, then query their individual markets and outcome prices. Keep venue IDs attached to every row.

### Create a trader page

Fetch the trader’s statistics, markets and time-series activity, then link the result back to the corresponding market records.

### Chart both outcomes

Request market bars for a defined resolution and date range, and display the outcome series with their own labels.

## Pricing and total cost

Prediction-market endpoints require a Growth or Enterprise plan. Confirm the plan’s request allowance and price through the Codex dashboard or sales path before designing the polling frequency.

## Getting started

1.  Create a Codex account with access to the prediction-market endpoint family.
2.  Open the GraphQL Explorer and run a documented discovery query.
3.  Set the protocol filter for Polymarket or Kalshi and select the exact fields needed.
4.  Retain the full Codex event, market and trader identifiers in your application.
5.  Add pagination, bounded time windows and plan-aware request limits before collecting a larger history.

## Useful links

-   [Official website](<https://codex.io/>) 

### What to check

-   An event groups related markets; it is not interchangeable with one outcome market.
-   Market and event IDs include venue and network components. Do not replace them with a display title.
-   This data API supplies analytics and market information; order execution requires a separate integration.

A closer look

## Ratings & reviews

[Write a review](<https://polytoolhub.com/tools/codex-prediction-markets/#write-review>) 

Editorial rating

**3.5**/ 5

0 user reviews

Polytoolhub editorial

### Our take on Codex Prediction Markets API

A unified GraphQL model covers market filters, trader analytics and chart data across venues. Plan access, venue-prefixed identities and query allowances require careful integration checks.

Based on documented features, setup and access terms. [How we rate](<https://polytoolhub.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.

Write a review

### How was your experience with Codex Prediction Markets API?

Share what you used, what worked and what could be better. We confirm your email and review the submission before publishing.

To submit a review, email [info@polytoolhub.com](<mailto:info@polytoolhub.com>)  with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

## Related tools

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

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

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

Data API**4.0**Editorial

Query and stream decoded Polymarket on-chain trades, balances, market creation and settlement through Bitquery’s blockchain data platform.

-   Data coverage Trades · Positions · Settlement
-   Access API

Compare another query-based on-chain data service.

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

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

Data API**4.0**Editorial

Discover Polymarket events, markets, tags, series and sports metadata before querying prices or building a market catalog.

-   Data coverage Markets · Events
-   Access API

Compare Polymarket’s native market discovery API.

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

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

Data API**3.5**Editorial

Query normalized Polymarket and Kalshi markets, historical books, wallet analytics and matched events through one data API.

-   Data coverage Markets · Events · Order books · Trades · Prices · Positions · Cross-venue matches
-   Access API

Also in APIs and Data Providers.

## Frequently asked questions about Codex Prediction Markets API

### Is this OpenAI Codex?

No. It is the market-data API published by Codex at codex.io.

### Can one integration cover Kalshi and Polymarket?

Yes. The prediction-market schema supports both with protocol-specific filters and identifiers.

### Can I obtain trader metrics?

The API includes trader statistics, trader-market data and activity bars.

### Is the free API plan enough?

The prediction-market documentation specifies Growth or Enterprise access.

In this profile
