WSS Local WebSocket
wss://127.0.0.1:{port}
The local websocket provides a way to retrieve live info by subscribing to named events.
For a good guide on connecting to and using the local websocket, see https://hextechdocs.dev/getting-started-with-the-lcu-websocket/
Some open-source tools for interacting with the local websocket:
- Valorant WebSocket Logger
- Connects to the local websocket and uses the Local Help endpoint to subscribe to and log all events
- Valorant WebSocket Log Viewer
- Webapp UI for viewing the websocket logs. Decodes presence data automatically
Headers:
-
Authorization: Basic {base64 encoded "riot:{lockfile password}"}
URL Parameters:
-
{port}
The port can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile
) when the game is running. The file has the formatname:pid:port:password:protocol
Other Variables:
-
lockfile password
The password can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile
) when the game is running. The file has the formatname:pid:port:password:protocol