Skip to main content

Documentation Index

Fetch the complete documentation index at: https://polynode.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The polynode API provides two main surfaces:
  1. V3 Historical Data — query the complete Polymarket V1 + V2 database. 1.2 billion fills, 228 million positions, 2.7 million wallets. Dual P&L (realized + unrealized), position tracking with settlement status, builder analytics, market search, and leaderboards.
  2. Real-time Streaming — live WebSocket feeds for settlements, trades, price updates, position changes, and more. See the WebSocket tab.
The V3 endpoints replace the older Onchain V2 endpoints, which are being deprecated. Existing integrations will continue to work during the transition.

V3 Data API — Base URL

https://api.polynode.dev/v3

What’s in the database

Query GET /v3/stats for live counts. Current scale:
MetricCount
Fills (trades)1+ billion
Positions200+ million
Unique wallets2.5+ million
Redemptions160+ million
Splits30+ million
Merges14+ million
Markets indexed1.07 million
Token prices2 million

Key features

  • Dual P&L — realized and unrealized profit/loss for every wallet, computed from the full event history using weighted-average cost basis math
  • Position status — every position is tagged as open, closed, redeemable, or redeemed based on live settlement data
  • Redeemable payouts — see exactly how much USDC a wallet can claim from resolved markets
  • Builder attribution — 77 million fills attributed to 1,502 unique builders
  • Batch queries — query up to 100 wallets in a single call
  • Time-range filters — filter trades, redemptions, and activity by Unix timestamp
  • Market search — full-text search across 1 million+ market questions

Amounts and precision

All monetary amounts are returned in USD as JSON numbers. No conversion needed.
{
  "net_realized_pnl": 22053845.825455,
  "total_volume": 43013258.515682
}
Values like net_realized_pnl: 22053845.825455 mean $22,053,845.83 USD.

Authentication

The V3 Data API is currently open access with rate limiting per IP. No API key is required.

Timestamps

All Unix timestamps in responses are in seconds (e.g., "1778674056"). The resolved_at field in resolutions uses milliseconds (e.g., "1778674836000"). Datetime strings like updated_at are in UTC.

Rate limits

LimitValue
Requests per minute per IP200
Max concurrent queries per IP5
Max page size1,000 rows
Query timeout10 seconds

Pagination

All list endpoints support:
  • ?limit=N — results per page (default 100, max 1000)
  • ?offset=N — skip N results
Responses include has_more: true/false to indicate if more pages exist.

Response format

Every response includes elapsed_ms showing server-side query time in milliseconds.
{
  "data": [...],
  "rows_returned": 100,
  "has_more": true,
  "offset": 0,
  "limit": 100,
  "elapsed_ms": 12
}

Endpoint categories

CategoryEndpointsWhat you can do
Wallet P&L4Wallet summary, dual P&L breakdown, batch queries, enriched positions
Wallet Activity6Trades, redemptions, splits, merges, NRC, combined activity
Markets7Search, lookup by condition/token/slug, trades, positions, prices
Leaderboard3Global P&L rankings, tag discovery, tag leaderboards
Builders3Builder rankings, stats, attributed trades
Global5Platform stats, trade feed, fees, resolutions, conditions
Tokens1Token price and market metadata

Explorer

Browse the data interactively with pre-built SQL recipes at explorer.polynode.dev.