API referenceOfficial · Sell Orders

List Steam inventory items

Returns inventory items from a Steam account bound to the current BUFF account.

GET/api/market/developer/steam/inventory

Returns 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.

AuthorizationBearer <token>

BUFF developer API token. Send it as Authorization: Bearer <token>.

In: header

Query Parameters

game*"cs2"

Game identifier.

Value in

  • "cs2"
steamid?string

Steam 64-bit ID, required. Must be bound to the current user.

page?integer

Page number, optional.

Range1 <= value
Default1
page_size?integer

Items per page, optional.

Range1 <= value <= 100
Default20
force?integer

Force refresh inventory

Default0

Value in

  • 0
  • 1
search?string

Fuzzy search by name or market hash name

min_price?number

Minimum reference price (yuan, up to 2 decimal places)

Range0 <= value
max_price?number

Maximum reference price (yuan, up to 2 decimal places)

Range0 <= value
min_paintwear?number

Minimum paintwear of items

Range0 <= value <= 1
max_paintwear?number

Maximum paintwear of items

Range0 <= value <= 1
sort_by?string

Sort: 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"
state?string

Inventory state: all; tradable; cansell; onsale

Value in

  • "all"
  • "tradable"
  • "cansell"
  • "onsale"
name_tag?integer

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}