//Solutions>Builder's Guide>Tools>Codex
Codex
// data-api
// graphql
// token-data
// prediction-markets
// analytics
// real-time-data
// Web3 Developer Tools// Infrastructure Tools// Web3 Prediction Markets

Codex

A GraphQL API for real-time token and prediction market data across 80+ networks, covering 80M+ tokens and 700M+ wallets.

launched2021
chains
+4
Submit or update a tool
Audience
💸DeFi Developers
📊Analytics/Data Developers
🤖AI Agent Platforms
websitexlinkedingithubdiscord

Overview

Codex is a GraphQL API for enriched blockchain and prediction market data, built and maintained by Defined.fi. For tokens, it delivers real-time pricing, charts, holders, balances, and aggregated analytics covering more than 80 million tokens and 700 million wallets across over 80 networks, spanning EVM chains and Solana. Data arrives with sub-second freshness and includes historical USD pricing, with WebSocket and webhook subscriptions for live updates.

Codex also exposes prediction market data across Polymarket and Kalshi through a single schema. This covers events, markets, traders, holdings, live order books, and trade feeds, along with time-windowed stats and ranking signals such as volume, liquidity, open interest, trade count, and unique traders at windows from 5 minutes through 1 week, metrics the venue APIs do not expose natively.

Most teams query Codex directly over GraphQL, with an optional TypeScript SDK, and there is an MCP server for reading the documentation. Codex offers a free tier of 10,000 requests per month, usage-based Growth pricing, and Enterprise plans. Developers use it to build trading platforms, wallets, analytics tools, and prediction market apps. Getting started takes an API key from codex.io and the schema reference at docs.codex.io.

The Problem

Teams building trading apps, wallets, and analytics tools have to assemble real-time token data from many per-chain sources, then bolt on separate, inconsistent feeds for prediction markets. Native venue APIs lag, lack historical pricing, and do not expose aggregated ranking signals, so developers spend more time on data plumbing than on their product.

Fragmented Per-Chain Integrations
Missing Prediction-Market Metrics

The Solution

Key Features

Token Data Across 80+ Networks

Real-time pricing, charts, holders, and balances for 80M+ tokens and 700M+ wallets across EVM chains and Solana, with sub-second freshness.

Prediction Market Schema

A single GraphQL schema for Polymarket and Kalshi covering events, markets, traders, holdings, live order books, and trade feeds.

Live Subscriptions

WebSocket and webhook subscriptions push price updates, trades, and on-chain events as they happen, with historical USD pricing on demand.

Key Strengths

Ranking Signals the Venues Do Not Expose
One API, 80M+ Tokens
Free Tier to Enterprise

How Developers Use Codex

📈

Build a Trading Platform

Power token discovery, charts, and live pricing for a spot or perps trading interface with one data API.

👛

Enrich a Wallet

Show real-time balances, USD valuations, and holder analytics across 80+ networks inside a wallet app.

🔮

Track Prediction Markets

Pull Polymarket and Kalshi events, order books, and ranking signals to build analytics or a prediction-market app.

Works Well With
Ethereum
Ethereum
Solana
Solana
Base
Base
Arbitrum One
Arbitrum One
Optimism
Optimism
BNB Smart Chain
BNB Smart Chain
Avalanche
Avalanche
Polygon PoS
Polygon PoS

Ship faster than your competition

Free RPC across 77+ chains. Spin up an endpoint in under 30 seconds.

Get your endpoint

Codex Alternatives

Explore web3 competitors and apps like Codex.

Streams
Tool logo

Streams

Quicknode provides fast, reliable, and scalable blockchain infrastructure and developer tools to build and scale onchain applications.
+30
View
Network APIs
Tool logo

Network APIs

Network APIs provides web3 developer tools focused on blockchain network interactions and API services.
+7
View
Virtual TestNets
Tool logo

Virtual TestNets

Virtually operated Web3 networks that replicate real blockchain networks for development, testing, and staging without using real assets.
+21
View
Rarible
Tool logo

Rarible

Rarible API is a fast, unified NFT API infrastructure providing real-time data and executable market features across Ethereum, Base, Polygon, and more than 10 other chains.
+10
View
MyWish
Tool logo

MyWish

MyWish is a no-code platform for creating, deploying, and managing smart contracts and crypto assets across multiple blockchains.
+5
View
0x
Tool logo

0x

0x provides battle-tested APIs to embed fast, gasless, and deeply liquid crypto trading into decentralized applications.
+9
View
Non-Custodial WaaS
Tool logo

Non-Custodial WaaS

Fireblocks Non-Custodial Wallet-as-a-Service (WaaS) provides a comprehensive API platform to securely manage, transfer, and issue digital assets across vaults, wallets, exchanges, and fiat accounts.
+27
View
Tenderly Monitoring
Tool logo

Tenderly Monitoring

Tenderly Monitoring is a full-stack Web3 development platform offering customizable node RPC, virtual testnets, debugging, simulation, and monitoring tools for smart contract lifecycle management.
+21
View
Blockchain Data Indexing
Tool logo

Blockchain Data Indexing

SubQuery is a decentralized data indexing and RPC infrastructure platform that enables fast, flexible, and scalable access to blockchain data for Web3 applications.
+10
View
Orbiter Finance
Tool logo

Orbiter Finance

Orbiter Finance is a zero-knowledge technology-based Ethereum acceleration engine that enables fast, affordable, and secure bridging and swapping of crypto assets across multiple blockchain ecosystems.
+6
View

Start Building Now

Reliable RPC, powerful APIs, and zero hassle.

Resources

Codex lives at codex.io with full schema and guides at docs.codex.io. The API is GraphQL with an optional TypeScript SDK and an MCP server for reading the docs. Support and updates run through X (@trycodex), Discord (discord.com/invite/mFpUhT3vAq), and LinkedIn, and source and examples are on GitHub at github.com/Codex-Data.