If you’ve already built against another data source or run your own indexer, this page maps your existing patterns to Predexon. Most migrations are a one-line URL change.Documentation Index
Fetch the complete documentation index at: https://docs.predexon.com/llms.txt
Use this file to discover all available pages before exploring further.
From Polymarket’s native API (CLOB / Gamma)
Polymarket publishes a CLOB API for orderbook data and a Gamma API for market metadata. Both are useful; both have rough edges (rate limits, missing fields, inconsistent shapes across venues if you also use Kalshi etc.).| Polymarket native | Predexon equivalent | Notes |
|---|---|---|
GET https://gamma-api.polymarket.com/markets | GET /v2/polymarket/markets | Same filters, richer response, free + unlimited |
GET https://clob.polymarket.com/markets/{condition_id} | GET /v2/polymarket/markets?condition_id={...} | Same data, normalized shape |
GET https://clob.polymarket.com/book?token_id={...} | GET /v2/polymarket/orderbooks?token_id={...} | Predexon also gives you history — Polymarket native is current-only |
GET https://clob.polymarket.com/trades?market={...} | GET /v2/polymarket/trades?token_id={...} | Predexon supports cursor pagination + multi-market filters |
GET https://gamma-api.polymarket.com/events | GET /v2/polymarket/events | Same |
WebSocket: wss://ws-subscriptions-clob.polymarket.com/... | wss://wss.predexon.com/v1/{key} | Same channels, normalized payloads, plus pending-trade detection |
| (No native equivalent) | GET /v2/polymarket/wallet/pnl/{wallet}, smart-money, leaderboards | Net-new capability |
x-api-key header and you’re done.
From Dune
Dune is great for ad-hoc SQL; Predexon is built for application-time queries with consistent latency.| Dune query type | Predexon equivalent | Why switch |
|---|---|---|
polymarket.trades table queries | /v2/polymarket/trades | <200ms vs minutes for Dune query execution |
polymarket.positions aggregations | /v2/polymarket/wallet/positions/{wallet} | Pre-computed, ready-to-render |
| Wallet leaderboards | /v2/polymarket/leaderboard | Same query, cached and live |
| Cross-venue joins | /v2/matching-markets | LLM-curated; Dune SQL can’t match titles reliably |
From Goldsky / The Graph / a self-built subgraph
If you’re running a Polymarket subgraph or other indexed source, the question isn’t whether yours works — it’s whether the maintenance burden is invisible until it breaks. Self-indexers fail quietly. You discover the gap when a reorg drops events, when a contract upgrade silently changes a field, when your node falls behind and your dashboard is showing stale prices.| Self-indexed pain point | What Predexon gives you |
|---|---|
| Reorg handling, missed events | We handle on-chain reorgs and replay |
| Multi-venue indexing | One API across 7 venues; you maintain 0 indexers |
| Smart-money / leaderboard / matching | Pre-computed analytics layers |
| Pending-trade detection | Native — requires a co-located Polygon node otherwise |
| On-call burden | Zero — we run the infra |
| Cost | Free tier covers most workloads; Pro is $249/mo |
From a custom Polygon indexer
You probably built this because you needed:- Sub-second confirmed-trade latency → WebSocket trades channel is the same data, no node to run
- Mempool / pending-trade detection → WebSocket pending-trades gives you exactly this
- Cost basis / P&L reconstruction → Wallet P&L is pre-computed
- Cross-venue equivalence → Matched Pairs is LLM-curated
From Kalshi’s native API
| Kalshi native | Predexon equivalent | Notes |
|---|---|---|
GET /trade-api/v2/markets | GET /v2/kalshi/markets | Same data, no Kalshi auth required (we proxy) |
GET /trade-api/v2/markets/{ticker}/trades | GET /v2/kalshi/trades?ticker={...} | Historical trade tape |
GET /trade-api/v2/markets/{ticker}/orderbook | GET /v2/kalshi/orderbooks | Historical snapshots |
From building your own trading wallet stack
If you’ve built (or are about to build) custody for Polymarket / Predict / Limitless trading, the migration is bigger but the engineering savings are enormous. Stop building:- Per-venue wallet generation, key storage, signing infrastructure
- Per-chain funding / withdraw flows
- Cross-chain bridging integration (Across, etc.)
- Per-venue order signing (Polymarket EIP-712, Predict signature, Hyperliquid HIP-4)
- Settlement and redemption flows
Migration checklist
Get a Predexon key and validate the response shapes you depend on
The Quickstart gets you running in 5 min. Diff one of your real queries against the Predexon equivalent to confirm fields match.
Port one endpoint at a time
Don’t big-bang the migration. Replace one endpoint, ship, verify metrics. Repeat.
Add caching and retries while you're in there
See Best Practices. Caching is usually a 10x rate-limit relief on day one.
Switch to WebSocket for anything you're polling under 30s
If you were polling Polymarket’s CLOB every second, the equivalent WebSocket subscription is cheaper and faster.
