# PolyNode ## Docs - [Backtest Copy PnL — Batch](https://polynode.mintlify.app/api-reference/backtesting/batch.md): Score multiple wallets in one call. Same math as the single-wallet endpoint. - [BYOB — Add Wallets](https://polynode.mintlify.app/api-reference/backtesting/byob-add-wallets.md): Add wallets to your BYOB tracked-pool. Newly-added wallets get scored within seconds (on-add freshening). - [BYOB — Leaderboard](https://polynode.mintlify.app/api-reference/backtesting/byob-leaderboard.md): Sub-second sorted, filtered, paginated leaderboard over your tracked-wallet pool. Reads precomputed scores from cache. - [BYOB — List Wallets](https://polynode.mintlify.app/api-reference/backtesting/byob-list-wallets.md): Return every wallet in your BYOB tracked-pool, sorted lexicographically. - [BYOB — Remove Wallets](https://polynode.mintlify.app/api-reference/backtesting/byob-remove-wallets.md): Remove wallets from your BYOB tracked-pool. Removal is idempotent — re-removing a wallet that's not in the pool returns 0 with no error. - [BYOB — Snapshot](https://polynode.mintlify.app/api-reference/backtesting/byob-snapshot.md): Every wallet in your tracked pool with backtest scores across every period in a single response. The headline read for stats-card UIs. - [Backtest Copy PnL](https://polynode.mintlify.app/api-reference/backtesting/copy-pnl.md): Score a wallet for copy-trading quality. Returns realized PnL, cashflow PnL, simulated copier PnL with 2% slippage friction, and a toxic-for-copying flag. - [Backtesting Overview](https://polynode.mintlify.app/api-reference/backtesting/overview.md): Score any wallet for copy-trading quality. Walks every fill in a window, applies realistic slippage, returns a single rate that flags toxic-to-copy wallets. - [Add Wallets](https://polynode.mintlify.app/api-reference/byol/add-wallets.md): Add wallets to your tracked leaderboard set. - [Get Leaderboard](https://polynode.mintlify.app/api-reference/byol/get-leaderboard.md): Query your custom leaderboard ranked by P&L or volume, filtered by time period and category. - [List Wallets](https://polynode.mintlify.app/api-reference/byol/list-wallets.md): List all wallets currently in your tracked leaderboard set. - [BYOL Overview](https://polynode.mintlify.app/api-reference/byol/overview.md): Bring Your Own Leaderboard. Track any set of Polymarket wallets and get a private, ranked leaderboard with P&L across all time periods and categories. - [Remove Wallets](https://polynode.mintlify.app/api-reference/byol/remove-wallets.md): Remove wallets from your tracked leaderboard set. - [Builder Leaderboard](https://polynode.mintlify.app/api-reference/clobv2/builders.md): Every wallet that has attributed a Polymarket CLOB v2 fill, ranked by notional volume. v2-exclusive. - [Candles (OHLCV)](https://polynode.mintlify.app/api-reference/clobv2/candles.md): Time-bucketed OHLCV candles for a Polymarket v2 outcome token. Six resolutions, real on-chain fill data, VWAP and buy/sell volume split per bucket. - [Market Orderbook Rollup](https://polynode.mintlify.app/api-reference/clobv2/market-orderbook.md): Lifetime aggregate counters for a Polymarket CLOB v2 outcome token from the orderbook subgraph — trades, buys/sells, notional USDC with both raw and scaled variants. - [Market Trade History](https://polynode.mintlify.app/api-reference/clobv2/market-trades.md): Every Polymarket CLOB v2 fill for a specific outcome token, with market metadata promoted to top-level and full per-trade enrichment. - [Market Volume](https://polynode.mintlify.app/api-reference/clobv2/market-volume.md): Lifetime volume stats for a single Polymarket CLOB v2 outcome token — total trades, buy/sell split in USDC, share volume — with market metadata. - [Neg-Risk Child Markets](https://polynode.mintlify.app/api-reference/clobv2/neg-risk-children.md): Every child market inside a Polymarket neg-risk event — one row per candidate with its own condition_id, question, slug, active/closed state, and volume. - [Neg-Risk Events](https://polynode.mintlify.app/api-reference/clobv2/neg-risk-events.md): Parent neg-risk events on Polymarket (multi-outcome winner markets like PGA tournaments, elections, NBA MVP). Each event collects N child markets under one title. - [CLOB v2 API](https://polynode.mintlify.app/api-reference/clobv2/overview.md): Paid REST endpoints for Polymarket CLOB v2 data — fills, positions, candles, builder leaderboard, neg-risk events. Enriched with market metadata. Backed by polynode's own indexer, not Goldsky. - [Positions (Global)](https://polynode.mintlify.app/api-reference/clobv2/positions.md): Current open and closed Polymarket CLOB v2 positions across every wallet. Filter by wallet, market, token, or size. Enriched with market metadata. - [Trades (Global)](https://polynode.mintlify.app/api-reference/clobv2/trades.md): Every Polymarket CLOB v2 fill, live-indexed, joined to market metadata. Filter by wallet, market, token, builder, time range, or size. - [Hourly Volume (Global)](https://polynode.mintlify.app/api-reference/clobv2/volume-hourly.md): Polymarket CLOB v2 fill volume bucketed into 1-hour windows across every market. Useful for platform-wide activity dashboards. v2-exclusive. - [Wallet Trade History](https://polynode.mintlify.app/api-reference/clobv2/wallet-trades.md): Every Polymarket CLOB v2 fill involving a specific wallet, with market enrichment and a `side` field indicating the wallet's role in each fill. - [Active 5-Minute Markets](https://polynode.mintlify.app/api-reference/crypto/active.md): Currently active 5-minute up-or-down markets for all 7 coins. - [Oracle Candles](https://polynode.mintlify.app/api-reference/crypto/candles.md): 5-minute OHLC candles from Chainlink oracle. - [Crypto Markets](https://polynode.mintlify.app/api-reference/crypto/markets.md): All crypto prediction markets with liquidity, volume, and open interest. - [Price to Beat](https://polynode.mintlify.app/api-reference/crypto/price.md): Open and close price for a specific crypto market window. - [Crypto Series](https://polynode.mintlify.app/api-reference/crypto/series.md): Recurring crypto market series. - [GET /activity/daily](https://polynode.mintlify.app/api-reference/datasets/daily-activity.md): Daily active wallets, fills, and volume. - [GET /datasets/sports-esports](https://polynode.mintlify.app/api-reference/datasets/dataset-stats.md): Dataset metadata — total wallets, fills, volume, tag count, date range. - [GET /datasets](https://polynode.mintlify.app/api-reference/datasets/list-datasets.md): List all available datasets with metadata and endpoint map. - [GET /markets](https://polynode.mintlify.app/api-reference/datasets/list-markets.md): Top markets ranked by unique wallets, fills, or volume. - [GET /tags](https://polynode.mintlify.app/api-reference/datasets/list-tags.md): All available sport/esport tags with wallet count, fills, and volume. - [GET /wallets](https://polynode.mintlify.app/api-reference/datasets/list-wallets.md): Query wallets by tag, date range, and sort order. The primary endpoint. - [GET /activity/monthly](https://polynode.mintlify.app/api-reference/datasets/monthly-activity.md): Monthly aggregate wallet activity and volume. - [Datasets API](https://polynode.mintlify.app/api-reference/datasets/overview.md): Curated, queryable datasets of Polymarket wallet activity by category. Filter by sport, tag, wallet, time range. SQL playground included. - [GET /tags/:slug](https://polynode.mintlify.app/api-reference/datasets/tag-detail.md): Single tag stats plus top 50 wallets for that tag. - [GET /tags/:slug/wallets](https://polynode.mintlify.app/api-reference/datasets/tag-wallets.md): Paginated wallet list for a specific tag with sorting and time filtering. - [GET /tags/compare](https://polynode.mintlify.app/api-reference/datasets/tags-compare.md): Side-by-side comparison of multiple tags in a single request. - [GET /wallets/concentration](https://polynode.mintlify.app/api-reference/datasets/wallet-concentration.md): Volume concentration analysis — what share of total volume do the top N wallets hold? - [GET /wallets/cross-tag](https://polynode.mintlify.app/api-reference/datasets/wallet-cross-tag.md): Wallets active across multiple sport categories. - [GET /wallets/:address](https://polynode.mintlify.app/api-reference/datasets/wallet-detail.md): Single wallet profile — activity across all sport/esport tags. - [GET /wallets/high-frequency](https://polynode.mintlify.app/api-reference/datasets/wallet-high-frequency.md): Wallets ranked by trades per day. - [GET /wallets/market-makers](https://polynode.mintlify.app/api-reference/datasets/wallet-market-makers.md): Wallets that primarily provide liquidity (high maker fill ratio). - [GET /wallets/new](https://polynode.mintlify.app/api-reference/datasets/wallet-new.md): Wallets whose first sports trade was within the last N days. - [GET /wallets/overlap](https://polynode.mintlify.app/api-reference/datasets/wallet-overlap.md): Find wallets that trade across multiple specified tags. - [GET /wallets/whales](https://polynode.mintlify.app/api-reference/datasets/wallet-whales.md): High-volume wallets above a configurable USDC threshold. - [Activity Feed](https://polynode.mintlify.app/api-reference/enriched/activity.md): Live platform-wide trade feed. - [Equity Curve](https://polynode.mintlify.app/api-reference/enriched/equity-curve.md): Full equity curve for any Polymarket wallet, with optional dollar-normalized copy-trade analysis. - [Event Detail](https://polynode.mintlify.app/api-reference/enriched/event.md): Full event data with all markets, prices, token IDs, and metadata. - [Event Search](https://polynode.mintlify.app/api-reference/enriched/event-search.md): Search Polymarket events by text query. Returns events with all sub-markets, token IDs, and current prices. - [Leaderboard](https://polynode.mintlify.app/api-reference/enriched/leaderboard.md): Top traders ranked by profit or volume. - [Markets by Category](https://polynode.mintlify.app/api-reference/enriched/markets.md): Browse markets by category with pagination and event counts. - [Biggest Movers](https://polynode.mintlify.app/api-reference/enriched/movers.md): Markets with the largest 24-hour price changes. - [Trader PnL Series](https://polynode.mintlify.app/api-reference/enriched/trader-pnl.md): PnL time series for a trader at multiple resolutions. - [Trader Profile](https://polynode.mintlify.app/api-reference/enriched/trader-profile.md): Full profile for any Polymarket trader. - [Trending](https://polynode.mintlify.app/api-reference/enriched/trending.md): Trending markets, hot topics, featured events, and biggest movers. - [Filtered Market Listing](https://polynode.mintlify.app/api-reference/markets/filtered-market-listing.md): Returns a filtered, paginated list of markets. Supports sorting, category filtering, and volume thresholds. - [Market by Condition ID](https://polynode.mintlify.app/api-reference/markets/market-by-condition-id.md): Looks up a market by its Polymarket condition ID. Returns full metadata, all token IDs with prices, and outcome prices. - [Market by Slug](https://polynode.mintlify.app/api-reference/markets/market-by-slug.md): Looks up a market by its URL slug. Returns full metadata, all token IDs with prices, and outcome prices. - [Market Detail](https://polynode.mintlify.app/api-reference/markets/market-detail.md): Returns detailed market data for a specific token ID, including metadata, liquidity, and description. - [Search Markets](https://polynode.mintlify.app/api-reference/markets/search-markets.md): Full-text search across all market questions. Results ranked by volume and liquidity. Closed markets are excluded by default. - [Top Markets](https://polynode.mintlify.app/api-reference/markets/top-markets.md): Returns top markets sorted by 24-hour volume. Includes metadata enrichment when available. - [Candles (Trade-Indexed OHLCV)](https://polynode.mintlify.app/api-reference/onchain/candles.md): Server-built OHLCV candles from real onchain trades. Anchor-based pagination with buy/sell volume split, VWAP, and trade counts. Resolutions from 1m to 1d. - [Global Open Interest](https://polynode.mintlify.app/api-reference/onchain/global-oi.md): Total platform-wide open interest from onchain data. - [Market Open Interest](https://polynode.mintlify.app/api-reference/onchain/market-oi.md): Onchain open interest for a specific market. - [Trade History (Market)](https://polynode.mintlify.app/api-reference/onchain/market-trades.md): Complete onchain trade history for any market token. - [Trade History (Market) — Bulk](https://polynode.mintlify.app/api-reference/onchain/market-trades-all.md): Return every trade for a market token in a single response. Growth plan or above. - [Market Volume](https://polynode.mintlify.app/api-reference/onchain/market-volume.md): Lifetime onchain volume statistics for any market token. - [Positions (All)](https://polynode.mintlify.app/api-reference/onchain/positions.md): Query every position on Polymarket. Filter by wallet, market, status, or minimum size. Full history with cursor pagination. - [Tag Slugs (Discovery)](https://polynode.mintlify.app/api-reference/onchain/tags.md): List every tag slug in the polynode taxonomy. Use these values as ?tag_slug= filters on the wallet positions endpoints. - [Trade History (All)](https://polynode.mintlify.app/api-reference/onchain/trades.md): Query every trade ever executed on Polymarket. Filter by wallet, market, time range, or minimum size. Full history with cursor pagination. - [Wallet Activity](https://polynode.mintlify.app/api-reference/onchain/wallet-activity.md): Onchain activity for a wallet: splits, merges, and multi-outcome conversions. - [Wallet Redemptions](https://polynode.mintlify.app/api-reference/onchain/wallet-redemptions.md): All onchain redemptions for a wallet. See who cashed out, when, and how much. - [Trade History (Wallet)](https://polynode.mintlify.app/api-reference/onchain/wallet-trades.md): Complete onchain trade fill history for any wallet. Every fill, every counterparty, every fee. - [Trade History (Wallet) — Bulk](https://polynode.mintlify.app/api-reference/onchain/wallet-trades-all.md): Return every trade for a wallet in a single response. Growth plan or above. - [Midpoint Price](https://polynode.mintlify.app/api-reference/orderbook/midpoint.md): Returns the midpoint price for a token, calculated as the average of the best bid and best ask. - [Order Book](https://polynode.mintlify.app/api-reference/orderbook/order-book.md): Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. - [Bid-Ask Spread](https://polynode.mintlify.app/api-reference/orderbook/spread.md): Returns the bid-ask spread for a token, calculated as the difference between the best ask and best bid price. - [Market Card](https://polynode.mintlify.app/api-reference/pricing/market-statistics.md): One-shot consolidated summary for a token — condition, outcomes, neg-risk flag, end date, last trade time, current orderbook liquidity, 24h OHLCV, and last price. Saves you from making 3–4 separate calls when you just need a market overview tile. - [Generate API Key](https://polynode.mintlify.app/api-reference/system/generate-api-key.md): Generates a new API key. Rate limited to 1 per IP per day. The key is returned only once and cannot be retrieved again. - [Health Check](https://polynode.mintlify.app/api-reference/system/health-check.md): Liveness probe. Returns 200 OK if the server is running. - [Readiness Check](https://polynode.mintlify.app/api-reference/system/readiness-check.md): Returns 200 if node is connected and Redis is reachable, 503 otherwise. - [System Status](https://polynode.mintlify.app/api-reference/system/system-status.md): Returns system status including node connectivity, uptime, stream lengths, and state engine summary. - [Top Traders (Market)](https://polynode.mintlify.app/api-reference/wallets/market-positions.md): Every wallet that holds (or has held) a position in a single market, grouped by outcome and sorted by P&L. The 'who's making money on this market' feed. - [Positions & P&L (Wallet)](https://polynode.mintlify.app/api-reference/wallets/onchain-positions.md): Every position a wallet has held — open and closed — with realized + unrealized P&L, per-position activity timestamps, market resolution timestamps, and parent event slugs. Optional time-window filtering. - [Resolve Wallet](https://polynode.mintlify.app/api-reference/wallets/resolve.md): Instantly resolve any Polymarket wallet address, EOA, or username. - [X Search API](https://polynode.mintlify.app/api-reference/x-search.md): Beta endpoint for live X (Twitter) search and account-timeline data. Drop social context next to your prediction market data without building your own X integration. - [Authentication](https://polynode.mintlify.app/authentication.md): API key generation, authentication methods, and security. - [Changelog](https://polynode.mintlify.app/changelog.md): All notable changes to the PolyNode API and SDKs. - [API Reference](https://polynode.mintlify.app/charts/api-reference.md): Complete API documentation for Chart, Series, TimeScale, PriceScale, and Orderbook - [Data Providers](https://polynode.mintlify.app/charts/data-providers.md): Built-in providers for polynode REST API, orderbook streaming, and short-form market discovery - [Examples](https://polynode.mintlify.app/charts/examples.md): Copy-paste examples for common chart setups - [Getting Started](https://polynode.mintlify.app/charts/getting-started.md): Create your first chart in under 5 minutes - [Live Streaming](https://polynode.mintlify.app/charts/live-streaming.md): Real-time crypto price charts with price-to-beat overlays and live odds - [Charts SDK](https://polynode.mintlify.app/charts/overview.md): High-performance Canvas 2D charting library built for prediction markets and live crypto prices - [CLI](https://polynode.mintlify.app/cli/overview.md): Bloomberg terminal for prediction markets. Real-time TUI dashboards and JSON output for agents. - [Event Format](https://polynode.mintlify.app/crypto/event-format.md): Price feed event schema and field reference. - [Available Feeds](https://polynode.mintlify.app/crypto/feeds.md): All crypto price feeds with live examples. - [Crypto Prices](https://polynode.mintlify.app/crypto/overview.md): Real-time crypto price streaming over WebSocket. 7 assets, ~1 update per second per feed. - [REST API](https://polynode.mintlify.app/crypto/rest-api.md): REST endpoints for crypto market discovery, oracle candles, price-to-beat, and active short-form markets. - [Dome Migration](https://polynode.mintlify.app/dome-migration.md): Drop-in replacement for Dome's WebSocket feed and trading SDK. Same format, same fields, 3-5 seconds faster. Local credential custody. - [Best Practices](https://polynode.mintlify.app/guides/best-practices.md): Patterns for correctly handling the pending-to-confirmed lifecycle, snapshots, and reconnection. - [Copy Trading Pipeline](https://polynode.mintlify.app/guides/copy-trading.md): Private documentation for copy trading integration partners - [Copy Trading API](https://polynode.mintlify.app/guides/copy-trading-api.md): Build a copy-trading product on top of polynode. Register followers + leaders, we detect fills and webhook your backend an unsigned order ready to sign. - [Deposit Wallets](https://polynode.mintlify.app/guides/deposit-wallets.md): Everything you need to know about Polymarket's new deposit wallet system and how it affects your integration. - [Errors](https://polynode.mintlify.app/guides/errors.md): Error format, status codes, and troubleshooting. - [Fee Escrow](https://polynode.mintlify.app/guides/fee-escrow.md): Optional per-order fee collection with on-chain escrow, refund on cancel, and affiliate revenue sharing. - [Nonce Exploit Research](https://polynode.mintlify.app/guides/nonce-exploit.md): Live research on the Polymarket settlement exploit — methodology, on-chain evidence, attacker identification, and detection. - [PolyUSD Guide](https://polynode.mintlify.app/guides/polyusd.md): How to wrap and unwrap PolyUSD — the collateral token for Polymarket V2. - [Position Management](https://polynode.mintlify.app/guides/position-management.md): Split, merge, and convert positions on Polymarket. Gasless via the TypeScript SDK. - [Rate Limits](https://polynode.mintlify.app/guides/rate-limits.md): Rate limiting details and best practices. - [Serving ~1 Billion On-Chain Events at Sub-10ms](https://polynode.mintlify.app/guides/trade-index.md): How polynode replaced third-party subgraph infrastructure with a purpose-built trade index covering every Polymarket trade, position, and settlement since November 2022. - [Trade Tracking Guide](https://polynode.mintlify.app/guides/trade-tracking.md): How to track Polymarket trades for copy trading, analytics, and bookkeeping. - [V2 Technical Details](https://polynode.mintlify.app/guides/v2-details.md): Detailed V2 contract information for polynode subscribers. - [Polymarket V2 Migration](https://polynode.mintlify.app/guides/v2-migration.md): polynode is ready for the Polymarket V2 exchange upgrade. Here's what you need to know. - [Introduction](https://polynode.mintlify.app/introduction.md): Real-time Polymarket data API — settlements detected up to 5 seconds before on-chain confirmation. - [Examples](https://polynode.mintlify.app/orderbook/examples.md): Code examples for connecting to the Orderbook Stream in JavaScript, Python, and from the command line. - [Message Reference](https://polynode.mintlify.app/orderbook/messages.md): Complete reference for all message types sent and received on the Orderbook Stream. - [Orderbook Stream](https://polynode.mintlify.app/orderbook/overview.md): Real-time orderbook data for every Polymarket market, delivered through a single WebSocket connection. - [Quickstart](https://polynode.mintlify.app/quickstart.md): Generate an API key and make your first request in 30 seconds. - [Gas Oracle](https://polynode.mintlify.app/rpc/gas-oracle.md): Real-time gas price intelligence for optimal transaction positioning - [Integration Guide](https://polynode.mintlify.app/rpc/integration.md): Connect to polynode RPC from any Ethereum library or wallet - [Polygon RPC](https://polynode.mintlify.app/rpc/overview.md): Authenticated Polygon RPC with priority transaction routing - [Transaction Tracking](https://polynode.mintlify.app/rpc/tx-tracking.md): Track your transaction's block position and confirmation status - [Local Cache](https://polynode.mintlify.app/sdks/local-cache.md): SQLite-backed local cache for instant offline queries. Backfill wallet history in seconds, stream live updates, query positions and trades locally. - [Orderbook Streaming](https://polynode.mintlify.app/sdks/orderbook.md): Real-time orderbook data with local state management and filtered views - [SDKs](https://polynode.mintlify.app/sdks/overview.md): Official client libraries for the PolyNode API - [Python — Configuration](https://polynode.mintlify.app/sdks/python/config.md) - [Python — Error Handling](https://polynode.mintlify.app/sdks/python/errors.md) - [Python — Models](https://polynode.mintlify.app/sdks/python/models.md) - [Python — Orderbook](https://polynode.mintlify.app/sdks/python/orderbook.md) - [Python — Orderbook Engine](https://polynode.mintlify.app/sdks/python/orderbook-engine.md) - [Python — Overview](https://polynode.mintlify.app/sdks/python/overview.md) - [Python — REST API](https://polynode.mintlify.app/sdks/python/rest-api.md) - [Python — Source](https://polynode.mintlify.app/sdks/python/source.md) - [Python — Trading](https://polynode.mintlify.app/sdks/python/trading.md) - [Python — WebSocket](https://polynode.mintlify.app/sdks/python/websocket.md) - [Redemption Watcher](https://polynode.mintlify.app/sdks/redemption-watcher.md): Push notifications when Polymarket positions become redeemable - [REST API](https://polynode.mintlify.app/sdks/rest-api.md): Typed methods for all 25 REST endpoints - [RPC Proxy](https://polynode.mintlify.app/sdks/rpc.md): JSON-RPC calls through PolyNode's optimized Polygon RPC endpoint - [Rust — Local Cache](https://polynode.mintlify.app/sdks/rust/cache.md) - [Rust — Error Handling](https://polynode.mintlify.app/sdks/rust/errors.md) - [Rust — Orderbook](https://polynode.mintlify.app/sdks/rust/orderbook.md) - [Rust — Overview](https://polynode.mintlify.app/sdks/rust/overview.md) - [Rust — Redemption Watcher](https://polynode.mintlify.app/sdks/rust/redemption.md) - [Rust — REST API](https://polynode.mintlify.app/sdks/rust/rest-api.md) - [Rust — Short-Form](https://polynode.mintlify.app/sdks/rust/short-form.md) - [Rust — Source](https://polynode.mintlify.app/sdks/rust/source.md) - [Rust — Testing](https://polynode.mintlify.app/sdks/rust/testing.md) - [Rust — Trading](https://polynode.mintlify.app/sdks/rust/trading.md) - [Rust — WebSocket](https://polynode.mintlify.app/sdks/rust/websocket.md) - [Short-Form Markets](https://polynode.mintlify.app/sdks/short-form.md): Auto-rotating streams for 5-minute, 15-minute, and hourly crypto prediction markets - [Trading](https://polynode.mintlify.app/sdks/trading.md): Place orders on Polymarket through the polynode SDK with local credential custody and gasless onboarding. - [TypeScript — Configuration](https://polynode.mintlify.app/sdks/ts/config.md) - [TypeScript — Error Handling](https://polynode.mintlify.app/sdks/ts/errors.md) - [TypeScript — Orderbook](https://polynode.mintlify.app/sdks/ts/orderbook.md) - [TypeScript — Orderbook Engine](https://polynode.mintlify.app/sdks/ts/orderbook-engine.md) - [TypeScript — Overview](https://polynode.mintlify.app/sdks/ts/overview.md) - [TypeScript — REST API](https://polynode.mintlify.app/sdks/ts/rest-api.md) - [TypeScript — Source](https://polynode.mintlify.app/sdks/ts/source.md) - [TypeScript — Trading](https://polynode.mintlify.app/sdks/ts/trading.md) - [TypeScript — Types](https://polynode.mintlify.app/sdks/ts/types.md) - [TypeScript — WebSocket](https://polynode.mintlify.app/sdks/ts/websocket.md) - [WebSocket Streaming](https://polynode.mintlify.app/sdks/websocket-streaming.md): Real-time event subscriptions with builder pattern, auto-reconnect, and compression - [Compression](https://polynode.mintlify.app/websocket/compression.md): Reduce WebSocket bandwidth by ~60% with built-in zlib compression. - [Block Event](https://polynode.mintlify.app/websocket/events/block.md): New Polygon block with Polymarket-specific statistics. - [Deposit Event](https://polynode.mintlify.app/websocket/events/deposit.md): USDC and PolyUSD deposits and withdrawals on Polymarket. - [Oracle Event](https://polynode.mintlify.app/websocket/events/oracle.md): UMA Optimistic Oracle events — market initializations, proposals, disputes, resolutions, settlements, and admin actions on Polymarket. - [Position Change Event](https://polynode.mintlify.app/websocket/events/position-change.md): Polymarket position transfers between wallets. - [Position Merge Event](https://polynode.mintlify.app/websocket/events/position-merge.md): Outcome tokens merged back into collateral on Polymarket. - [Position Split Event](https://polynode.mintlify.app/websocket/events/position-split.md): Collateral split into outcome tokens on Polymarket. - [Positions Converted Event](https://polynode.mintlify.app/websocket/events/positions-converted.md): Position conversion on neg-risk multi-outcome markets. - [Price Feed Event](https://polynode.mintlify.app/websocket/events/price-feed.md): Real-time crypto price updates -- BTC, ETH, SOL, BNB, XRP, DOGE, HYPE. - [Redemption Event](https://polynode.mintlify.app/websocket/events/redemption.md): Position payout redemptions on Polymarket. - [Settlement Event](https://polynode.mintlify.app/websocket/events/settlement.md): Polymarket settlement — pending (pre-chain) or confirmed (on-chain). - [Status Update Event](https://polynode.mintlify.app/websocket/events/status-update.md): Notification when a pending settlement confirms on-chain, with exact fill data from receipt logs. - [Trade Event](https://polynode.mintlify.app/websocket/events/trade.md): Confirmed on-chain trade execution from Polymarket exchange contracts. - [Examples](https://polynode.mintlify.app/websocket/examples.md): Complete WebSocket examples in JavaScript, Python, and wscat. - [WebSocket Overview](https://polynode.mintlify.app/websocket/overview.md): Real-time Polymarket trades, 3-5 seconds before on-chain confirmation. - [Subscriptions & Filters](https://polynode.mintlify.app/websocket/subscribing.md): Subscription types, filter options, and how event matching works. ## OpenAPI Specs - [openapi](https://polynode.mintlify.app/openapi.json) ## Optional - [GitHub](https://github.com/joinQuantish)