-
Notifications
You must be signed in to change notification settings - Fork 27
Get Inventory (Old)
Moder112 edited this page Jun 12, 2025
·
3 revisions
No known rate limit
Authenticated: Yes
Method:
GETHost:
steamcommunity.comPath:
/profiles/:steamid/inventory/json/:appid/:contextidVariables:
Name Type Description :steamidnumber SteamID64 of the user to fetch the inventory for, must match the authenticated session user. :appidnumber AppID of the game to fetch the inventory of :contextidnumber Context of the inventory Query Parameters:
Name Type Required Description lstring No Language startnumber No Offset at which to start returning items, can be used in conjunction with the more_startparameter for pagination
Name Type Description successboolean TODOrgInventoryobject TODOrgInventory.:assetid.idstring TODOrgInventory.:assetid.classidstring TODOrgInventory.:assetid.instanceidstring TODOrgInventory.:assetid.amountstring TODOrgInventory.:assetid.hide_in_chinanumber TODOrgInventory.:assetid.posnumber TODOrgCurrency[]array TODOrgDescriptionsarray TODOrgDescriptionsobject TODOrgDescriptions.:assetid_instanceid.appidstring TODOrgDescriptions.:assetid_instanceid.classidstring TODOrgDescriptions.:assetid_instanceid.instanceidstring TODOrgDescriptions.:assetid_instanceid.icon_urlstring TODOrgDescriptions.:assetid_instanceid.icon_url_largestring TODOrgDescriptions.:assetid_instanceid.icon_drag_urlstring TODOrgDescriptions.:assetid_instanceid.namestring TODOrgDescriptions.:assetid_instanceid.market_hash_namestring TODOrgDescriptions.:assetid_instanceid.market_namestring TODOrgDescriptions.:assetid_instanceid.name_colorstring TODOrgDescriptions.:assetid_instanceid.background_colorstring TODOrgDescriptions.:assetid_instanceid.typestring TODOrgDescriptions.:assetid_instanceid.tradablenumber TODOrgDescriptions.:assetid_instanceid.marketablenumber TODOrgDescriptions.:assetid_instanceid.commoditynumber TODOrgDescriptions.:assetid_instanceid.market_tradable_restrictionstring TODOrgDescriptions.:assetid_instanceid.descriptions[]array TODOrgDescriptions.:assetid_instanceid.descriptions[].typestring TODOrgDescriptions.:assetid_instanceid.descriptions[].valuestring TODOrgDescriptions.:assetid_instanceid.descriptions[].colorstring TODOrgDescriptions.:assetid_instanceid.descriptions[].app_dataobject TODOrgDescriptions.:assetid_instanceid.descriptions[].app_data.def_indexstring TODOrgDescriptions.:assetid_instanceid.owner_descriptionsstring TODOrgDescriptions.:assetid_instanceid.actions[]array TODOrgDescriptions.:assetid_instanceid.actions[].namestring TODOrgDescriptions.:assetid_instanceid.actions[].linkstring TODOrgDescriptions.:assetid_instanceid.market_actions[]array TODOrgDescriptions.:assetid_instanceid.market_actions[].namestring TODOrgDescriptions.:assetid_instanceid.market_actions[].linkstring TODOrgDescriptions.:assetid_instanceid.tags[]array TODOrgDescriptions.:assetid_instanceid.tags[].internal_namestring TODOrgDescriptions.:assetid_instanceid.tags[].namestring TODOrgDescriptions.:assetid_instanceid.tags[].categorystring TODOrgDescriptions.:assetid_instanceid.tags[].category_namestring TODOrgDescriptions.:assetid_instanceid.tags[].colorstring TODOmoreboolean True if inventory hasn't been fully loaded yet and pagination must be used to load the complete inventory more_startnumber Offset for startparameter to use for pagination
GET https://steamcommunity.com/profiles/76561198042965266/inventory/json/570/2
{
"success": true,
"rgInventory": {
"8151654237": {
"id": "8151654237",
"classid": "57939770",
"instanceid": "57943523",
"amount": "1",
"hide_in_china": 0,
"pos": 1
}
},
"rgCurrency": [
],
"rgDescriptions": {
"57939770_57943523": {
"appid": "570",
"classid": "57939770",
"instanceid": "57943523",
"icon_url": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KW1Zwwo4NUX4oFJZEHLbXX7gNTPcUmux5cX1nCQtuu38rAR2J_IB0Z4OyhflVj0qOQcmQW7YzjkNLdlKOjZbmCwDJU7pIh3bvE99qkiQHh_V0sPT4dyYEneQ",
"icon_url_large": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KW1Zwwo4NUX4oFJZEHLbXX7gNTPcUmux5cX1nCQtuu38rAR2J_IB1ouru3LAIu0aSdJW8atIriwIOIlPGiYOnQzzIF6ZAg2bGZodn02FLlqUE6Nm72LZjVLFFn5NswiQ",
"icon_drag_url": "",
"name": "Treasure Key",
"market_hash_name": "Treasure Key",
"market_name": "Treasure Key",
"name_color": "D2D2D2",
"background_color": "",
"type": "Common Treasure Key",
"tradable": 1,
"marketable": 0,
"commodity": 1,
"market_tradable_restriction": "7",
"market_marketable_restriction": "0",
"item_expiration": "2015-07-01T07:00:00Z",
"descriptions": [
{
"type": "html",
"value": "Used to open locked <font color='#9da1a9'>Treasure Chests</font>. Double click or right-click the key in your backpack and select the chest you want to open."
},
{
"type": "html",
"value": "This item will expire on Jul 1, 2015 (0:00:00).",
"color": "ff4040"
}
],
"tags": [
{
"internal_name": "unique",
"name": "Standard",
"category": "Quality",
"color": "D2D2D2",
"category_name": "Quality"
},
{
"internal_name": "Rarity_Common",
"name": "Common",
"category": "Rarity",
"color": "b0c3d9",
"category_name": "Rarity"
},
{
"internal_name": "key",
"name": "Treasure Key",
"category": "Type",
"category_name": "Type"
},
{
"internal_name": "none",
"name": "N/A",
"category": "Slot",
"category_name": "Slot"
},
{
"internal_name": "DOTA_OtherType",
"name": "Other",
"category": "Hero",
"category_name": "Hero"
}
]
}
},
"more": false,
"more_start": false
}