New dedicated Steam Community Market endpoints are available! - full historical sale data and full-depth bid/ask orderbook. See docs.

GET /v1/market/steam/latest

本页内容

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

此快照包含每件被追踪的常规饰品,因此响应体较大(约 100mb)——必须发送 Accept-Encoding: gzip。完整档位以列式数组返回:depth.asks.prices/depth.asks.volumesdepth.bids.prices/depth.bids.volumes。卖价按升序排列,买价按降序排列,volumes 是每个价位的数量。

此端点的价格对流动性高的饰品每 10 分钟更新一次,对其他饰品每 60 分钟更新一次——流动性由 liquidity/items 决定。

访问#

所有套餐均可使用(Developer、Scale、Enterprise)。

请求#

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

响应字段#

每件饰品携带 updated_atcollected_attopdepthtop 包含最优买/卖价以及 Steam 卖/买挂单总数。depth 包含完整的列式买卖档位。饰品名称是 items 中的键,因此不会在每个饰品值内重复。不包含变体饰品。

完整结构:SteamOrderbookItemSteamOrderbookTopSteamOrderbookDepthSteamOrderbookDepthSide

错误#

状态触发条件
401 / 403缺少密钥、密钥无效或套餐无权访问。
429触发限流。
503 service_unavailable最新订单簿缓存缺失、过期或为空。
5xx服务端问题。

响应#

json
{
  "response_time": "2026-06-14T12:00:00Z",
  "currency": "USD",
  "as_of": "2026-06-14T11:57:00Z",
  "items": {
    "AK-47 | Redline (Field-Tested)": {
      "updated_at": "2026-06-14T11:57:00Z",
      "collected_at": "2026-06-14T11:57:05Z",
      "top": {
        "ask": 41.32,
        "ask_volume": 1120,
        "bid": 41.24,
        "bid_volume": 53678
      },
      "depth": {
        "ask_levels": 2,
        "bid_levels": 2,
        "asks": {
          "prices": [
            41.32,
            41.33
          ],
          "volumes": [
            2,
            4
          ]
        },
        "bids": {
          "prices": [
            41.24,
            41.23
          ],
          "volumes": [
            27,
            18
          ]
        }
      }
    }
  }
}

返回 SteamOrderbookLatestResponse 对象。完整结构见对象