CCXT for prediction markets. One API to trade, analyze, and market-make across Polymarket, Kalshi, and more. Open source. AI-native. Built to solve the liquidity problem.
No reviews yetBe the first to leave a review for dr-manhattan
Maker
📌
We built dr-manhattan because we were frustrated with the fragmented landscape of prediction markets. Each platform (Polymarket, Kalshi, Opinion, Limitless, Predict.fun) has its own API, authentication flow, and data formats. If you wanted to build a trading bot or compare prices across markets, you had to write separate integrations for each one.
dr-manhattan solves this with a unified interface inspired by CCXT (the popular crypto exchange library). Write your code once, and it works across all supported prediction markets.
What you can do:
- Fetch markets, orderbooks, and positions with consistent data models
- Place and cancel orders programmatically
- Stream real-time data via WebSocket
- Build exchange-agnostic trading strategies
- Trade directly from Claude using the MCP server integration
Who it's for:
- Traders who want to automate their prediction market strategies
- Developers building tools on top of prediction markets
- Researchers analyzing market data across platforms
The project is fully open source (MIT). Would love to hear what exchanges or features you'd like to see added next.