# WebSocket Documentation

#### Overview

Defx offers websockets for consuming streaming market and user data streams. While the market streams websocket is open, consuming the user data streams would require you to authenticate.&#x20;

All our WebSockets expect a keep-alive ping-pong frame. Usually you dont have to do anything since all modern WebSocket libraries do this automatically.&#x20;
