WOK API / SteamWebAPI
与 steamwebapi 对比
Compare the workload, not just a requests-per-minute headline. Start with WOK's compatibility routes, then validate your response parser, source selection and retry behavior.
BASE + KEY- BASE = "https://www.steamwebapi.com"
+ BASE = "https://woksteamapi.com"
- KEY = "your-steamwebapi-key"
+ KEY = "your-wok-key"
迁移成本: Base URL, key and contract validation.

与 steamwebapi 对比
两个 API 回答的是同一个问题 - Steam 库存里有什么,值多少钱。区别在于一个 key 能拿到多少额度、调用速度能有多快,以及有多少功能要单独计费。
| 项目 | steamwebapi | WOK API |
|---|---|---|
| 已公布的每分钟限额(对比套餐) | 每月 €200,200 次(Inventory High+) | Ultra 每分钟 1,200;Titan 每分钟 1,500 |
| Steam 个人资料 | Included in Starter; dedicated plans also exist | 已包含 |
| FACEIT 段位与数据 | Not evaluated in this comparison | 已包含,无需密钥 |
| 价格来源 | Steam and marketplace data; coverage varies | Source-level prices and update times |
| 迁移成本 | - | Base URL, key and contract validation |
SteamWebAPI pricing checked September 26, 2026. SteamWebAPI 官方定价 · WOK 定价.
端点兼容性
WOK supports selected SteamWebAPI-style routes. Validate the documented response shape, grouping, missing values and error handling before switching production traffic; this is not a guarantee of every competitor feature.
| 端点 | 备注 |
|---|---|
/steam/api/inventory | Documented compatibility shape; Bearer preferred |
/steam/api/profile | Documented compatibility shape; Bearer preferred |
/v1/inventory | Bearer 认证,额外字段 |
/v1/profiles | 一次调用,最多 64 个个人资料 |
/v1/prices | 每次调用最多 200 个价格 |
/faceit/data/v4/players | 无需单独的 FACEIT key |
代码中的改动
requestsresponse = requests.get(
f"{BASE}/steam/api/inventory",
headers={"Authorization": f"Bearer {KEY}"},
params={"steam_id": sid, "game": "cs2", "price_source": "auto"},
timeout=35,
)
response.raise_for_status()
错误码
Handle authentication, quota, validation and upstream failures separately. Native batch responses also carry per-pair status and errors inside HTTP 200.
400参数格式错误401missing, invalid or expired key402quota exhausted or required add-on missing404未找到个人资料或物品422参数未通过校验429已达速率限制502Steam 或 FACEIT 未响应价格来源
价格会跨多个市场交叉核对,由你决定以哪一个为准。在任意库存调用中加上 price_source,或在 key 上设置默认值。steam_buy 是 Steam 的即时出售价 - 即当前最高的求购订单价。
autosteamsteam_buyskinportmarketbackpacktfbuffmix
?price_source=steam_buy&strict=1
Steam inventory 429 guide: cache-first reads, bounded retries and explicit freshness metadata.
Steam 库存 API 价格
免费开始,或选择至少 30 天的预付费期限。请求配额按 30 天周期计算,不会自动扣费。 兼容接口与迁移指南.
FREE DEVELOPER
免费
- 次库存查询 / 30 天
- 1 000
- 每天
- 100
- RPM
- 30
START
$12
- 次库存查询 / 30 天
- 300 000
- 每天
- 10,000
- RPM
- 120
PRO
$29
- 次库存查询 / 30 天
- 700 000
- 每天
- 24,000
- RPM
- 300
MAX
$59
- 次库存查询 / 30 天
- 2 000 000
- 每天
- 80,000
- RPM
- 600
ULTRA
$119
- 次库存查询 / 30 天
- 7 000 000
- 每天
- 240,000
- RPM
- 1200
TITAN
$199
- 次库存查询 / 30 天
- 9 000 000
- 每天
- 350,000
- RPM
- 1500