Steam

Inventory

Fetch Steam user inventories with rate-limit bypass. Returns items, descriptions, and asset details.

Endpoint

This endpoint fetches Steam's inventory endpoint through a pool of proxies giving us the ability to bypass rate-limiting. Returned data is exactly what Steam returns to us without caching.

GET   /steam/inventory/{SteamID64}/{AppId}/{ContextId}?api_key={YourSecretAPIKey}

Required parameters

SteamID64
number
The SteamID64 identifier of the user who's inventory you want to fetch..
AppID
number
Identifier of the application which item you want to fetch.
ContextID
number
Context identifier for the application which contents you want to receive from the user's inventory. For most games, the context ID is 2. If you're unsure, use the /steam/profile endpoint which returns available contexts for each application.
YourSecretAPIKey
string
A unique identifier that allows developers to access the Steam Web API.

Response fields

FieldTypeDescription
assetsarrayArray of asset objects representing items in the inventory
descriptionsarrayArray of item description objects with detailed item info
total_inventory_countnumberTotal number of items in the inventory
successnumberSuccess status (1 for success)
rwgrsnnumberSteam internal response code
steamIDstringThe SteamID64 of the inventory owner
appIDnumberThe application ID
contextIDnumberThe context ID

Asset object

FieldTypeDescription
appidnumberApplication ID the item belongs to
contextidstringContext ID for the item
assetidstringUnique asset identifier
classidstringClass identifier for the item type
instanceidstringInstance identifier
amountstringQuantity of this item

Description object

FieldTypeDescription
appidnumberApplication ID
classidstringClass identifier
instanceidstringInstance identifier
currencynumberWhether item is currency (0 or 1)
background_colorstringHex color code for item background
icon_urlstringURL path to item icon
icon_url_largestringURL path to large item icon
descriptionsarrayArray of description text objects
tradablenumberWhether item is tradable (0 or 1)
marketablenumberWhether item is marketable (0 or 1)
commoditynumberWhether item is a commodity (0 or 1)
market_tradable_restrictionnumberDays until tradable
market_marketable_restrictionnumberDays until marketable
namestringItem display name
market_namestringMarket display name
market_hash_namestringURL-safe market hash name
typestringItem type classification

Response example

Example output for this endpoint. For brevity's sake, some objects and arrays were omitted.

response.json
{
  "assets": [],
  "descriptions": [],
  "total_inventory_count": 0,
  "success": 1,
  "rwgrsn": -2,
  "steamID": "76561198038526790",
  "appID": 730,
  "contextID": 2 
}