挂单深度
来自公布价格档位的平台的挂单深度:排序后的在售与求购档位,含累计数量及各市场的贡献报价。CS2 的在售档位均为 Steam 钱包挂单;现金平台的最低售价在 /v1/nbbo,不在此接口。用 depth 设置档位数(1 到 50,默认 10)。价格为整数美分。
把各平台公布的价格档位合并为一个排序挂单簿(asks 从低到高、bids 从高到低),每档携带 cumulativeQuantity,可直接读出距盘口 X 美分内有多少量。
只有公布价格档位的平台进入深度。CS2 在售档位仅来自 Steam(steamcommunity),以 Steam 钱包余额支付;CS2 求购档位来自 Steam、CSFloat(约 240 件饰品)和 WhiteMarket(仅第一档)。Rust 在售档位来自 Steam 与 SkinDeck,求购档位来自 Steam 与 DMarket。
CSFloat、BUFF163、Skinport 等现金平台只公布最低售价和挂单数量,不公布在售档位,因此它们的售价不在 CS2 深度中;在 CS2 上用现金平台做 markets 过滤时在售档位为空。现金最低售价请读 /v1/nbbo 的 bestAsk;各平台售价与挂单数量请读 /v1/pricing/:marketHashName 的 markets[]。
每档列出构成它的各市场 quotes,因此你能看到每个价位的流动性来自哪些平台。用 depth(1 到 50,默认 10)设置每边的档位数。
按游戏区分的版本:GET /v2/nbbo/depth 通过必填参数 game=cs2|rust 同时服务两款游戏,见游戏:CS2 与 Rust。
参数
id 二选一(都缺失返回 400)。marketHashName 二选一(都缺失返回 400)。响应字段
/v1/nbbo 和 /v1/pricing 不同,不做裁剪:盘口交叉时可能很大或为负。spreadBps 为负时 crossed 仍可能为 false。嵌套与共享结构链接到 API 对象 参考页。
错误
marketHashName 与 id 均未提供,或 depth 不在 1 到 50 范围内。Authorization 头、认证方案不支持,或密钥未知、未激活、已过期、已吊销。配套接口
按时间存储的挂单档位:每个市场挂单簿、每个 UTC 时间桶内最后一份完整的在售与求购档位,每边最多 20 档(Steam)。参数包括 game、from/to(默认最近 24 小时)与 interval(HOUR_1 最多 90 天,DAY_1 不限范围)。没有档位的时间桶不出现,从不记为零。Pro 与 Enterprise 套餐。
使用此端点的指南(英文)
export SKINPRICER_API_KEY="sp_live_•••"
curl -G "https://pricing.skinpricer.com/v1/nbbo/depth" \
--data-urlencode "marketHashName=AK-47 | Redline (Field-Tested)" \
--data-urlencode "depth=10" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY"// npm i @skinpricer/sdk
import { SkinpricerClient } from "@skinpricer/sdk";
const client = new SkinpricerClient({
apiKey: process.env.SKINPRICER_API_KEY!,
authScheme: "ApiKey",
});
const book = await client.nbbo.depth({ marketHashName: "AK-47 | Redline (Field-Tested)", depth: 10 });
console.log(book.asks.length, "ask levels,", book.bids.length, "bid levels");import os
import requests
res = requests.get(
"https://pricing.skinpricer.com/v1/nbbo/depth",
params={"marketHashName": "AK-47 | Redline (Field-Tested)", "depth": "10"},
headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
timeout=10,
)
res.raise_for_status()
print(res.json()){
"marketHashName": "AK-47 | Redline (Field-Tested)",
"canonicalItemId": "cmlofczf90qj401vsd80dskd1",
"depth": 4,
"marketCount": 3,
"asks": [
{
"rank": 1,
"price": 2486,
"quantity": 2,
"ordersCount": 2,
"marketCount": 1,
"cumulativeQuantity": 2,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"level": 1,
"price": 2486,
"originalPriceCents": 2486,
"originalCurrency": "USD",
"quantity": 2,
"ordersCount": 2,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "ask",
"purchasable": true
}
]
},
{
"rank": 2,
"price": 2516,
"quantity": 2,
"ordersCount": 2,
"marketCount": 1,
"cumulativeQuantity": 4,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"level": 2,
"price": 2516,
"originalPriceCents": 2516,
"originalCurrency": "USD",
"quantity": 2,
"ordersCount": 2,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "ask",
"purchasable": true
}
]
},
{
"rank": 3,
"price": 2617,
"quantity": 3,
"ordersCount": 3,
"marketCount": 1,
"cumulativeQuantity": 7,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"level": 3,
"price": 2617,
"originalPriceCents": 2617,
"originalCurrency": "USD",
"quantity": 3,
"ordersCount": 3,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "ask",
"purchasable": true
}
]
},
{
"rank": 4,
"price": 2638,
"quantity": 1,
"ordersCount": 1,
"marketCount": 1,
"cumulativeQuantity": 8,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"level": 4,
"price": 2638,
"originalPriceCents": 2638,
"originalCurrency": "USD",
"quantity": 1,
"ordersCount": 1,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "ask",
"purchasable": true
}
]
}
],
"bids": [
{
"rank": 1,
"price": 2431,
"quantity": 3,
"ordersCount": 3,
"marketCount": 1,
"cumulativeQuantity": 3,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"valueKind": "wallet",
"level": 1,
"price": 2431,
"originalPriceCents": 2431,
"originalCurrency": "USD",
"quantity": 3,
"ordersCount": 3,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "bid",
"purchasable": false
}
]
},
{
"rank": 2,
"price": 2424,
"quantity": 4,
"ordersCount": 4,
"marketCount": 1,
"cumulativeQuantity": 7,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"valueKind": "wallet",
"level": 2,
"price": 2424,
"originalPriceCents": 2424,
"originalCurrency": "USD",
"quantity": 4,
"ordersCount": 4,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "bid",
"purchasable": false
}
]
},
{
"rank": 3,
"price": 2423,
"quantity": 30,
"ordersCount": 30,
"marketCount": 1,
"cumulativeQuantity": 37,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"valueKind": "wallet",
"level": 3,
"price": 2423,
"originalPriceCents": 2423,
"originalCurrency": "USD",
"quantity": 30,
"ordersCount": 30,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "bid",
"purchasable": false
}
]
},
{
"rank": 4,
"price": 2421,
"quantity": 2,
"ordersCount": 2,
"marketCount": 1,
"cumulativeQuantity": 39,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"quotes": [
{
"market": "steamcommunity",
"valueKind": "wallet",
"level": 4,
"price": 2421,
"originalPriceCents": 2421,
"originalCurrency": "USD",
"quantity": 2,
"ordersCount": 2,
"updatedAt": "2026-11-27T08:18:15.000Z",
"isStale": false,
"priceKind": "bid",
"purchasable": false
}
]
}
],
"spreadBps": 226,
"locked": false,
"crossed": false,
"calculatedAt": "2026-11-27T08:26:26.825Z"
}