Polymarket API for real-time prediction-market trades, odds & resolutions
Skip the fragmented REST endpoints and CLOB polling. Polymarket runs on Polygon, and we've already decoded every market trade, outcome price, position and resolution — so YES/NO trades, live odds, new markets and settlement are one query away, or a live stream.
subscription { EVM(network: matic) { DEXTrades( where: {Trade: {Dex: {ProtocolName: {is: "polymarket"}}}} ) { Trade { Buy { Price Amount Currency { Symbol } } Dex { ProtocolName } } } } }
Polymarket's native APIs weren't built for the questions you're asking.
Reading Polymarket yourself means stitching together CLOB REST endpoints, the subgraph and a WebSocket that's great for an order book but not for analytics — then reconstructing market lifecycle state by hand. We decoded Polymarket on Polygon, so you consume the answers instead of rebuilding them.
Four ways to get Polymarket data — one schema underneath.
Design your query once in GraphQL, then read the exact same fields as GraphQL streams, Kafka, gRPC or a bulk cloud export. Pick the channel that fits your latency and volume — no second pipeline.
Every market signal, decoded into one feed.
A single EVM(network: matic) query spans the whole Polymarket surface. Filter by market, outcome, wallet or protocol — and aggregate to live odds, open positions, new markets, resolutions or volume per question.
Every Polymarket dataset, one GraphQL endpoint.
From a single YES/NO trade to live odds and per-market volume, the full Polymarket surface is one endpoint — no CLOB polling, no subgraph, no custom indexer. Each dataset is historical and streamable in real time over WebSocket or gRPC (fixed-cost Kafka on Enterprise).
Market Trades API
Every YES/NO outcome-token trade on Polymarket with price, size, side and counterparty — decoded from Polygon.
Read the docs →OddsPrices & Odds API
Live outcome prices for every open market — the implied probability behind each question, straight from on-chain trades.
Read the docs →PositionsPositions API
Outcome-token balances per wallet so you can see who holds YES or NO, exposure and concentration per market.
Read the docs →DiscoveryNew Markets API
Catch markets the moment they're created — condition preparation and token-mint events for scanners and alerting.
Read the docs →SettlementResolutions API
Outcome resolution, payout and redemption events as markets settle — the full lifecycle, on the same schema.
Read the docs →PolygonPolygon (Matic) API
Full Polygon coverage over GraphQL, WebSocket and gRPC (fixed-cost Kafka on Enterprise) — Polymarket runs here, decoded into one schema.
Read the docs →The prediction-market products people ship on us.
Each one is a filter on the same indexed Polygon data — subscribe over WebSocket or gRPC on self-service (fixed-cost Kafka on Enterprise) for bots, or query GraphQL for dashboards.
Stream live odds & trades
Subscribe to every YES/NO trade the moment it settles on Polygon and recompute implied probability per market in real time.
where: { Dex: { ProtocolName: "polymarket" } }
Wallet positions & PnL
Pull a wallet's outcome-token balances and trade history to compute exposure and realized PnL across every market it touched.
where: { BalanceUpdate: { Address: "<wallet>" } }
New-market & resolution alerts
Watch condition-preparation and resolution events to fire alerts the moment a market opens or settles on-chain.
Signature: "ConditionResolution"
}
What teams say about our data
"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."
Bitquery does the hard work of parsing blockchain transaction data into a usable form so that we don't have to. We use their interface to diagnose issues with complex transactions and their analytics as a starting point for our own.
They proved they had the technology to deliver sophisticated data solutions. We extended our support through the Binance X fellowship — building an open-source library of visualization widgets on their blockchain data.
The complex raw data is available at different levels of detail and from different viewpoints — whether we need simple aggregated transfers or parameters for failed contract calls. The support is responsive, friendly and quick.
Partnering with Bitquery has been highly cost-effective — leveraging their established infrastructure rather than building our own let us rapidly expand our blockchain support and reach a much broader segment of on-chain users.
Bitquery's products are very intuitive and easy to use. We currently use their products to obtain DEX-related trading and liquidity information, which saves us the manpower and tedious technical details required to develop our own system. Their excellent technical team deserves special praise; they provide near-24/7 support and resolve issues quickly. I greatly appreciate their products and work ethic.
Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.
Pricing
Start free. Scale when you ship.
Self-service plans cover 9 core chains with flat-rate add-ons — no surprise invoices. Every paid plan starts with a 7-day free trial.
Personal
For side projects, learning & testing. Personal use only — no commercial use.
billed annually ($468/yr) · save 20%
- 100k API points / mo ≈ 20k calls
- 30 req/min · 3 simultaneous
- Full GraphQL & REST schema
- Real-time data · 9 core chains 30-day trades · 4–8h on-chain
- API only — no streams
- Community support
Pro
For trading bots, alerts & dashboards on live DEX and price data.
billed annually ($948/yr) · save 20%
- 1M API points / mo ≈ 200k calls
- 90 req/min · 6 simultaneous
- 100k stream-minutes + 5 GB
- 100 concurrent streams
- Trading-data streams live DEX & prices
- Commercial-use license
- Real-time data · 9 core chains 30-day trades · 4–8h on-chain
- Community + Telegram support
Scale
For production real-time apps — every stream, scale on demand.
billed annually ($2,868/yr) · save 20%
- 5M API points / mo ≈ 1M calls
- 240 req/min · 12 simultaneous
- 2M stream-minutes + 50 GB
- 1,000 concurrent streams
- All streams onchain + mempool
- Commercial-use license
- Dedicated Slack support
Enterprise
Full history, unlimited streams & bulk delivery at scale.
flat platform fee — no metering
- Complete history · 40+ chains
- Unlimited WebSocket streaming no stream-min or GB limit
- Custom points & rate limits
- Kafka fixed-cost · S3 bulk export
- Coinpath® money flow
- SLA · SSO · dedicated support
Flat-rate add-ons on every open plan: $40 / 1M points · $20 / 100k stream-minutes · $8 / GB (bought yearly · save 20%) — same price at any volume, billed only for what you add.
Historical data is sold separately: self-service plans are real-time only. Per-chain archive packs start at $100/mo ($70/mo billed yearly); transfers, balances & holders are $150/mo ($120/mo yearly). See historical add-ons →
Polymarket data questions, answered.
How do I get Polymarket data with Bitquery?
Which markets and tokens are supported?
Can I get live YES/NO odds and prices?
Can I stream Polymarket trades in real time?
Can I replay historical Polymarket data?
How do I track new markets and resolutions?
Ship your Polymarket product this week.
7-day free trial — Polymarket on Polygon decoded, no node to run. Query historical trades and stream live odds in your first call.