PolyNode provides official SDKs for TypeScript, Rust, and Python. All wrap the full REST API and WebSocket streaming interface with typed responses, auto-reconnection, and zlib compression support.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.
TypeScript / Node.js
npm install polynode-sdkZero runtime dependencies. ESM + CJS. Node 18+.Rust
polynode = "0.12"Async with tokio. Typed events via serde.Python
pip install polynodeSync + async. Pydantic v2 types. Python 3.10+.Charts (Browser)
npm install polynode-chartsZero-dependency Canvas 2D charting for prediction markets and live crypto prices. Browser only.polynode-sdk is the data SDK (REST, WebSocket, trading, cache). It runs in Node.js.polynode-charts is the visualization SDK (candlestick charts, orderbooks, live streaming UI). It runs in the browser.Building a frontend? Install both: npm install polynode-sdk polynode-chartsFeatures
Local Cache
SQLite-backed local storage. Backfill wallet history in seconds, query trades and positions instantly with zero API calls.
Short-Form Markets
Auto-rotating streams for 5m, 15m, and 1h crypto prediction markets. Includes price-to-beat, odds, and liquidity.
WebSocket Streaming
Builder-pattern subscriptions with 10 presets, 11 filter dimensions, and transparent compression.
Orderbook
Real-time orderbook data with local state management, filtered views, and 108k+ markets.
REST API
Typed methods for all 25 REST endpoints. Markets, pricing, settlements, wallets, enriched data.
RPC Proxy
JSON-RPC through PolyNode’s optimized Polygon endpoint with validator-targeted TX submission.
Redemption Watcher
Push alerts when tracked wallets’ positions become redeemable. Combines REST positions with real-time oracle events.
Trading
Place orders on Polymarket with one-call gasless onboarding. Auto-detects wallet type, local credential custody, builder attribution.
What the SDKs Cover
| Feature | TypeScript | Rust | Python |
|---|---|---|---|
| Local cache (SQLite) | Yes | Yes | Planned |
| REST API (25 endpoints) | Yes | Yes | Yes |
| WebSocket streaming | Yes | Yes | Yes (async) |
| Short-form markets (auto-rotation) | Yes | Yes | Yes |
| All 9 event types + price feeds | Typed interfaces | Typed structs + enum | Pydantic models |
| Subscription filters | Builder pattern | Builder pattern | Builder pattern |
| Orderbook streaming | Yes | Yes | Yes |
| Local orderbook state | LocalOrderbook | LocalOrderbook | LocalOrderbook |
| OrderbookEngine (views) | Yes | Yes | Yes |
| Zlib compression | Transparent | Transparent | Transparent |
| Auto-reconnect | Exponential backoff | Exponential backoff | Exponential backoff |
| Enriched data (leaderboard, trending, profiles) | Yes | Yes | Yes |
| RPC proxy | Yes | Yes | Yes |
| Redemption watcher | Yes | Yes | Yes |
| Trading (order placement) | Yes | Yes (feature: trading) | Yes |
Quick Comparison
- TypeScript
- Rust
- Python

