WebSocket APIs
Real-time, bidirectional communication for your web applications built with Ellena's WebSocket endpoints.
Explore FeaturesReal-time, bidirectional communication for your web applications built with Ellena's WebSocket endpoints.
Explore FeaturesMaintain persistent bidirectional connections for instant data exchange between clients and servers.
Auto-scaling and load balancing for handling thousands of concurrent connections efficiently.
Use our WebSocket client SDK to establish a secure connection to Ellena's endpoints. We support both wss and ws protocols.
const socket = new WebSocket('wss:/api.ellena.com/socket');
socket.onopen = () => {
console.log('Connected to Ellena WebSocket');
}
Use JSON payloads to send and receive structured data. All messages are automatically encrypted using TLS.
{
"cmd": "subscribe",
"topic": "marketdata",
"format": "json"
}