POLYMARKET API · GraphQL · WebSocket · Kafka · gRPC

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.

Powering prediction-market data forNansen logo3Commas logoDexTools logoCoinMarketCap logo
EVM.DEXTradesEvery YES/NO outcome-token trade on Polymarket, decoded with price and size.Docs
polymarket_trades.graphqlCopy
subscription {
  EVM(network: matic) {
    DEXTrades(
      where: {Trade: {Dex:
        {ProtocolName: {is: "polymarket"}}}}
    ) {
      Trade {
        Buy { Price Amount
          Currency { Symbol } }
        Dex { ProtocolName }
      }
    }
  }
}
responseSTREAMING
MarketSidePriceSize
200 · gRPC · 88msstreaming.bitquery.io
Trusted by 40,000+ developers & teams like
Binance logoChainalysis logoTRM Labs logoNansen logo0x logoCoinMarketCap logoCoin Metrics logoBybit logoLukka logo3Commas logoNexo logoTether logo
40+
Chains supported
1PB+
Blockchain data indexed
10B+
API calls / month
99.9%
Production uptime
01
Forget the REST endpoints

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.

What you're doing
Build it yourself
Bitquery Polymarket API
A market's full trade history
Page through CLOB REST endpoints
A single GraphQL query
Live YES/NO odds per market
Poll prices and reconcile
Outcome prices at the row
Who holds which outcome
Index ERC-1155 transfers yourself
Positions from BalanceUpdates
New markets as they open
Watch the factory and decode
Streamed on condition creation
Resolution & redemption
Reconstruct lifecycle state
Settlement events, built in
Volume ranked by market
Aggregate trades yourself
Aggregated on the same schema
02
Delivery channels

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.

03
Polymarket coverage

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.

CapabilityDatasetWhat you get
TrMarket TradesDEXTradesEvery YES/NO outcome-token trade with price, size, side and wallet
OdPrices & OddsDEXTradeByTokensLive outcome prices — the implied probability of every open market
PoOpen PositionsBalanceUpdatesOutcome-token balances per wallet — who holds YES or NO and how much
NmNew MarketsEventsCondition-preparation events the moment a new market is created
RsResolutionsEventsOutcome resolution, payout and redemption as markets settle on-chain
VoVolume by MarketDEXTradeByTokensAggregate traded volume and trade count, ranked per question
+ Collateral flows, redemptions, ERC-1155 transfers & full Polygon coverage
05
Build it this weekend

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.

gRPC · Kafka

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.

subscribe DEXTrades
  where: { Dex: { ProtocolName: "polymarket" } }
Read the docs
GraphQL

Wallet positions & PnL

Pull a wallet's outcome-token balances and trade history to compute exposure and realized PnL across every market it touched.

BalanceUpdates
  where: { BalanceUpdate: { Address: "<wallet>" } }
Read the docs
GraphQL

New-market & resolution alerts

Watch condition-preparation and resolution events to fire alerts the moment a market opens or settles on-chain.

Events {
  Signature: "ConditionResolution"
}
Read the docs

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."

A
Alexander Karsten
Nansen
6
Polymarket datasets decoded into one schema
<300ms
Kafka & gRPC stream latency
100%
Market lifecycle, creation to redemption

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.

0x Protocol logo
Alex Knaggs
0x Protocol

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.

Director, Binance X logo
Flora Sun
Director, Binance X

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.

Backend Developer, Blockpit logo
Jan Dreske
Backend Developer, Blockpit

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.

Co-Founder, Syla logo
Nick Christie
Co-Founder, Syla

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.

Ourbit logo
Data Team
Ourbit

Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.

Webacy
Webacy
webacy.com

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.

$39/ month

billed annually ($468/yr) · save 20%

+ Add-on points anytime · $40 / 1M
  • 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
Start free trial

Pro

For trading bots, alerts & dashboards on live DEX and price data.

$79/ month

billed annually ($948/yr) · save 20%

+ Flat-rate add-ons — points, minutes & GB
  • 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
Start free trial
Most popular

Scale

For production real-time apps — every stream, scale on demand.

$239/ month

billed annually ($2,868/yr) · save 20%

+ Flat-rate add-ons — points, minutes & GB
  • 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
Choose Scale →

Enterprise

Full history, unlimited streams & bulk delivery at scale.

Custom

flat platform fee — no metering

◆ Flat platform fee — modelled, not metered
  • 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
Talk to sales

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 →

FAQ

Polymarket data questions, answered.

How do I get Polymarket data with Bitquery?
Polymarket runs on Polygon, so you query it through our EVM(network: matic) schema over GraphQL, WebSocket subscriptions, gRPC on self-service (fixed-cost Kafka on Enterprise). Sign up at account.bitquery.io for an API key, then filter trades, odds, positions and resolutions from a single endpoint.
Which markets and tokens are supported?
Every Polymarket market on Polygon — YES/NO outcome tokens and the USDC collateral that backs them. Filter by market, outcome, wallet or protocol, all decoded into one schema.
Can I get live YES/NO odds and prices?
Yes. The DEXTradeByTokens dataset returns outcome prices straight from on-chain trades — the implied probability of every open market. For pre-aggregated prices, see the Token Price API.
Can I stream Polymarket trades in real time?
Yes. Subscribe over WebSocket or gRPC on self-service (fixed-cost Kafka on Enterprise) with sub-300ms latency for new trades, new markets, position changes and resolutions — built for trading bots, scanners and alerting, with no polling.
Can I replay historical Polymarket data?
Yes. Every dataset is historical and real-time on the same schema — GraphQL covers the live window on self-service (archive add-ons or Enterprise for deep history); fixed-cost Kafka offset replay is Enterprise. Filter by wallet for trades and settlement events.
How do I track new markets and resolutions?
Subscribe to condition-preparation events to catch a market the moment it opens, then follow resolution, payout and redemption events on the same schema — the full lifecycle from creation to settlement, no state to reconstruct.

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.

7-day free trial · Plans from $49/mo · Polygon on self-service · 40+ on Enterprise