Quickstart
From zero to your first live prediction market data in under 2 minutes. No SDK required — just HTTP.
Get your API key
Free keys are generated instantly. Click Get Free API Access on the docs landing page. Your key is prefixed with pmx_:
pmx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Make your first request
Set up your environment
Store your key in an environment variable — never hardcode it in source.
PREDICTION_HUNT_API_KEY=your_api_key_here PREDICTION_HUNT_API_URL=https://www.predictionhunt.com/api/v2
Fetch active prediction market events
The /v2/events endpoint returns live events matched across all platforms — Kalshi, Polymarket, PredictIt, ProphetX, and Opinion.
curl -H "X-API-Key: $PREDICTION_HUNT_API_KEY" \ "$PREDICTION_HUNT_API_URL/events?limit=5"
Explore the response
Each event is cross-platform matched. group_count tells you how many platforms carry the same market. Paginate with next_cursor.
Try more endpoints
Fetch OHLC candlestick data for charting, search for cross-platform matches, or stream arbitrage signals.
/v2/prices/historyOHLC candle data for any market at configurable intervals.
/v2/marketsBrowse all active markets with current prices across platforms.
/v2/matching-marketsFind the same event traded on Kalshi, Polymarket, PredictIt and more.
/v2/arbLive arbitrage opportunities across all matched platforms. Dev/Pro only.