Live Stream
API ▸ How to connect for realThis is the streaming bus, running now. Seven channels, five forced‑liquidation venues, on‑chain swaps decoded from our own BSC and AVAX nodes. The three panels below show the same feed three ways — a dual‑unit tape, the throughput behind it, and one pulse dot per channel so a feed that has gone dark is visible in a glance instead of in a support ticket.
Demo transport
Negotiating a short‑lived demo token with the gateway…
The tape
swaps| Venue | Symbol | Side | Size (base) | Size (USD) | Age |
|---|---|---|---|---|---|
| Waiting for the first frame… | |||||
Size is shown in base coin and in USD, because they answer different questions. A USD-only tape tells you how much money moved; it does not tell you how much of the asset actually changed hands, and at a fast-moving price those two diverge. A row marked legs disagree is a swap whose two sides do not price to the same USD value — a token whose decimals could not be resolved upstream. It is flagged rather than repaired or dropped, and hovering it says by how much.
Throughput
Measured from the bus published_total
counter, not from the rows drawn above — so the rate stays true even when the demo
is showing you a subset. Quiet periods are drawn as zero, not
hidden. Crypto has dead hours; a chart that scrolls slowly instead of showing
a flat line is lying about the market, not about the feed.
Pulse
One dot per channel on the bus. Green = has published. Amber = a producer is registered and has published nothing yet. Red = no producer in this process — which is a different claim from “nothing is happening”, and the API says which. The age is time since that channel's last frame. A feed that dies goes stale here in seconds; the reason this panel exists is that one liquidation venue stayed dark for 95.8 hours before anybody noticed.
Observed in this browser session only. A venue missing from this list is a venue
that has not printed while you were watching — it is not evidence the venue is down.
The authoritative per-venue verdict lives in liquidation_stream.health_report(),
which judges each venue against its own measured inter-arrival baseline.
What the stream carries
| Channel | Source | Unit of the principal number | Venue push? | What it is |
|---|---|---|---|---|
swaps |
swap_broadcast — BSC / AVAX node watchers | USD notional | Derived | On-chain DEX swaps decoded from our own full nodes, from block and log subscriptions rather than an exchange push socket. Floor of $500 notional. |
liquidations |
liquidation_stream — 4 venue sockets | USD notional | Venue push | Forced liquidations as the venue itself pushed them. The side is the liquidated side, resolved per venue — the venues genuinely disagree about which side their field names, so it is never assumed. |
funding |
market_collectors + the venue funding clock | Rate per interval and 8h-normalised | Derived | Per-instrument funding change. Every frame carries both the venue's own rate on its own interval and the 8h-normalised value, with the interval that produced it. Venues run 1h / 2h / 4h / 8h clocks; summing them raw is the classic wrong number. |
whales |
multichain_whales / whale event pipeline | USD notional | Derived | Large wallet events, poll-derived from chain indexers. |
signals |
signal_tracker.signal_log | Dimensionless confidence | Derived | Signal firings as they are written to the log. A frame here is a claim about our own engine, never about a venue. |
orderbook |
market_collectors.collect_orderbooks | USD notional depth | Derived | REST book snapshots aggregated across venues. A venue whose book does not span the requested band is missing from the aggregate, never counted as zero depth. |
fills |
research_store.wallet_fills | Base size and USD notional | Derived | Tracked-wallet fills, Hyperliquid only. This is a research capture rather than a production feed, and every frame says so in its own payload. |
Venues
Forced liquidations — four exchange sockets
binance, okx, bybit and bitget.
Each is a venue-pushed socket, and each is judged for staleness
against its own measured inter-arrival baseline rather than against the other
three: Binance's !forceOrder is the entire universe while Bybit subscribes to
a named symbol set, so “Binance 500 prints this hour, Bybit 16” is the design
working, not an outage. The staleness thresholds in force are 30 min (Binance), 90 min
(OKX, Bitget) and 6 h (Bybit) — BitMEX ceased trading in September 2026 and is retired from the stream — and a venue that has never delivered is
measured from when we connected — not excused as a cold start. That excuse is
precisely what let a dead collector stay silent for 95.8 hours.
On-chain swaps — our own nodes
BSC and Avalanche, decoded locally from full nodes we run, so there is no third-party indexer between the block and the frame. DEX routers are matched per chain; the broadcast floor is $500 of notional.
A real frame, annotated
Both payloads below are real frames taken off the running bus, reformatted for reading and nothing else. No field was renamed, added or removed.
A forced liquidation (liquidations)
{
"channel": "liquidations",
"source": "liquidation_stream",
"is_venue_push": true, // the venue pushed this; we did not infer it
"exchange": "bitget",
"symbol": "ENA", // canonical; venue-agnostic
"raw_symbol": "ENAUSDT", // exactly as the venue named it
"side": "BUY", // the venue's OWN word. Do not trade on it.
"liquidated_side": "long", // normalised: a LONG was liquidated
"price": 0.15959042092,
"qty": 1846.0, // BASE COIN — 1,846 ENA
"notional": 294.60391701832, // USD = price * qty
"ts": 1788075951869, // venue event time, ms
"ts_ms": 1788075951869,
"seq": 1834, // monotonic per channel — gap = you missed frames
"ts_broadcast_ms": 1788075952104
}
side is BUY. A second real print from OKX, 384 ms earlier
and on the same symbol, carries raw side: "SELL" — and both are
liquidated_side: "long". Two venues, opposite words, identical event. If you
read side and act on it you will be wrong on roughly half the tape. That is
why the raw field is never dropped and never silently rewritten: you get the venue's word
and the normalisation, and you can check our work.
An on-chain swap (swaps)
{
"type": "swap",
"chain": "bsc",
"dex": "pancakeswap",
"swapper": "0x76801132a22801640284cd67f7dd41fed2926b6a",
"swapper_label": null, // null = unlabelled, NOT "no label exists"
"tx_hash": "0x585288e9547f203c610b0b8da9d6faf852c3eca2…",
"explorer_url": "https://bscscan.com/tx/0x585288e954…",
"token_in": { "symbol": "BTCB", "amount": 0.019264, "amount_usd": 1506.01 },
"token_out": { "symbol": "WBNB", "amount": 2.170977, "amount_usd": 1505.75 },
"amount_usd": 1506.01,
"pair": "BTCB → WBNB",
"block": 118921508,
"timestamp": 1788075868,
"significance": "low",
"seq": 1600,
"ts_broadcast": 1788075868.5671608
}
Both legs carry their own amount and amount_usd, so a swap
between two non-stable assets is priced on both sides instead of being flattened into one
number. The tape above shows the leg the headline amount_usd refers to
— the priced leg — with BUY or SELL read from which
leg that is, and puts the other leg on the second line. When a router returns a leg whose
decimals we could not resolve, that leg is the one on the second line rather than the one
setting the size, so a mis-decoded amount cannot masquerade as a $0.04 trade on a feed
with a $500 floor.
Latency, sampling and what this demo is
Where the latency actually comes from
- Venue → us. Liquidations arrive on a venue-pushed socket, so this
leg is the venue's own latency plus network. We do not add to it and we do not measure
the venue's clock for you — the frame carries the venue's
tsand ourts_broadcast_ms, and the difference is yours to inspect. - Us → bus. Swaps publish on block decode. The derived channels
(
liquidationsrepublished onto the bus,funding,whales,orderbook) are lifted by a producer loop that runs on a 2-second interval, so a frame on those channels can sit up to about two seconds between being normalised and being broadcast. That is a real number and it is not rounded down. - Bus → you. On the paid socket, one hop. On this demo page, one hop plus the demo's own refresh, which the banner states explicitly.
Sequence numbers are the honesty mechanism
Every frame carries a per-channel seq that increases by exactly one. If your
client sees 1600 then 1604, three frames (1601–1603) did not reach you, and you know it without asking
us. That is also how the throughput panel on this page stays truthful while showing you a
subset: the rate is computed from the bus counter, so it cannot be flattered by drawing
fewer rows.
What the stream does not include
- No order book you can trade off. The
orderbookchannel is aggregated REST snapshots, not a tick-by-tick L2 book. It is context, not an execution feed. - No spot trade tape. There is no channel of every fill on every venue.
fillsis tracked wallets on Hyperliquid only, and is labelled a research capture. - No prediction, and no advice.
signalscarries our engine's own firings with a confidence number attached. A signal is a claim about our model, not about the market, and certainly not a recommendation. - No swaps under $500, and no chains beyond BSC and Avalanche on the
swapschannel. - No historical replay on connect. A socket gives you what is published from the moment you attach, plus a small rolling buffer. Backfill is the REST history API, not the stream.
- No uptime SLA. This product does not sell an uptime or response-time commitment on any plan, streaming included. Saying so here is cheaper than saying it in a refund.
Streaming limits by plan
| Plan | Channels | Concurrent sockets | Connected time / day | Frames / day | Tickets / day |
|---|---|---|---|---|---|
| FreeFree | swaps liquidations2 of 7 |
1 | 3,600 s (1 h) | 20,000 | 40 |
| Trader$29/mo | swaps liquidations funding whales signals5 of 7 |
3 | 259,200 s (72 h) | 300,000 | 600 |
| Pro$79/mo | swaps liquidations funding whales signals orderbook fills7 of 7 |
6 | 518,400 s (144 h) | 1,500,000 | 3,000 |
| Enterprise$299/mo | swaps liquidations funding whales signals orderbook fills7 of 7 |
50 | 4,320,000 s (1200 h) | 25,000,000 | 50,000 |
Every number in this table is read from plans.json
and enforced in the gateway — none of it is decoration, and none of it is typed into
this page by hand. The frames-per-day allowance is derived from the same daily call budget
the plan is already sold on: a streamed frame is charged at roughly one hundredth of a REST
call, because it carries no per-call key validation and no per-call rate-limit round trip.
Free is the deliberate exception on connected time — one hour a day is a test
allowance, enough to point a client at the socket and watch it work, not enough to run a bot
on. Full pricing →
How you actually connect
An API key is never accepted in a WebSocket URL — URLs end up in proxy logs, browser history and referrer headers. You exchange the key for a short-lived, single-use ticket over a normal HTTPS POST, then open the socket with the ticket.
# 1. mint a ticket (the key travels in a header, never in a URL) curl -sX POST https://api.smartmoneyapi.com/v1/ws/ticket \ -H "X-API-Key: $SMA_KEY" # -> {"ticket":"…","expires_in":…,"ws_url":"/v1/ws/stream","channels":[…]} # 2. connect with the ticket, naming the channels you want wss://api.smartmoneyapi.com/v1/ws/stream?ticket=…&channels=swaps,liquidations
The catalogue itself is public and keyless, on purpose: you can read what streaming exists,
which plan it is on, and whether a channel currently has a producer, before paying
for it — GET /v1/ws/channels. It publishes no market data, only the
catalogue and the per-channel state.
WebSocket documentation · Try it in the console · Pricing · System status
Why this page is built the way it is
Watchable, not connectable
There is no open stream URL on this page for a client to point at. The widget negotiates
a short-lived, first-party demo grant and the browser sends its own Origin,
which the gateway checks; the endpoints it can reach are CORS-locked to
https://smartmoneyapi.com, so another site's page cannot read them at all.
That is a tiering and abuse control, not a security boundary, and we say so rather than
implying a curl cannot forge a header.
Three views, not one tape
A bare scrolling tape conveys neither rate nor breadth. It looks identical at 0.3 events/sec and 30, and a channel that has silently died looks exactly like a channel that is quiet. The sparkline answers “how fast” and the pulse answers “is any of this actually alive” — the second question is the one that went unanswered for 95.8 hours.
The explanation is the page
Everything a search engine needs to understand this product is static HTML: the channel table, the venues, the real annotated frames, the limits, the exclusions. The live widget is enhancement. If it never boots, nothing indexable is lost.