数据源成交序列
单件饰品在各市场的数据源成交序列:每个点是数据源对某个标签给出的聚合值(中位数、均值、总和、最小值、最大值或最后值),附带统计量、粒度与计数口径,以数据源原币种给出,并按标签日期的历史汇率换算美元值。每个点取最新的完整响应;各点从不相加、跨市场合并或重新采样。与成交记录一样是按数据源的证据。Pro 与 Enterprise 套餐。支持 CS2 与 Rust。
每个点都是数据源自己的聚合值:一个标签(labelAt、labelText)、一个 statistic(median、mean、sum、min、max 或 last;count 表示 value 为 null 的仅计数点)、一个 resolution,以及带计数口径 countBasis(sales、units 或 unknown)的 saleCount。标签是数据源选定的日历坐标,而非经过验证的区间,因此各点从不相加、跨市场合并或重新采样,interval 只接受 native。
每个点取最新的完整响应。Steam 的序列以 Steam 钱包余额计价(economicBasis: steam_wallet),不是现金,请按钱包价格理解。分页方式与成交记录相同,每页最多 10000 个点;在此传入成交记录的游标会返回 400。
完整日序列:resolution=day,unknown,week&from=2013-04-26&limit=10000 一次请求返回全部已存储的日点与周点:Steam 自 2013 年起的每日中位数、Mannco 自 2020 年起的周点、WhiteMarket 自 2022 年起的数据。请与 day 一同请求 unknown:Steam 不说明分桶大小,相邻日无成交的日点会标为 unknown,冷门饰品的旧点大多如此。data.scope.resolutions 回显该筛选。超过 31 天的读取计为每分钟限额的 5 次请求,31 天以内计 1 次。保留 hour 的读取仍限 31 天。
参数
id、slug、marketHashName 必须且只能提供其一。id 或 slug。cs2(默认)或 rust。游标沿用其游戏。to 之前 7 天。resolution 不含 hour 时最长 7305 天。超出返回 400。day、hour、unknown 或 week,逗号分隔或重复传入。默认保留全部。不含 hour 时一次请求最长可读 7305 天:day,unknown,week 返回某市场完整的日序列,Steam 可追溯到 2013 年。游标沿用其粒度。native,唯一取值也是默认值:按数据源原样返回各点,从不重新采样。pagination.nextCursor。在此传入 /v2/sales/trades 的游标会返回 400。响应字段
嵌套与共享结构链接到 API 对象 参考页。
错误
id / slug / marketHashName),game、markets、日期、limit 或 cursor 无效,包含未知参数,或范围超过 31 天。Authorization 头、认证方案不支持,或密钥未知、未激活、已过期、已吊销。id 或 slug。markets。export SKINPRICER_API_KEY="sp_live_•••"
curl -G "https://pricing.skinpricer.com/v2/sales/history" \
--data-urlencode "marketHashName=AK-47 | Redline (Field-Tested)" \
-H "Authorization: ApiKey $SKINPRICER_API_KEY"// No SDK helper for this endpoint yet, so call it directly.
const url = new URL("https://pricing.skinpricer.com/v2/sales/history");
url.searchParams.set("marketHashName", "AK-47 | Redline (Field-Tested)");
const res = await fetch(url, {
headers: { Authorization: `ApiKey ${process.env.SKINPRICER_API_KEY}` },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://pricing.skinpricer.com/v2/sales/history",
params={"marketHashName": "AK-47 | Redline (Field-Tested)"},
headers={"Authorization": f"ApiKey {os.environ['SKINPRICER_API_KEY']}"},
timeout=10,
)
res.raise_for_status()
print(res.json())需要认证的接口:请在你自己的客户端中携带 API 密钥调用(见代码示例)。
{
"success": true,
"data": {
"scope": {
"game": "cs2",
"canonicalItemId": "cmlofca920lka01yozajhixt3",
"markets": ["steamcommunity"],
"from": "2026-10-17T21:00:00.000Z",
"to": "2026-10-24T21:00:00.000Z",
"receivedThrough": "2026-10-24T20:58:00.000Z"
},
"series": [
{
"market": "steamcommunity",
"lane": "history",
"kind": "aggregate",
"economicBasis": "steam_wallet",
"queryScope": "item",
"selected": true,
"completeness": "lower_bound",
"strongestCoverage": "unknown",
"completeResponses": 3,
"incompleteResponses": 0,
"emptyResponses": 0,
"truncatedResponses": 0,
"rejectedRows": 0,
"coveredInterval": {
"oldest": "2026-10-17T21:00:00.000Z",
"newest": "2026-10-24T13:00:00.000Z"
},
"latestExhaustiveWindow": null,
"latestCompleteReceipt": "2026-10-24T14:02:41.000Z",
"latestIncompleteReceipt": null,
"latestSourceAsOf": null,
"receiptAgeSeconds": 24919
}
],
"items": [
{
"market": "steamcommunity",
"endpoint": "pricehistory",
"queryId": "5d0c9e7b2a4f1e8d3c6b9a0f2e5d8c1b4a7f0e3d6c9b2a5f8e1d4c7b0a3f6e92",
"responseId": "7e3d1b9a-2c4f-4a6e-9d8b-1f0e2c3a4b5d",
"sourceRowIndex": 4021,
"occurrence": 0,
"labelAt": "2026-10-24T13:00:00.000Z",
"labelText": "Oct 24 2026 13: +0",
"resolution": "hour",
"timeBasis": "provider_utc",
"receivedAt": "2026-10-24T14:02:41.000Z",
"statistic": "median",
"value": { "amount": "82.817", "currency": "USD" },
"usdCents": 8282,
"fxDate": null,
"saleCount": 2,
"countBasis": "units",
"extras": {}
}
]
},
"pagination": {
"limit": 1000,
"hasMore": false,
"nextCursor": null
}
}