Migrating from Codex to Chainmetric.
Moving from Codex to Chainmetric is a migration, not a drop-in switch: you map each Codex call to the Chainmetric document that answers it, with history and live streams in one schema.
Map what you use today
Chainmetric is not a drop-in replacement for Codex's API. You migrate by mapping each call to the Chainmetric document that answers it.
| If you use Codex for | Use this Chainmetric document |
|---|---|
| Token prices and stats | Token stats, prices |
| Charts | OHLCV candles |
| Trades | Trades |
| Holders | Holders with labels |
| Wallet data | Wallet positions, stats and trades |
| New tokens | New launches, first buyers |
| Safety data | Token security, dev history |
How to migrate
List your calls
Write down each Codex call your app makes and what screen it feeds.
Map each one
Find the Chainmetric document that answers it, using the table above.
Run both side by side
Compare responses before switching each screen.
Switch screen by screen
Move one screen at a time when the numbers match.
What you gain
| Capability | In Chainmetric |
|---|---|
| Finality | Processed, confirmed or finalized on every record |
| Labels | Role labels with a published rule each |
| Funding | Traces up to 10 hops and 500 wallets |
| Streams | Every document, over SSE and WebSocket |
| Chains | EVM chains and Solana, one schema |
Questions people ask
Is Chainmetric a Codex alternative?
Yes. It covers token data, trades, holders with labels, wallets, launches and token safety, with live streams for every document.
Is Chainmetric a drop-in replacement for Codex?
No. Only the Mobula API is drop-in compatible. From Codex, you migrate by mapping each call to a Chainmetric document.
How is Chainmetric priced?
Share your monthly usage and the plan is customized to it.
Show us your monthly usage.
We will customize a plan for you. Send your current plan or a recent invoice.