Skip to content
@PolyEdgeDev

PolyEdge

Ultra-Low-Latency Polymarket Mempool Trade Streaming & Real-Time On-Chain Analytics API.

PolyEdge Logo

PolyEdge

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


⚡ The World's Fastest Polymarket Mempool Engine

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.

📊 Benchmark Results

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.


📦 Official Client SDKs

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 npm install polyedge
Python PolyEdgeDev/polyedge-python PyPI pip install polyedge
Go PolyEdgeDev/polyedge-go Go Reference go get github.com/PolyEdgeDev/polyedge-go
Rust PolyEdgeDev/polyedge-rust Crates.io cargo add polyedge

🏛️ Core Platform Capabilities

1. Real-Time Mempool Trade Streams

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.

2. On-Chain Trade Analytics Engine

  • Trade-by-Trade State Machine: Dynamic weighted cost basis and realized net PnL derived directly from raw CTFExchange match 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.

🚀 Get Started

  1. Create a free developer account at polyedge.dev.
  2. Obtain your API key from the Console.
  3. 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

Pinned Loading

  1. polyedge-stream-benchmark polyedge-stream-benchmark Public

    This repository is an open-source latency benchmark suite designed to test and verify the delivery speed of the PolyEdge Polymarket trade stream against Polygon on-chain block time, Polymarket offi…

    JavaScript 1

  2. polyedge-go polyedge-go Public

    Official Go SDK for PolyEdge ultra-low-latency Polymarket mempool trade streaming and real-time on-chain analytics API.

    Go

  3. polyedge-python polyedge-python Public

    Official Python SDK for PolyEdge ultra-low-latency Polymarket mempool trade streaming and real-time on-chain analytics API.

    Python

  4. polyedge-rust polyedge-rust Public

    Official Rust SDK for PolyEdge ultra-low-latency Polymarket mempool trade streaming and real-time on-chain analytics API.

    Rust

  5. polyedge-ts polyedge-ts Public

    Official TypeScript/Node.js SDK for PolyEdge ultra-low-latency Polymarket mempool trade streaming and real-time on-chain analytics API.

    TypeScript

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…