List Steam inventory items
Returns inventory items from a Steam account bound to the current BUFF account.
/api/market/developer/steam/inventoryReturns inventory items from a Steam account bound to the current BUFF account. See CS2 inventory filters.
- Limit: 60 requests per minute
steamid must identify a Steam account bound to the current BUFF account. Set force=1 to refresh the inventory with the stored Steam session cookie. Update an invalid cookie with POST /api/market/developer/steam/cookie.
Authorization
bearer BUFF developer API token. Send it as Authorization: Bearer <token>.
In: header
Query Parameters
Game identifier.
Value in
- "cs2"
Steam 64-bit ID, required. Must be bound to the current user.
Page number, optional.
1 <= value1Items per page, optional.
1 <= value <= 10020Force refresh inventory
0Value in
- 0
- 1
Fuzzy search by name or market hash name
Minimum reference price (yuan, up to 2 decimal places)
0 <= valueMaximum reference price (yuan, up to 2 decimal places)
0 <= valueMinimum paintwear of items
0 <= value <= 1Maximum paintwear of items
0 <= value <= 1Sort: Defaults to descending by time. The sort field and order are separated by a dot, e.g. time.desc
Value in
- "time.asc"
- "time.desc"
- "price.asc"
- "price.desc"
- "paintwear.asc"
- "paintwear.desc"
- "float.asc"
- "float.desc"
Inventory state: all; tradable; cansell; onsale
Value in
- "all"
- "tradable"
- "cansell"
- "onsale"
Has nametag. 0: all; 1: nametag only
Value in
- 0
- 1
Response Body
application/json
curl -X GET "https://example.com/api/market/developer/steam/inventory?game=cs2&min_price=10.01&max_price=100.5"{ "items": [ { "appid": 730, "game": "csgo", "assetid": "51073537258", "market_hash_name": "Nova | Mandrel (Field-Tested)", "goods_id": 58835, "steam_price": "0.03", "sell_min_price": "400", "buy_max_price": "0", "tradable": true, "tradable_time": null, "state": 3, "state_text": "Sellable", "asset_info": { "assetid": "51073537258", "classid": "7993036004", "contextid": 2, "goods_id": 58835, "id": "M1094062769", "instanceid": "302028390", "paintwear": "0.27153879404067993", "info": { "fraudwarnings": "", "paintindex": 785, "paintseed": 845, "stickers": [ { "sticker_id": 0, "slot": 0, "wear": 0, "category": "string", "market_hash_name": "string", "offset_x": 0, "offset_y": 0, "rotation": 0 } ], "tournament_tags": [ { "category": "string", "internal_name": "string" } ], "inspect_info": { "game_release_date": "string", "inspect_url": "string", "is_charm": true, "is_customplayer": true }, "keychains": [] } } } ], "total_count": 42, "page_num": 1, "page_size": 20}