Glossary ยท API
WebSocket
A persistent bidirectional connection ideal for real-time streaming data.
Definition
WebSocket is a persistent bidirectional connection between client and server ideal for real-time streaming data. Unlike REST, which requires a new request per update, WebSocket pushes new data the moment it arrives. Spectre AI exposes 7 WebSocket channels (prices, orderbook, trades, signals, liquidations, briefs, sentiment) so bots and dashboards get sub-second updates.
See this concept live in Spectre AI: /website2/api