Skip to content

Get Partner Inventory

Revadike edited this page Nov 4, 2022 · 4 revisions

GET /tradeoffer/new/partnerinventory

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: GET

Host: steamcommunity.com

Path: /tradeoffer/new/partnerinventory

Headers:

Name Required Description
referer Yes Use https://steamcommunity.com/tradeoffer/new/* as value (mandatory)

Query Parameters:

Name Type Required Description
sessionid string Yes TODO
appid string Yes TODO
partner string Yes TODO
start string Yes TODO
contextid string Yes TODO

Response

200 OK

Name Type Description
success boolean TODO
rgInventory object TODO
rgInventory.:itemid object TODO
rgInventory.:itemid.id string TODO
rgInventory.:itemid.classid string TODO
rgInventory.:itemid.instanceid string TODO
rgInventory.:itemid.amount string TODO
rgInventory.:itemid.hide_in_china number TODO
rgInventory.:itemid.pos number TODO
rgCurrency[] array TODO
rgDescriptions object TODO
rgDescriptions.:classid_instanceid object TODO
rgDescriptions.:classid_instanceid.appid string TODO
rgDescriptions.:classid_instanceid.classid string TODO
rgDescriptions.:classid_instanceid.instanceid string TODO
rgDescriptions.:classid_instanceid.icon_url string TODO
rgDescriptions.:classid_instanceid.icon_url_large string TODO
rgDescriptions.:classid_instanceid.icon_drag_url string TODO
rgDescriptions.:classid_instanceid.name string TODO
rgDescriptions.:classid_instanceid.market_name string TODO
rgDescriptions.:classid_instanceid.name_color string TODO
rgDescriptions.:classid_instanceid.background_color string TODO
rgDescriptions.:classid_instanceid.type string TODO
rgDescriptions.:classid_instanceid.tradable number TODO
rgDescriptions.:classid_instanceid.marketable number TODO
rgDescriptions.:classid_instanceid.commodity number TODO
rgDescriptions.:classid_instanceid.descriptions[] array TODO
rgDescriptions.:classid_instanceid.descriptions[].value string TODO
rgDescriptions.:classid_instanceid.actions[] array TODO
rgDescriptions.:classid_instanceid.actions[].name string TODO
rgDescriptions.:classid_instanceid.actions[].link string TODO
rgAppInfo object TODO
rgAppInfo.appid number TODO
rgAppInfo.name string TODO
rgAppInfo.icon string TODO
rgAppInfo.link string TODO
more boolean TODO
more_start boolean TODO

401 Unauthorized

Name Type Description
success boolean TODO
error string TODO

Example

GET https://steamcommunity.com/tradeoffer/new/partnerinventory?sessionid=a0b1c2d3e4f5g6h7i8j9klmn&appid=753&partner=76561198042965266&start=0&contextid=1
{
    "success": true,
    "rgInventory": {
        "3229667243270056556": {
            "id": "3229667243270056556",
            "classid": "1374054291",
            "instanceid": "0",
            "amount": "1",
            "hide_in_china": 1,
            "pos": 1
        },
        "3229667243270056566": {
            "id": "3229667243270056566",
            "classid": "1385844114",
            "instanceid": "0",
            "amount": "1",
            "hide_in_china": 1,
            "pos": 2
        },
        "3229667243270056419": {
            "id": "3229667243270056419",
            "classid": "1256857971",
            "instanceid": "0",
            "amount": "1",
            "hide_in_china": 1,
            "pos": 3
        }
    },
    "rgCurrency": [],
    "rgDescriptions": {
        "1374054291_0": {
            "appid": "753",
            "classid": "1374054291",
            "instanceid": "0",
            "icon_url": "U8721VM7p9C2v1o6cKJ4qEnGqnE7IoTQgZI-VTdwyTBeimAcIowbqB-harb00MN0fddiCJoFB3O541FNc9ZPYXYjjL7UqfFEwOphZact0uOrCP6Jq1pV",
            "icon_url_large": "U8721VM7p9C2v1o6cKJ4qEnGqnE7IoTQgZI-VTdwyTBeimAcIowbqB-harb00MN0fddiCJoFB3O541FJcdFPanQ-yKTD8boNzO5ia6gu1OKvDV-el4VwmQ",
            "icon_drag_url": "",
            "name": "American Conquest",
            "market_name": "",
            "name_color": "",
            "background_color": "",
            "type": "Gift",
            "tradable": 1,
            "marketable": 0,
            "commodity": 0,
            "descriptions": [
                {
                    "value": "In American Conquest, Players set sail from Europe to discover new world and conquer its innumerable riches."
                }
            ],
            "actions": [
                {
                    "name": "View in store",
                    "link": "https://store.steampowered.com/app/115210/American_Conquest/"
                }
            ]
        },
        "1385844114_0": {
            "appid": "753",
            "classid": "1385844114",
            "instanceid": "0",
            "icon_url": "U8721VM7p9C2v1o6cKJ4qEnGqnE7IoTQgZI-VTdwyTBeimAcIowbqB-harb00MN0ftdiCJoFB3O541FNc9ZPYXYjjL7UqfFEwOphZact0uSuD3zk0Wmr",
            "icon_url_large": "U8721VM7p9C2v1o6cKJ4qEnGqnE7IoTQgZI-VTdwyTBeimAcIowbqB-harb00MN0ftdiCJoFB3O541FJcdFPanQ-yKTD8boNzO5ia6gu1OKoCFgqNsl2oQ",
            "icon_drag_url": "",
            "name": "American Conquest: Fight Back",
            "market_name": "",
            "name_color": "",
            "background_color": "",
            "type": "Gift",
            "tradable": 1,
            "marketable": 0,
            "commodity": 0,
            "descriptions": [
                {
                    "value": "American Conquest: Fight Back is the sequel to American Conquest. The most significant events of that glorious time have found their way into this title."
                }
            ],
            "actions": [
                {
                    "name": "View in store",
                    "link": "https://store.steampowered.com/app/115220/American_Conquest_Fight_Back/"
                }
            ]
        },
        "1256857971_0": {
            "appid": "753",
            "classid": "1256857971",
            "instanceid": "0",
            "icon_url": "v5fUV_POdKlX5Ebn7CO3LgHCW4VYI9BucBjNPL8eSpgVwo-lYcJN4nUkuAp6Cy9iZl6_GRLGgiNYM043olg_XzdOQ5U-beimL1n5CyRxLW2cr9pnJ1_-DJ4",
            "icon_url_large": "v5fUV_POdKlX5Ebn7CO3LgHCW4VYI9BucBjNPL8eSpgVwo-lYcJN4nUkuAp6Cy9iZl6_GRLGgiNYM043olg_XzdOQ5U-beOiPk7pFW9ELmePsZyRAw",
            "icon_drag_url": "",
            "name": "Cossacks: Back to War",
            "market_name": "",
            "name_color": "",
            "background_color": "",
            "type": "Gift",
            "tradable": 1,
            "marketable": 0,
            "commodity": 0,
            "descriptions": [
                {
                    "type": "html",
                    "value": "Includes 2 items: <a href=\"https://store.steampowered.com/app/4850/Cossacks_Back_to_War/\">Cossacks: Back to War</a>, <a href=\"https://store.steampowered.com/app/4856/Cossacks_Campaign_Expansion/\">Cossacks: Campaign Expansion</a>"
                }
            ]
        }
    },
    "rgAppInfo": {
        "appid": 753,
        "name": "Steam",
        "icon": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/apps/753/135dc1ac1cd9763dfc8ad52f4e880d2ac058a36c.jpg",
        "link": "https://steamcommunity.com/app/753"
    },
    "more": false,
    "more_start": false
}
Clone this wiki locally