At a Glance
| Data API | Trading API | WebSocket | |
|---|---|---|---|
| Purpose | Market data and analytics | Order placement and execution | Real-time event streaming |
| Base URL | api.predexon.com | trade.predexon.com | wss.predexon.com |
| Protocol | REST | REST | WebSocket |
| Auth | x-api-key header | x-api-key header | API key in URL path |
Data API
Use the Data API to access market data, analytics, and wallet insights:- List and search markets across all platforms
- Fetch prices, candlesticks, volume, and open interest
- Get orderbook snapshots
- Query historical trades and activity
- Look up wallet profiles, positions, and P&L
- Access smart money analytics and leaderboards
- Find cross-platform market matches
Trading API
Use the Trading API to place and manage orders on prediction markets:- Create and manage users with managed wallets
- Place limit and market orders on Polymarket and Predict.fun
- Cancel orders
- Check balances
- Get deposit addresses and withdraw funds
- Redeem resolved positions
- Configure partner fees
WebSocket
Use the WebSocket for real-time streaming:- Live trade events as they happen
- Pending trades (mempool events, Pro tier)
- Position activity (splits, merges, redemptions)
- Market lifecycle events (creation, resolution)
