BUFF sale history is now available - POST /v1/archive/buff returns sale prices and daily total supply since September 2024.

GET /v1/market/steam/latest

返回所有饰品最新的 Steam 买/卖订单簿全深度快照。

响应未压缩时约为 100 MB,因此必须使用 Accept-Encoding: gzip。完整档位以列式数组返回:卖价按升序排列,买价按降序排列,每个 volumes 值对应相同数组索引上的价格。

订单簿约每 5 分钟更新一次。

访问#

适用于所有套餐。

请求#

GETapi.cs2.sh/v1/market/steam/latest
curl https://api.cs2.sh/v1/market/steam/latest \
  -H "Authorization: Bearer <<YOUR_API_KEY>>" \
  -H "Accept-Encoding: gzip" --compressed

响应#

{
  "response_time": "2026-08-23T21:59:42.578056003Z",
  "currency": "USD",
  "items": {
    "USP-S | Printstream (Factory New)": {
      "updated_at": "2026-08-23T21:56:50.48Z",
      "collected_at": "2026-08-23T21:58:05.789Z",
      "top": {
        "ask": 144.99,
        "ask_volume": 75,
        "bid": 143.09,
        "bid_volume": 2537
      },
      "depth": {
        "ask_levels": 2,
        "bid_levels": 2,
        "asks": {
          "prices": [
            144.99,
            145.38
          ],
          "volumes": [
            1,
            1
          ]
        },
        "bids": {
          "prices": [
            143.09,
            142.85
          ],
          "volumes": [
            1,
            1
          ]
        }
      }
    }
  }
}

响应字段#

SteamOrderbookLatestResponse 字段:

字段类型必需描述
response_timestring (date-time)此快照响应的生成时间。
currencystring货币代码(始终为 USD)。
itemsRecord<string, SteamOrderbookItem>具有当前订单簿数据的常规饰品,按 market_hash_name 键控。

订单簿数据#

字段描述
items.<name>.top最优买/卖价以及 Steam 卖/买挂单总数。
items.<name>.depth完整的列式档位:asks.prices/asks.volumesbids.prices/bids.volumes
items.<name>.updated_atcollected_atSteam 的更新时间与 cs2.sh 的抓取时间。
  • 不包含变体饰品。

完整结构:SteamOrderbookItemSteamOrderbookTopSteamOrderbookDepthSteamOrderbookDepthSide

错误#

503 service_unavailable 表示最新订单簿快照缺失、过期或为空。共有错误见请求错误