GET Owned Items
https://pd.{shard}.a.pvp.net/store/v1/entitlements/{puuid}/{ItemTypeID}
List what the player owns (agents, skins, buddies, ect.) Category names and IDs:
ItemTypeID |
Name |
---|---|
01bb38e1-da47-4e6a-9b3d-945fe4655707 |
Agents |
f85cb6f7-33e5-4dc8-b609-ec7212301948 |
Contracts |
d5f120f8-ff8c-4aac-92ea-f2b5acbe9475 |
Sprays |
dd3bf334-87f3-40bd-b043-682a57a8dc3a |
Gun Buddies |
3f296c07-64c3-494c-923b-fe692a4fa1bd |
Cards |
e7c63390-eda7-46e0-bb7a-a6abdacd2433 |
Skins |
3ad1b2b2-acdb-4524-852f-954a76ddae0a |
Skin Variants |
de7caa6b-adf7-4588-bbd1-143831e786c6 |
Titles |
Headers:
-
X-Riot-ClientPlatform: {client platform}
-
X-Riot-ClientVersion: {client version}
-
X-Riot-Entitlements-JWT: {entitlement token}
-
Authorization: Bearer {auth token}
URL Parameters:
-
{puuid}
A player's UUID
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 OwnedItemsResponse = {
EntitlementsByTypes: {
ItemTypeID: string;
Entitlements: {
/** UUID */
TypeID: string;
/** Item ID */
ItemID: string;
/** UUID */
InstanceID?: string | undefined;
}[];
}[];
};