Core product

The live data layer for Polymarket.

Not just trades — one real-time, wallet-level stream of everything happening on Polymarket: every buy and sell, deposits, withdrawals, peer-to-peer transfers, and UMA oracle events (proposals, disputes, resolutions). The moment it hits the mempool. It's the data layer everything else is built on.

bot.py LIVE
# pip install polyflux-client
import asyncio
from polyflux import Client

async def main():
    client = Client("YOUR_API_KEY")
    # typed events, wallet-level, in real time
    async for trade in client.trades():
        print(trade.wallet_address, trade.side, trade.notional)

asyncio.run(main())
One stream, everything on-chain

Every kind of Polymarket event — in a single feed.

🟢

Trades

Every buy and sell fill — wallet, side, outcome, price, and size — the instant it's seen in the mempool, before the chain confirms.

💸

Money flow

Deposits and withdrawals, plus peer-to-peer transfers between wallets. Follow capital moving in, out, and around.

⚖️

UMA oracle

Resolution proposals, disputes, and final resolutions as they hit the UMA oracle — catch contested outcomes the moment they open.

What you get

Real-time, pre-chain

Trades stream from the mempool the instant they're seen — you react before the transaction is even confirmed on-chain.

Wallet-level detail

Every message carries the wallet, market, outcome, side, price, and size — not aggregated candles. The raw order flow.

A WebSocket + an SDK

Open a plain WebSocket, or drop in the SDK and start consuming typed events in a few lines. Your language, your stack.

Deep historical access

Beyond the live feed: query historical trades down to the wallet to backtest, build datasets, or research any past move.

How it works

From API key to live order flow in three steps.

1

Grab your key

Subscribe and get an API key. The same key authenticates the stream, the SDK, and the historical endpoints.

2

Open the stream

Connect a WebSocket to api.polyflux.io/stream — or initialize the SDK. Trades start flowing immediately.

3

Build on it

Feed it into alerts, dashboards, models, or bots. It's the same layer that powers Trades Inspector, Wallet Spy, and Disputed Markets.

What people build with it
Front-run the crowd. Act on large flow the moment it appears, not after the chart moves.
Power trading bots. A low-latency signal source for automated strategies.
Research & backtest. Wallet-level history to test ideas against what really happened.
Build your own tools. Dashboards, alerts, analytics — on top of clean, real-time data.

Plug into Polymarket's order flow.

Get the real-time stream, the SDK, and historical access with your Polyflux subscription.