Ultra-Low-Latency Polymarket Mempool Trade Streaming & Real-Time On-Chain Analytics API.
Engineered for Polymarket copy-trading bots, professional traders, and prediction market builders.
Capture pending trades pre-block and track smart money with institutional-grade on-chain analytics.
Website • Documentation • Console • Benchmarks
PolyEdge peers directly with 100+ Polygon validator P2P gossip nodes to detect raw CTFExchange matching transactions in the mempool before block confirmation:
- Pre-Block Lead: Sub-second execution detection before trades are packaged on-chain.
- Data Completeness: Natively bundles market question, condition ID, slug, and all matched CLOB maker orders into each trade event — eliminating secondary REST queries.
- 100% Reproducible Empirical Benchmarks: Verify the latency lead yourself.
| Comparison Target | PolyEdge Faster % | P50 Lead | P90 Lead | P99 Lead | Max Lead |
|---|---|---|---|---|---|
| PolyEdge vs On-Chain Block Time | 100.0% | +2,038 ms ✓ | +2,924 ms ✓ | +3,293 ms ✓ | +3,411 ms ✓ |
| PolyEdge vs Polymarket RTDS | 100.0% | +1,747 ms ✓ | +2,534 ms ✓ | +2,944 ms ✓ | +3,047 ms ✓ |
| PolyEdge vs PolyNode WS | 98.9% | +25 ms ✓ | +42 ms ✓ | +62 ms ✓ | +245 ms ✓ |
* Positive lead time (+) with ✓ indicates PolyEdge delivered the trade faster than the target.
PolyEdge provides official, production-ready SDKs across four major programming languages, featuring built-in 45s keep-alive watchdogs, automatic Last-Event-ID resumption, and full OpenAPI 3.1 coverage:
| Language | Repository | Package | Installation |
|---|---|---|---|
| Node.js / TS | PolyEdgeDev/polyedge-ts |
npm install polyedge |
|
| Python | PolyEdgeDev/polyedge-python |
pip install polyedge |
|
| Go | PolyEdgeDev/polyedge-go |
go get github.com/PolyEdgeDev/polyedge-go |
|
| Rust | PolyEdgeDev/polyedge-rust |
cargo add polyedge |
Subscribe to pending trade executions filtered by wallet addresses, market tags (e.g. sports, crypto, elections), or specific event series slugs with automatic reconnection and buffer replay.
- Trade-by-Trade State Machine: Dynamic weighted cost basis and realized net PnL derived directly from raw
CTFExchangematch events, eliminating deposit/transfer distortions. - Smart Money & Trader Dossiers: Top trader performance tracking, 24-hour PnL equity curves, win-rate bounds, and Polymarket Taker Rebate Tier telemetry.
- Protocol Friction Audit: Automatic deduction of protocol fees and complete settlement resolution.
- Create a free developer account at polyedge.dev.
- Obtain your API key from the Console.
- Install the SDK for your stack and start streaming:
# TypeScript
npm install polyedge
# Python
pip install polyedge
# Go
go get github.com/PolyEdgeDev/polyedge-go
# Rust
cargo add polyedge