### Install and Run Development Server (NPM) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/web/README.md Installs project dependencies and starts the development server. Requires Node.js and npm. No specific inputs or outputs beyond starting the server. ```bash npm install npm run dev ``` -------------------------------- ### GET /product-session/v1/external-sessions Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Useful Local/GET RiotClientSession_FetchSessions.md Fetches information about the running Valorant process, including its start arguments and session details. ```APIDOC ## GET /product-session/v1/external-sessions ### Description Gets info about the running Valorant process including start arguments. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/product-session/v1/external-sessions` ### Headers - `Authorization`: `Basic {base64 encoded "riot:{lockfile password}"}` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - `SessionsResponse` (object) - An object containing session information for each running Valorant product. #### Response Example ```json { "valorant": { "exitCode": 0, "exitReason": null, "isInternal": false, "launchConfiguration": { "arguments": [ "--launch-flag=.." ], "executable": "C:\\Riot Games\\VALORANT.exe", "locale": "en-US", "voiceLocale": null, "workingDirectory": "C:\\Riot Games\\VALORANT\\live" }, "patchlineFullName": "VALORANT", "patchlineId": "live", "phase": "", "productId": "valorant", "version": "1.2.3.456789" } } ``` ### Variables - `{lockfile port}` and `{lockfile password}`: Read from lockfile data. Refer to [Common Components - Lockfile Data](../common-components.md#lockfile-data) for details. ``` -------------------------------- ### Fetch Render Devices (JavaScript) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET VOICE_CHAT_RNet_FetchRenderDevices.md Provides a JavaScript example for fetching audio output devices via the Valorant API. It shows how to construct the request with authorization headers using lockfile data. ```javascript const fs = require('fs'); const btoa = require('btoa'); const lockfileData = JSON.parse(fs.readFileSync('lockfile', 'utf8')); const port = lockfileData.ports.lockfile; const password = lockfileData.data.password; fetch(`https://127.0.0.1:${port}/voice-chat/v2/devices/render`, { method: 'GET', headers: { 'Authorization': `Basic ${btoa(`riot:${password}`)}` } }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` -------------------------------- ### GET Voice Chat Sessions (Example) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET VOICE_CHAT_RNet_FetchSessions.md Example of how to fetch voice chat sessions for Valorant using the provided API endpoint. This requires obtaining the lockfile port and password, which are detailed in the common components section. The response will contain session information. ```bash curl -X GET "https://127.0.0.1:{lockfile port}/voice-chat/v3/sessions/valorant" \ -H "Authorization: Basic {base64 encoded \"riot:{lockfile password}\"}" ``` -------------------------------- ### Fetch Chat Settings using curl Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET TEXT_CHAT_RNet_FetchSettings.md Example of fetching chat settings using curl. This command requires the lockfile port and password to construct the correct URL and authorization header. ```bash curl -X GET "https://127.0.0.1:{lockfile port}/chat/v1/settings" \ -H "Authorization: Basic {base64 encoded \"riot:{lockfile password}\"}" ``` -------------------------------- ### GET /plugin-manager/v1/status Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET URNetClient_CheckPluginStatus.md Retrieves the status of installed plugins for the Valorant client. ```APIDOC ## GET /plugin-manager/v1/status ### Description Gets plugin status. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/plugin-manager/v1/status` ### Parameters #### Headers - **Authorization** (string) - Required - `Basic {base64 encoded "riot:{lockfile password}"}` ### Request Example ``` GET https://127.0.0.1:20475/plugin-manager/v1/status Authorization: Basic cmlvdDpsb2Nra2V5cGFzc3dvcmQ= ``` ### Response #### Success Response (200) - **data** (object) - Contains the status of each plugin. - **plugin-name** (object) - Details about a specific plugin. - **version** (string) - The version of the plugin. - **state** (string) - The current state of the plugin (e.g., "Running", "Stopped"). #### Response Example ```json { "data": { "plugin-name": { "version": "1.0.0", "state": "Running" } } } ``` ``` -------------------------------- ### Fetch Valorant Push-to-Talk Settings (HTTP GET) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET VOICE_CHAT_RNet_FetchPTTSettings.md This snippet demonstrates how to fetch Valorant's voice chat push-to-talk settings using an HTTP GET request. It requires the lockfile port and password to construct the URL and authentication header. Ensure the lockfile is running and accessible. ```http GET https://127.0.0.1:{lockfile port}/voice-chat/v2/push-to-talk/valorant Headers: - Authorization: Basic {base64 encoded "riot:{lockfile password}"} ``` -------------------------------- ### GET VOICE_CHAT_RNet_FetchPTTSettings Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET VOICE_CHAT_RNet_FetchPTTSettings.md Fetches the Push-to-Talk settings for Valorant voice chat. ```APIDOC ## GET /voice-chat/v2/push-to-talk/valorant ### Description Fetches the Push-to-Talk settings for Valorant voice chat. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/voice-chat/v2/push-to-talk/valorant` ### Headers - `Authorization`: `Basic {base64 encoded "riot:{lockfile password}"}` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **pttEnabled** (boolean) - Indicates if Push-to-Talk is enabled. - **pttThreshold** (integer) - The audio threshold for Push-to-Talk. #### Response Example ```json { "pttEnabled": true, "pttThreshold": 50 } ``` ``` -------------------------------- ### Fetch Local Swagger Docs (TypeScript) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET Local Swagger Docs.md Example of fetching local Swagger documentation using TypeScript. This snippet demonstrates making a GET request to the local Valorant API endpoint to retrieve the OpenAPI JSON. ```typescript type LocalSwaggerDocsResponse = unknown; ``` -------------------------------- ### Check Plugin Status (GET) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET URNetClient_CheckPluginStatus.md This endpoint retrieves the current status of installed plugins. It requires authentication using a basic authorization header with Riot's credentials, derived from the lockfile. The lockfile port is also necessary for constructing the request URL. ```bash curl --location --request GET 'https://127.0.0.1:{lockfile port}/plugin-manager/v1/status' \ --header 'Authorization: Basic {base64 encoded "riot:{lockfile password}"}' ``` -------------------------------- ### GET Config_FetchConfig Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/PVP Endpoints/GET Config_FetchConfig.md Fetches various internal game configuration settings set by Riot. ```APIDOC ## GET Config_FetchConfig ### Description Get various internal game configuration settings set by Riot. ### Method GET ### Endpoint https://shared.{shard}.a.pvp.net/v1/config/{region} ### Parameters #### Path Parameters - **region** (string) - Required - The region for which to fetch configuration settings. - **shard** (string) - Required - The shard identifier (e.g., na, eu, ap). ### Request Example ```json {} ``` ### Response #### Success Response (200) - **response** (object) - Contains the configuration settings. #### Response Example ```json { "response": { "riotx_region_services": { "na": { "riotclient_platform_name": "Windows" } } } } ``` ``` -------------------------------- ### GET /riotclient/command-line-args Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET Riot Client Command-Line Args.md Retrieves the command-line arguments that were provided to the Riot client when it was launched. ```APIDOC ## GET /riotclient/command-line-args ### Description Gets the command-line args provided to the Riot client. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/riotclient/command-line-args` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **arguments** (array) - An array of strings, where each string is a command-line argument. #### Response Example { "arguments": [ "--riotclient-auth-token", "--launch-argument" ] } ``` -------------------------------- ### Party Start Custom Game Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Party/readme.md Initiates a custom game for the party. ```APIDOC ## POST /Party/StartCustomGame ### Description Starts a custom game. ### Method POST ### Endpoint /Party/StartCustomGame ### Parameters #### Request Body - **customGameOptions** (object) - Required - Object containing custom game settings. - **map** (string) - Required - The map to play on. - **mode** (string) - Required - The game mode. - **// other custom game settings... ### Response #### Success Response (200) - **// details about the started custom game** #### Response Example ```json { "//": "Example response structure for a started custom game" } ``` ``` -------------------------------- ### GET Store_GetOrder Request Example Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/GET Store_GetOrder.md This snippet demonstrates how to make a GET request to the Store_GetOrder endpoint. It requires the Riot entitlement, Riot token, shard, and the specific order ID as parameters. Ensure you have valid credentials and the correct shard and order ID. ```HTTP GET https://pd.{shard}.a.pvp.net/store/v1/order/{order id} --header "X-Riot-Entitlements-JWT: {Riot entitlement}" --header "Authorization: Bearer {Riot token}" ``` -------------------------------- ### GET Session ReConnect Request (Bash) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Session/GET Session_ReConnect.md Example of how to make a GET request to the Session ReConnect endpoint using curl. This requires Riot entitlement, token, region, shard, and PUUID. ```bash curl -X GET "https://glz-{region}-1.{shard}.a.pvp.net/session/v1/sessions/{puuid}/reconnect" \ -H "X-Riot-Entitlements-JWT: {Riot entitlement}" \ -H "Authorization: Bearer {Riot token}" ``` -------------------------------- ### POST /parties/v1/parties/{party id}/startcustomgame Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Party/POST Party_StartCustomGame.md Starts a custom game for the specified party. Requires Riot entitlement, token, and client version. ```APIDOC ## POST /parties/v1/parties/{party id}/startcustomgame ### Description Starts a custom game for the specified party. This endpoint requires authentication headers including Riot entitlement, Riot token, and client version. ### Method POST ### Endpoint `https://glz-{region}-1.{shard}.a.pvp.net/parties/v1/parties/{party id}/startcustomgame` ### Parameters #### Path Parameters - **party id** (string) - Required - The ID of the party for which to start a custom game. Refer to [Common Components - Party ID](../common-components.md#party-id). - **region** (string) - Required - The Riot Games region. Refer to [Common Components - Region](../common-components.md#region). - **shard** (string) - Required - The shard for the region. Refer to [Common Components - Shard](../common-components.md#shard). #### Query Parameters None #### Request Body None ### Request Example None (This endpoint does not have a request body, configuration is handled via path parameters and headers). ### Response #### Success Response (200) - **ID** (string) - The ID of the party. - **MUCName** (string) - The MUC name for the party. - **VoiceRoomID** (string) - The ID of the voice room associated with the party. - **Version** (number) - The version of the party data. - **ClientVersion** (string) - The client version used. - **Members** (array) - An array of party members. - **Subject** (string) - The UUID of the player. - **CompetitiveTier** (number) - The player's competitive tier. - **PlayerIdentity** (object) - Player identity details. - **Subject** (string) - The UUID of the player. - **PlayerCardID** (string) - The player's card ID. - **PlayerTitleID** (string) - The player's title ID. - **AccountLevel** (number) - The player's account level. - **PreferredLevelBorderID** (string) - The player's preferred level border ID. - **Incognito** (boolean) - Whether the player is in incognito mode. - **HideAccountLevel** (boolean) - Whether the player's account level is hidden. - **SeasonalBadgeInfo** (null) - Seasonal badge information. - **IsOwner** (boolean) - Indicates if the player is the party owner. - **QueueEligibleRemainingAccountLevels** (number) - Remaining account levels for queue eligibility. - **Pings** (array) - Array of player pings. - **Ping** (number) - The ping value. - **GamePodID** (string) - The ID of the game pod. - **IsReady** (boolean) - Whether the player is ready. - **IsModerator** (boolean) - Whether the player is a moderator. - **UseBroadcastHUD** (boolean) - Whether to use broadcast HUD. - **PlatformType** (string) - The player's platform type (e.g., "PC"). - **State** (string) - The current state of the party. - **PreviousState** (string) - The previous state of the party. - **StateTransitionReason** (string) - The reason for the state transition. - **Accessibility** (string) - The accessibility setting of the party (e.g., "OPEN", "CLOSED"). - **CustomGameData** (object) - Custom game settings. - **Settings** (object) - Game settings. - **Map** (string) - The ID of the map. - **Mode** (string) - The game mode. - **UseBots** (boolean) - Whether to use bots. - **GamePod** (string) - The game pod ID. - **GameRules** (object) - Custom game rules. - **AllowGameModifiers** (string) - Allows game modifiers. - **IsOvertimeWinByTwo** (string) - Enables overtime win by two. - **PlayOutAllRounds** (string) - Plays out all rounds. - **SkipMatchHistory** (string) - Skips match history. - **TournamentMode** (string) - Enables tournament mode. - **Membership** (object) - Team assignments. - **teamOne** (array) - Players in team one. - **teamTwo** (array) - Players in team two. - **teamSpectate** (array) - Players in spectate. - **teamOneCoaches** (array) - Coaches for team one. - **teamTwoCoaches** (array) - Coaches for team two. - **MaxPartySize** (number) - The maximum party size. - **AutobalanceEnabled** (boolean) - Whether autobalance is enabled. - **AutobalanceMinPlayers** (boolean) - Minimum players for autobalance. - **HasRecoveryData** (boolean) - Indicates if recovery data is present. - **MatchmakingData** (object) - Matchmaking data. - **QueueID** (string) - The ID of the queue. - **PreferredGamePods** (array) - Preferred game pods. - **SkillDisparityRRPenalty** (number) - Skill disparity RR penalty. - **Invites** (null) - Invite information. - **Requests** (array) - Pending requests. - **QueueEntryTime** (string) - The time the party entered the queue in ISO 8601 format. - **ErrorNotification** (object) - Error notification details. - **ErrorType** (string) - The type of error. - **ErroredPlayers** (array) - Players affected by the error. - **RestrictedSeconds** (number) - Restricted seconds for the party. - **EligibleQueues** (array) - Eligible queues for the party. - **QueueIneligibilities** (array) - Reasons for queue ineligibility. - **CheatData** (object) - Cheat-related data. - **GamePodOverride** (string) - Game pod override. - **ForcePostGameProcessing** (boolean) - Force post-game processing. - **XPBonuses** (array) - XP bonuses. #### Response Example ```json { "ID": "some-party-id", "MUCName": "some-muc-name", "VoiceRoomID": "some-voice-room-id", "Version": 1, "ClientVersion": "release-10.06.0.7826863", "Members": [ { "Subject": "player-uuid-1", "CompetitiveTier": 12, "PlayerIdentity": { "Subject": "player-uuid-1", "PlayerCardID": "card-id-1", "PlayerTitleID": "title-id-1", "AccountLevel": 150, "PreferredLevelBorderID": "border-id-1", "Incognito": false, "HideAccountLevel": false }, "SeasonalBadgeInfo": null, "IsOwner": true, "QueueEligibleRemainingAccountLevels": 0, "Pings": [ { "Ping": 50, "GamePodID": "us-east" } ], "IsReady": true, "IsModerator": false, "UseBroadcastHUD": false, "PlatformType": "PC" } ], "State": "CUSTOM_GAME", "PreviousState": "IN_PARTY", "StateTransitionReason": "Starting custom game", "Accessibility": "OPEN", "CustomGameData": { "Settings": { "Map": "Ascent", "Mode": "DEATHMATCH", "UseBots": false, "GamePod": "us-east", "GameRules": { "AllowGameModifiers": "", "IsOvertimeWinByTwo": "", "PlayOutAllRounds": "", "SkipMatchHistory": "", "TournamentMode": "" } }, "Membership": { "teamOne": null, "teamTwo": null, "teamSpectate": null, "teamOneCoaches": null, "teamTwoCoaches": null }, "MaxPartySize": 5, "AutobalanceEnabled": false, "AutobalanceMinPlayers": false, "HasRecoveryData": false }, "MatchmakingData": { "QueueID": "custom", "PreferredGamePods": [], "SkillDisparityRRPenalty": 0 }, "Invites": null, "Requests": [], "QueueEntryTime": "2023-10-27T10:00:00Z", "ErrorNotification": { "ErrorType": "NONE", "ErroredPlayers": null }, "RestrictedSeconds": 0, "EligibleQueues": [ "custom" ], "QueueIneligibilities": [], "CheatData": { "GamePodOverride": "", "ForcePostGameProcessing": false }, "XPBonuses": [] } ``` ``` -------------------------------- ### Fetch Valorant Game Status (Example) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET RiotStatus_RNet_FetchStatus.md This example demonstrates how to fetch the game status for Valorant deployments in a given region. It requires obtaining the lockfile port and password, and encoding authentication credentials. ```shell curl -X GET "https://127.0.0.1:{lockfile port}/riot-status/v1/products/valorant/patchlines/live/deployments/{region}" \ -H "Authorization: Basic {base64 encoded "riot:{lockfile password}"}" ``` -------------------------------- ### GET Weapons List (Shell) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Third-Party API by Officer/GET Weapons.md Example of how to make a GET request to the Valorant API to retrieve a list of all weapons. This uses a simple shell command and expects a JSON response containing weapon data. ```shell curl "https://valorant-api.com/v1/weapons" ``` -------------------------------- ### Fetch Render Devices (Bash) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET VOICE_CHAT_RNet_FetchRenderDevices.md Demonstrates how to fetch audio output devices using a GET request to the Valorant API. Requires the lockfile port and password for authorization. ```bash LOCKFILE_PORT=$(cat lockfile | jq -r '.ports.lockfile') LOCKFILE_PASSWORD=$(cat lockfile | jq -r '.data.password') curl -X GET "https://127.0.0.1:${LOCKFILE_PORT}/voice-chat/v2/devices/render" \ -H "Authorization: Basic $(echo -n "riot:${LOCKFILE_PASSWORD}" | base64)" ``` -------------------------------- ### GET Valorant Agents List Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Third-Party API by Officer/GET Agents.md This code snippet demonstrates how to make a GET request to the Valorant API to retrieve a list of all agents. It requires a network request library to function. The output is expected to be a JSON array of agent objects. ```bash curl -X GET "https://valorant-api.com/v1/agents" ``` -------------------------------- ### RiotClientSession_FetchSessions API Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Useful Local/readme.md Fetches information about the currently running Valorant process, including its start arguments. ```APIDOC ## GET RiotClientSession_FetchSessions ### Description Gets info about the running Valorant process including start arguments. ### Method GET ### Endpoint /riotclient/get_game_state ### Parameters ### Request Body None ### Request Example None ### Response #### Success Response (200) - **process_name** (string) - The name of the Valorant process. - **arguments** (array of strings) - The start arguments used to launch the process. #### Response Example ```json { "process_name": "VALORANT-Win64-Shipping.exe", "arguments": [ "-useRiotDRM" ] } ``` ``` -------------------------------- ### Store Offers API Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/readme.md Retrieves pricing information for all items available in the Valorant store. ```APIDOC ## GET /store/offers ### Description Get prices for all store items. ### Method GET ### Endpoint /store/offers ### Parameters #### Query Parameters - **locale** (string) - Optional - The locale for the response. ### Response #### Success Response (200) - **offers** (array) - An array of offer objects, each containing item details and price. - **exp** (integer) - The expiration timestamp for the offers. #### Response Example ```json { "offers": [ { "offerId": "uuid-for-offer-1", "bundle": null, "itemType": { "id": "id-for-item-type", "name": "Weapon Skin", "content": { "contentItems": [], "radiantPointAward": null, "upgradePurchasableOutline": null } }, "price": { "currencyId": "01bb3855-664a-4500-9941-27781913b63e", "discountedPrice": 1000, "amount": 1200 }, "giftable": true, "saleLockingStatus": "NOT_LOCKED", "purchaseOfferIds": [] } ], "exp": 1678886400 } ``` ``` -------------------------------- ### GET /store/v1/offers/ Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/GET Store_GetOffers.md Retrieves pricing information for all items currently available in the Valorant store. ```APIDOC ## GET /store/v1/offers/ ### Description Get prices for all store items. ### Method GET ### Endpoint `https://pd.{shard}.a.pvp.net/store/v1/offers/` ### Parameters #### Query Parameters - **shard** (string) - Required - The game shard (e.g., 'na', 'eu'). See [Common Components - Shard](../common-components.md#shard). #### Headers - **X-Riot-Entitlements-JWT** (string) - Required - Riot entitlement token. See [Common Components - Riot Entitlement](../common-components.md#riot-entitlement). - **Authorization** (string) - Required - Bearer token. See [Common Components - Riot Token](../common-components.md#riot-token). ### Response #### Success Response (200) - **Offers** (array) - An array of available offers. - **OfferID** (string) - The unique identifier for the offer. - **IsDirectPurchase** (boolean) - Indicates if the item is a direct purchase. - **StartDate** (string) - The date when the offer becomes active (ISO 8601 format). - **Cost** (object) - An object detailing the cost of the item in different currencies. - **Rewards** (array) - An array of items included in the offer. - **ItemTypeID** (string) - The type identifier of the item. - **ItemID** (string) - The unique identifier of the item. - **Quantity** (number) - The quantity of the item. #### Response Example ```json { "Offers": [ { "OfferID": "offer_uuid_1", "IsDirectPurchase": true, "StartDate": "2023-10-27T10:00:00Z", "Cost": { "85AD4822-4657-7275-1445-AD7C65C5B834": 1775 // Example VP cost }, "Rewards": [ { "ItemTypeID": "skin_level_data", "ItemID": "e3dbe67f-425d-3e04-054f-851747e5f9f3", "Quantity": 1 } ] } ] } ``` ``` -------------------------------- ### Storefront V2 API Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/readme.md Fetches the currently available items for purchase in the Valorant store for the authenticated player. ```APIDOC ## GET /store/storefront/v2 ### Description Get the currently available items in the store. ### Method GET ### Endpoint /store/storefront/v2 ### Parameters #### Query Parameters - **storefront** (string) - Required - The type of storefront to retrieve (e.g., 'e7d2f6c2-4efd-4202-9d43-072041654441'). - **region** (string) - Required - The region of the player. ### Response #### Success Response (200) - **FeaturedOffer** (object) - Details about featured offers. - **Offers** (array) - An array of available offers. - **SkinsPanelLayout** (object) - Information about the skins panel layout. #### Response Example ```json { "FeaturedOffer": { "OfferId": "uuid-for-featured-offer", "BundleName": "Featured Bundle", "BackgroundImage": "url-to-background-image", "StartTime": 1678800000, "EndTime": 1679800000, "DurationRemainingInSeconds": 86400, "IsFeatured": true, "FeaturedOrder": 0 }, "Offers": [ { "OfferId": "uuid-for-offer-1", "Bundle": null, "ItemType": { "Id": "id-for-item-type", "Name": "Weapon Skin" }, "Price": { "CurrencyId": "01bb3855-664a-4500-9941-27781913b63e", "Amount": 1500, "DiscountedPrice": 1200 }, "Giftable": true, "SaleLockingStatus": "NOT_LOCKED", "PurchaseOfferIds": [] } ], "SkinsPanelLayout": { "GridItems": [1, 2, 3, 4, 5], "GridPosition": "GALLERY", "LayoutInfo": "Layout details" } } ``` ``` -------------------------------- ### GET /riotclient/product-locales/products/valorant/patchlines/live Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET LOCALE_RNet_FetchLocale.md Retrieves the current locale settings for the Valorant game. ```APIDOC ## GET /riotclient/product-locales/products/valorant/patchlines/live ### Description Retrieves the current locale settings for the Valorant game. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/riotclient/product-locales/products/valorant/patchlines/live` ### Headers - `Authorization`: `Basic {base64 encoded "riot:{lockfile password}"}` ### Parameters #### Path Parameters - `{lockfile port}` (integer) - Required - The port specified in the lockfile. - `{lockfile password}` (string) - Required - The password specified in the lockfile. ### Request Example ```json { "example": "No request body needed for this GET request." } ``` ### Response #### Success Response (200) - `locale` (string) - The current locale of the game (e.g., "en-us"). #### Response Example ```json { "locale": "en-us" } ``` ``` -------------------------------- ### Riot Client Command-Line Arguments Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/readme.md Retrieves the command-line arguments that were provided to the Riot client when it was launched. ```APIDOC ## GET Riot Client Command-Line Args ### Description Gets the command-line args provided to the Riot client. ### Method GET ### Endpoint /RiotClientCommand-LineArgs ### Parameters #### Query Parameters ### Request Example ```json {} ``` ### Response #### Success Response (200) - **args** (array of strings) - A list of command-line arguments. #### Response Example ```json { "args": [ "--launch-product", "valorant" ] } ``` ``` -------------------------------- ### RiotKV_RNet_GetSettings API Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Useful Local/readme.md Retrieves the current client settings configured for the Riot client. ```APIDOC ## GET RiotKV_RNet_GetSettings ### Description Get client settings. ### Method GET ### Endpoint /riot-kv/v1/values ### Parameters ### Request Body None ### Request Example None ### Response #### Success Response (200) - **settings** (object) - An object containing various client settings. - **audio** (object) - Audio settings. - **graphics** (object) - Graphics settings. - **input** (object) - Input settings. - **gameplay** (object) - Gameplay settings. #### Response Example ```json { "settings": { "audio": { "master_volume": 1.0 }, "graphics": { "resolution": "1920x1080" }, "input": { "mouse_sensitivity": 0.5 }, "gameplay": { "show_damage_numbers": true } } } ``` ``` -------------------------------- ### GET /chat/v1/settings Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET TEXT_CHAT_RNet_FetchSettings.md Retrieves the current chat settings for the user. ```APIDOC ## GET /chat/v1/settings ### Description Get chat settings for the Valorant client. ### Method GET ### Endpoint https://127.0.0.1:{lockfile port}/chat/v1/settings ### Headers - `Authorization`: `Basic {base64 encoded "riot:{lockfile password}"}` ### Variables - `{lockfile port}` and `{lockfile password}`: Refer to the Lockfile Data documentation for details on how to obtain these values. ### Request Example ``` GET https://127.0.0.1:12345/chat/v1/settings Authorization: Basic cm5xdy9sTGRwQ0p0MXFhQ1QyV3c3cHM5Zjp5V0N0VzFpYnd3Nzl5cTNxYnc1eEtiTk5wVm5aV00= ``` ### Response #### Success Response (200) This endpoint does not explicitly define a success response body structure in the provided documentation. The response is expected to contain chat settings if the request is successful. #### Response Example ```json { "settings_field_1": "value1", "settings_field_2": true } ``` ``` -------------------------------- ### GET /chat/v5/participants Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Local Chat/GET TEXT_CHAT_RNet_FetchParticipants.md Retrieves information about the participants in a given chat. ```APIDOC ## GET /chat/v5/participants ### Description Get information about the participants of a chat. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/chat/v5/participants/?cid={cid}` ### Parameters #### Query Parameters - **cid** (string) - Required - The ID of the chat to fetch participants for. #### Headers - **Authorization** (string) - Required - `Basic {base64 encoded "riot:{lockfile password}"}` ### Request Example ```json { "message": "Request example not provided, refer to headers and query parameters." } ``` ### Response #### Success Response (200) - **participants** (array) - An array of chat participant objects. - **activePlatform** (null) - Information about the player's active platform. - **cid** (string) - The chat ID. - **game_name** (string) - The player's in-game name. - **game_tag** (string) - The player's game tag. - **muted** (boolean) - Indicates if the player is muted. - **name** (string) - The player's name. - **pid** (string) - The player's process ID. - **puuid** (string) - The player's unique persistent UUID. - **region** (string) - The player's region. #### Response Example ```json { "participants": [ { "activePlatform": null, "cid": "some_chat_id", "game_name": "PlayerName", "game_tag": "NA1", "muted": false, "name": "PlayerName", "pid": "some_pid", "puuid": "some_puuid", "region": "na" } ] } ``` ``` -------------------------------- ### Party Enter Matchmaking Queue Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Party/readme.md Enters the matchmaking queue for the party. ```APIDOC ## POST /Party/EnterMatchmakingQueue ### Description Enters the matchmaking queue. ### Method POST ### Endpoint /Party/EnterMatchmakingQueue ### Parameters - (No specific parameters mentioned, likely operates on the current party state) ### Response #### Success Response (200) - (No specific fields mentioned, typically indicates success) #### Response Example ```json // Success response might be empty or contain a status message ``` ``` -------------------------------- ### Get Owned Items Response Format (TypeScript) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Store/GET Store_GetEntitlements.md TypeScript type definition for the response received from the `GET Store_GetEntitlements` endpoint. It outlines the structure for `EntitlementsByTypes`, detailing `ItemTypeID` and an array of `Entitlements` including `TypeID`, `ItemID`, and optional `InstanceID`. ```typescript type OwnedItemsResponse = { EntitlementsByTypes: { ItemTypeID: string; Entitlements: { /** UUID */ TypeID: string; /** Item ID */ ItemID: string; /** UUID */ InstanceID?: string | undefined; }[]; }[]; }; ``` -------------------------------- ### GET Riot Warning Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Other Local/GET RIOT_WARNING_RNet_GetRiotWarning.md Retrieves warning information from the Riot client. ```APIDOC ## GET RIOT_WARNING_RNet_GetRiotWarning ### Description Retrieves warning information from the Riot client. ### Method GET ### Endpoint `https://127.0.0.1:{lockfile port}/ga-warning/v1/warnings` ### Parameters #### Headers - **Authorization** (string) - Required - `Basic {base64 encoded "riot:{lockfile password}"}` ### Request Example ```json { "message": "This is a placeholder for a request example." } ``` ### Response #### Success Response (200) - **example** (object) - Example response structure. #### Response Example ```json { "message": "This is a placeholder for a response example." } ``` ``` -------------------------------- ### Fetch Match History - TypeScript Example Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/PVP Endpoints/GET MatchHistory_FetchMatchHistory.md Example of how to fetch match history for a player using the Valorant API. This snippet demonstrates constructing the API request with necessary headers and parameters. It assumes you have obtained the required Riot API credentials and player PUUID. ```typescript async function fetchMatchHistory(puuid: string, shard: string, riotEntitlement: string, riotToken: string, clientVersion: string, clientPlatform: string) { const url = `https://pd.${shard}.a.pvp.net/match-history/v1/history/${puuid}`; const headers = { 'X-Riot-Entitlements-JWT': riotEntitlement, 'Authorization': `Bearer ${riotToken}`, 'X-Riot-ClientVersion': clientVersion, 'X-Riot-ClientPlatform': clientPlatform }; try { const response = await fetch(url, { method: 'GET', headers: headers }); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } const data = await response.json(); return data; } catch (error) { console.error('Error fetching match history:', error); return null; } } // Example Usage (replace with actual values) // const playerPuuid = 'YOUR_PLAYER_PUUID'; // const shardValue = 'na'; // e.g., 'na', 'eu', 'ap' // const entitlement = 'YOUR_RIOT_ENTITLEMENT_JWT'; // const token = 'YOUR_RIOT_TOKEN'; // const version = 'YOUR_CLIENT_VERSION'; // const platform = 'YOUR_CLIENT_PLATFORM'; // fetchMatchHistory(playerPuuid, shardValue, entitlement, token, version, platform) // .then(history => { // if (history) { // console.log('Match History:', history); // } // }); ``` -------------------------------- ### Get Competitive Seasons List (GET Request) Source: https://github.com/techchrism/valorant-api-docs/blob/trunk/docs/Third-Party API by Officer/GET Competitive Seasons.md Retrieves a list of competitive seasons available in Valorant. This is a simple GET request to the specified API endpoint. No specific inputs are required beyond the endpoint URL. ```HTTP GET https://valorant-api.com/v1/seasons/competitive ```