






Unified Prediction Market API for Polymarket, Kalshi & More
Stream live prices, pull historical OHLCV, compare odds across venues, and place trades on Polymarket, Kalshi, Limitless, Smarkets, and 6 more prediction markets — all through one SDK and one API key. Open source. Python and TypeScript.
The developer toolkit for prediction markets
Every prediction market exposes a different API — different auth, different schemas, different pagination. That's plumbing, not product. PMXT handles the plumbing so you can focus on alpha.
Unified schema across every venue
No more translating between Polymarket condition IDs, Kalshi tickers, and Limitless slugs.
Python + TypeScript
Same methods, same types. Make your first API call in minutes.
pip install pmxtnpm i pmxtjs3+ years of historical data
OHLCV candles, orderbook snapshots, and trade history not available from venues directly.
Smart order routing
Route to the best execution price. Fund once, trade everywhere.
AI-ready with MCP
Give Claude or Cursor access to prediction markets through natural language.
Trade on every venue
Create orders, cancel orders, check balances, and manage positions — same interface on every venue.
Local mode — zero overhead
Connect directly to any venue without PMXT servers in between. Your credentials, your connection.
Search, match, and compare across 10+ venues. One API key.
Make your first API call in minutes
Fetch market data, compare prices across venues, and place trades — with the same methods on every prediction market.
import pmxt
# One API key — every venue, hosted
poly = pmxt.Polymarket(pmxt_api_key="pmxt_live_...")
kalshi = pmxt.Kalshi(pmxt_api_key="pmxt_live_...")
# Search events across venues
events = poly.fetch_events(query="Fed rate decision")
market = events[0].markets[0]
print(f"{market.title}: {market.yes.price}¢")
# Cross-venue matching (hosted API)
router = pmxt.Router(pmxt_api_key="pmxt_live_...")
matches = router.fetch_event_matches()
for match in matches:
print(match.event.title)
for m in match.market_matches:
print(f" {m.market.source_exchange}: {m.market.yes.price}¢")Stream any prediction market. Zero infrastructure.
Real-time prices, order books, trades, and historical data from every venue — through a single integration.
Polymarket
Kalshi
Smarkets
Probable
Metaculus
Hyperliquid
Gemini TitanNew venues added regularly. Request a venue on GitHub.
Native APIs are product-facing. PMXT is infrastructure.
Venue APIs serve their own platform. PMXT gives you unified, application-ready data across all of them.
| Feature | PMXT | Polymarket API | Kalshi API | Bitquery | Prediction Hunt | FinFeed | Dome |
|---|---|---|---|---|---|---|---|
| Unified schema | ✓ | — | — | — | — | ✓ | — |
| Python SDK | ✓ | ✓ | ✓ | — | — | — | ✓ |
| TypeScript SDK | ✓ | ✓ | ✓ | ✓ | — | — | ✓ |
| Cross-venue search | ✓ | — | — | — | ✓ | ✓ | ✓ |
| Cross-venue matching | ✓ | — | — | — | ✓ | — | ✓ |
| Trading | ✓ | ✓ | ✓ | — | — | — | ✓ |
| Order books | ✓ | ✓ | ✓ | — | ✓ | ✓ | ✓ |
| Historical OHLCV | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Historical orderbook | ✓ | — | — | — | — | ✓ | ✓ |
| Smart order routing | ✓ | — | — | — | — | — | — |
| MCP for AI agents | ✓ | — | — | ✓ | ✓ | ✓ | — |
| Open source | ✓ | ✓ | — | — | — | — | — |
| 10+ venues | ✓ | — | — | — | — | — | — |
Yes. The SDK is MIT licensed and available on GitHub. You can read the code, fork it, and contribute. The hosted API requires an API key for cross-venue features like matching and routing.
Start building on every prediction market
Set up your environment and make your first API call in minutes.
