GET Current Game Match
https://glz-{region}-1.{shard}.a.pvp.net/core-game/v1/matches/{current game match id}
Get the current game match info
Headers:
-
X-Riot-ClientPlatform: {client platform}
-
X-Riot-ClientVersion: {client version}
-
X-Riot-Entitlements-JWT: {entitlement token}
-
Authorization: Bearer {auth token}
URL Parameters:
-
{region}
There are 6 regions:
Region ID Region Name na
North America latam
Latin America br
Brazil eu
Europe ap
Asia Pacific kr
Korea The region can be found in the ShooterGame log (
Obtaining remotely:%LocalAppData%\VALORANT\Saved\Logs\ShooterGame.log
) when it's used in an endpoint url.
Example regex capturing region and shard:https://glz-(.+?)-1.(.+?).a.pvp.net
Use the Riot Geo endpoint with the ID and auth tokens from Cookie Reauth
-
{current game match id}
The match ID of the current game. The ID of the current game can be found from the Current Game Player endpoint.
Other Variables:
-
client platform
A string representing the platform of the client. Base-64 encoded JSON with the following fields:
{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
ew0KCSJwbGF0Zm9ybVR5cGUiOiAiUEMiLA0KCSJwbGF0Zm9ybU9TIjogIldpbmRvd3MiLA0KCSJwbGF0Zm9ybU9TVmVyc2lvbiI6ICIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwNCgkicGxhdGZvcm1DaGlwc2V0IjogIlVua25vd24iDQp9
is a value that works. -
client version
-
entitlement token
Can be obtained locally with the Entitlements Token endpoint or remotely using Riot auth and the Entitlement endpoint -
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Response:
type CurrentGameMatchResponse = {
/** Current Game Match ID */
MatchID: string;
Version: number;
State: "IN_PROGRESS";
/** Map ID */
MapID: string;
/** Game Mode */
ModeID: string;
ProvisioningFlow: "Matchmaking" | "CustomGame";
GamePodID: string;
/** Chat room ID for "all" chat */
AllMUCName: string;
/** Chat room ID for "team" chat */
TeamMUCName: string;
TeamVoiceID: string;
/** JWT containing match ID, participant IDs, and match region */
TeamMatchToken: string;
IsReconnectable: boolean;
ConnectionDetails: {
GameServerHosts: string[];
GameServerHost: string;
GameServerPort: number;
GameServerObfuscatedIP: number;
GameClientHash: number;
PlayerKey: string;
};
PostGameDetails: null;
Players: {
/** Player UUID */
Subject: string;
TeamID: ("Blue" | "Red") | string;
/** Character ID */
CharacterID: string;
PlayerIdentity: {
/** Player UUID */
Subject: string;
/** Card ID */
PlayerCardID: string;
/** Title ID */
PlayerTitleID: string;
AccountLevel: number;
/** Preferred Level Border ID */
PreferredLevelBorderID: string | "";
Incognito: boolean;
HideAccountLevel: boolean;
};
SeasonalBadgeInfo: {
/** Season ID */
SeasonID: string | "";
NumberOfWins: number;
WinsByTier: null;
Rank: number;
LeaderboardRank: number;
};
IsCoach: boolean;
IsAssociated: boolean;
}[];
MatchmakingData: null;
};