Skip to content
LogoLogo

Examples

Price overview

curl 'https://steamcommunity.com/market/priceoverview/?country=US&currency=1&appid=730&market_hash_name=AK-47%20%7C%20Redline%20%28Field-Tested%29'
{
  "success": true,
  "lowest_price": "$12.34",
  "volume": "1,234",
  "median_price": "$12.10"
}

The request body is a one-element array.

curl 'https://steamcommunity.com/market/search?appid=730&category_Type=tag_CSGO_Type_Rifle' \
  -H 'Content-Type: application/json' \
  --data '[{"appid":730,"filters":{"Type":"tag_CSGO_Type_Rifle"},"price":{"eCurrency":1},"accessoryFilters":{},"start":0}]'
{
  "start": 0,
  "total_count": 1,
  "grouping": 1,
  "facets": [],
  "results": [
    {
      "strHash": "AK-47 | Redline (Field-Tested)",
      "cSellOrders": 1200,
      "cBuyOrders": 430,
      "eCurrency": 1,
      "strMinSellSubtotal": "$12.34",
      "asset_description": {
        "appid": 730,
        "classid": "310777173",
        "market_hash_name": "AK-47 | Redline (Field-Tested)",
        "marketable": true
      }
    }
  ]
}

Structured listings

curl 'https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20%28Field-Tested%29' \
  -H 'Content-Type: application/json' \
  --data '[{"appid":730,"strItemName":"AK-47 | Redline (Field-Tested)","filters":{},"accessoryFilters":{},"propertyFilters":{},"price":{"eCurrency":1},"start":0}]'

Use unPrice + unFee for the buyer total. Do not parse strSubtotal when integer amounts are available.

Order histogram

curl 'https://steamcommunity.com/market/itemordershistogram?country=US&language=english&currency=1&item_nameid=176024744'

Buy a listing outright

curl 'https://steamcommunity.com/market/buylisting/1234567890123456789' \
  -H 'Cookie: steamLoginSecure=<redacted>; sessionid=<redacted>' \
  -H 'Referer: https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20%28Field-Tested%29' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data 'sessionid=<redacted>&currency=1&subtotal=1200&fee=180&total=1380&quantity=1'
{ "wallet_info": { "success": 1, "wallet_currency": 1, "wallet_balance": "4320" } }

Success lives in wallet_info.success, not at the top level. See Mutations and purchasing for the required headers.

Check a buy order's fill progress

curl 'https://steamcommunity.com/market/getbuyorderstatus?sessionid=<redacted>&buy_orderid=1234567890' \
  -H 'Cookie: steamLoginSecure=<redacted>; sessionid=<redacted>' \
  -H 'Referer: https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20%28Field-Tested%29' \
  -H 'X-Requested-With: XMLHttpRequest'
{ "success": 1, "active": 1, "purchased": 2, "quantity": 5, "quantity_remaining": 3 }

Cancel a buy order

curl 'https://steamcommunity.com/market/cancelbuyorder/' \
  -H 'Cookie: steamLoginSecure=<redacted>; sessionid=<redacted>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data 'sessionid=<redacted>&buy_orderid=1234567890'
{ "success": 1 }