API Reference Local Endpoints
WSS
Local WebSocket
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 string required
Value
Basic {base64 encoded "riot:{lockfile password}"}— Base64 of riot:{lockfile password}, from the Riot Client lockfile URL parameters
port number required From the Riot Client lockfile.
How to get it
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 format name:pid:port:password:protocol
Other variables
lockfile password From the Riot Client lockfile. Details
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 format name:pid:port:password:protocol