Polymarket is the world's largest on-chain prediction market — a platform where traders buy and sell Yes/No outcome tokens on real-world events, from US elections and Fed rate decisions to sports championships and crypto prices. Market prices are crowd-sourced probability estimates: a contract at $0.72 means the crowd assigns a 72% chance of Yes.
We've added full Polymarket coverage to the Anysite API. Nine dedicated endpoints give you programmatic access to the entire public data layer.
What's available
The Polymarket endpoint family covers three categories:
Events — fetch a specific event by id or slug, search across active or resolved events by keyword or topic tag, and retrieve community comments. Every event response includes its nested markets with live prices, volumes, and lifecycle flags.
Markets — pull a single market's question, outcomes, Yes/No bid-ask prices, volume, liquidity, and price-change fields (1h, 1d, 1w, 1m, 1yr). Then go deeper: fetch the live order book for an outcome token, chart its full probability history at any resolution, surface the top position holders, or stream the public trade feed with full trader identity data.
Tags — enumerate the topic-category taxonomy Polymarket uses to organize events (politics, sports, crypto, and more), useful for building category filters or discovery interfaces.
What you can build
A few practical applications:
- Probability dashboards. Pull real-time prices and historical curves via
/markets/historyto chart how crowd-sourced odds on any event have shifted over time. - AI research agents. Combine
/events/searchwith news or social data to surface prediction market probability shifts as emerging-narrative signals. - Market intelligence tools. Stream
/markets/tradesand/markets/holdersto watch how informed traders are positioning on high-volume markets. - Forecasting features. Use Polymarket prices as a crowd-sourced leading indicator alongside other data sources in time-series or classification models.
Getting started
All Polymarket endpoints are available on every Anysite plan — no per-endpoint pricing. The quickest path is the CLI:
anysite api /api/polymarket/events/search count=10 keyword="bitcoin" status="active"
Or via REST with your API key:
curl https://api.anysite.io/api/polymarket/events/search -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"count": 10, "keyword": "bitcoin", "status": "active"}'
Full endpoint reference, parameter details, and use-case examples are on the Polymarket endpoint page.