Charts WS Server
Charts WebSocket
Protocol v2 — LastBar and MCapBar streams
WSS
Real-time price bars and market-cap bars use the same WebSocket Protocol v2 as other Snekfun services: JSON text frames, subscribe / unsubscribe envelopes, and
DefaultOutgoingMessage responses.
Auth: Public
Connection
- Public URL (typical):
wss://charts.snek.fun/v1/websocket/ws(reverse proxy adds/websocketbefore/ws). - Application route: the server binds WebSocket at path
/wson the charts WS port.
Topics
Subscribe (client → server)
pair.base/pair.quote: Cardano asset ids; ADA may be".","ADA", or"0x"on input.interval:min1|min5|hour1|day1|week1|month1.
"topic": "MCapBar" with the same data shape.
Unsubscribe
Server → client
Envelope:MCapBarUpdate events carry mCap instead of OHLCV fields.