GET Sessions
https://127.0.0.1:{port}/product-session/v1/external-sessions Gets info about the running Valorant process including start arguments Can be used to get shard, region, and puuid by parsing launch args.
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 passwordThe 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
Response
type SessionsResponse = {
[x: string]: {
exitCode: number;
exitReason: null;
isInternal: boolean;
launchConfiguration: {
arguments: string[];
executable: string;
locale: string | null;
voiceLocale: null;
workingDirectory: string;
};
patchlineFullName: "VALORANT" | "riot_client";
patchlineId: "" | "live" | "pbe";
phase: string;
productId: "valorant" | "riot_client";
version: string;
};
}; {
"volaticus": {
"exitCode": 1686989134510968,
"exitReason": null,
"isInternal": false,
"launchConfiguration": {
"arguments": [
"vinco"
],
"executable": "omnis",
"locale": "crastinus",
"voiceLocale": null,
"workingDirectory": "solvo"
},
"patchlineFullName": "VALORANT",
"patchlineId": "live",
"phase": "alienus",
"productId": "valorant",
"version": "maiores"
}
}