Skip to main content
REST endpoints for crypto prediction market data. All endpoints require an API key.

Authentication

Pass your API key via query parameter or header:
# Query parameter
curl "https://api.polynode.dev/v1/crypto/markets?key=YOUR_API_KEY"

# Header
curl -H "x-api-key: YOUR_API_KEY" "https://api.polynode.dev/v1/crypto/markets"

GET /v1/crypto/markets

All crypto prediction markets with liquidity, volume, and open interest. Cache: 3 minutes
curl "https://api.polynode.dev/v1/crypto/markets?key=YOUR_API_KEY"

GET /v1/crypto/candles

5-minute OHLC candles from Chainlink oracle. Returns ~2.5 hours of history (30 candles). Cache: 30 seconds
ParameterRequiredDescription
symbolYesAsset symbol: BTC, ETH, SOL, BNB, XRP, DOGE, HYPE
curl "https://api.polynode.dev/v1/crypto/candles?symbol=BTC&key=YOUR_API_KEY"

GET /v1/crypto/price

Open and close price for a specific crypto market window. Use this to get the “price to beat” for a short-form market. Cache: 10 seconds
ParameterRequiredDescription
symbolYesAsset symbol: BTC, ETH, SOL, BNB, XRP, DOGE, HYPE
windowYesUnix epoch timestamp of the market window start
intervalNoMarket interval variant (e.g. 5m, 15m, 1h, 4h)
curl "https://api.polynode.dev/v1/crypto/price?symbol=BTC&window=1774674000&key=YOUR_API_KEY"
The openPrice is the oracle price at market open. closePrice updates in real time until the window completes. completed: true means the market has resolved.

GET /v1/crypto/active

Currently active 5-minute up-or-down markets for all 7 coins. Returns live market data with token IDs, outcomes, and current odds. Cache: 30 seconds
curl "https://api.polynode.dev/v1/crypto/active?key=YOUR_API_KEY"
The windowStart field is the epoch timestamp of the current 5-minute window. New markets rotate every 5 minutes.

GET /v1/crypto/series

Recurring crypto market series (5m, 15m, 1h, 4h, daily, weekly, monthly patterns). Cache: 5 minutes
curl "https://api.polynode.dev/v1/crypto/series?key=YOUR_API_KEY"