Skip to main content
Prediction market platform providing real-time market-derived probabilities for political, economic, and cultural events. Best for probabilistic forecasting workflows — gauging the likelihood of future events based on market consensus rather than polls or expert opinion. Unlike traditional financial data (SEC EDGAR, Nasdaq), Polymarket surfaces crowd-aggregated probability estimates for discrete outcomes. 4 endpoints available through Lava’s AI Gateway.
This provider is managed — no additional setup required.

Endpoints

GET https://gamma-api.polymarket.com/events?limit=5 — Free
const data = await lava.gateway('https://gamma-api.polymarket.com/events?limit=5', { method: 'GET' });

Get real-time market prices, spreads, and order books

GET https://clob.polymarket.com/midpoint?token_id=TOKEN_ID — Free
const data = await lava.gateway('https://clob.polymarket.com/midpoint?token_id=TOKEN_ID', { method: 'GET' });

Get open interest for a market

GET https://data-api.polymarket.com/oi — Free
const data = await lava.gateway('https://data-api.polymarket.com/oi', { method: 'GET' });

Get position holders for a market

GET https://data-api.polymarket.com/holders — Free
const data = await lava.gateway('https://data-api.polymarket.com/holders', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests