What Is OBS WebSocket?
OBS WebSocket is a protocol built into OBS Studio (since version 28) that lets external programs control OBS over a local network connection. Any tool that speaks the WebSocket protocol can connect to OBS and do everything you can do manually — switch scenes, show/hide sources, start/stop recording, adjust audio, apply filters, and more.
Think of it as a remote control API for OBS. Instead of clicking buttons in the OBS interface, a program sends JSON commands over a WebSocket connection. OBS executes them instantly and sends back results.
This is the foundation for all OBS automation tools. Streamer.bot, Touch Portal, Stream Deck software, VPE, and dozens of other tools all use WebSocket to control OBS. If you've ever used any external tool that controls OBS, it was using this protocol.