Choose the WOK contract your application needs
Developer guide · English. Compatible paths help an existing integration start testing; native endpoints offer a different response model. Choose the parser and error behavior deliberately.
| Your application | Start here | Validate before switching |
|---|---|---|
| Existing item-array parser | GET /steam/api/inventory | Success is an array. Check group=1 versus group=0, string asset IDs, null prices and HTTP inventory errors against the migration checklist. |
| New server application | GET /v1/inventory | Success is an object with status, items, totals and meta. HTTP 200 can describe a private or unavailable inventory. This route has no group parameter. |
| Roster or scanner | POST /v1/inventories or NDJSON stream | Validate every pair independently. Streaming needs a verified final complete record; it adds neither replay protection nor extra source capacity. Download a stream consumer. |
Start with the downloadable offline contract exercise: twelve fictional responses show private versus empty inventories, quantity-aware USD totals, missing prices and partial batch failures. It needs Python 3.10+, no API key and no network request.
A compatible URL does not establish identical fields, valuations or coverage. Test saved success, private, empty and failure responses before a bounded live comparison. Keep inventory age separate from price-source timestamps, and compare measured latency under the same workload rather than treating a plan's per-minute quota as throughput. Read the example setup and partial-result rules before running the downloadable client.
Moving inventories that span several Steam pages? Check large-inventory pagination and batch coverage before comparing totals or replacing your continuation logic.
与 steamwebapi 对比
两个 API 回答的是同一个问题 - Steam 库存里有什么,值多少钱。区别在于一个 key 能拿到多少额度、调用速度能有多快,以及有多少功能要单独计费。
| 项目 | steamwebapi | WOK API |
|---|---|---|
| 已公布的每分钟限额(对比套餐) | 每月 €200,200 次(Inventory High+) | Ultra 每分钟 1,500;Titan 每分钟 2,500 |
| Steam 个人资料 | Starter 已含,也有专项套餐 | 已包含 |
| FACEIT 段位与数据 | 本次对比未评估 | 已包含,无需密钥 |
| 价格来源 | Steam 与交易平台数据,覆盖范围不一 | 各来源价格与更新时间 |
| 迁移成本 | - | 核对基础 URL、密钥与接口契约 |
SteamWebAPI 价格核对日期:2026 年 9 月 26 日。 SteamWebAPI 官方定价 · WOK 定价.
端点兼容性
WOK 支持部分 SteamWebAPI 风格路由。迁移生产流量前,请验证响应格式、分组、缺失值和错误处理;这不代表覆盖竞争对手的所有功能。
| 接口 | 备注 |
|---|---|
/steam/api/inventory | 已文档化的兼容格式,推荐使用 Bearer |
/steam/api/profile | 已文档化的兼容格式,推荐使用 Bearer |
/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()
错误码
请分别处理认证、配额、校验和上游错误。原生批量接口在 HTTP 200 响应中也会包含每个组合的状态与错误。
400参数格式错误401密钥缺失、无效或过期402配额用尽或缺少必要扩展404未找到个人资料或物品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.
SteamAPIs alternativeCSFloat API alternativebackpack.tf API alternative
Steam 库存 API 价格
从免费密钥开始,或选择付费套餐。支持一次性付款,也可选择通过 Stripe 自动续费。 兼容接口与迁移指南.
FREE DEVELOPER
免费
- 单位 / 30 天
- 1 000
- 单位 / 天
- 100
- RPM
- 30
HISTORY
$6
- 单位 / 30 天
- 750 000
- 单位 / 天
- 30,000
- RPM
- 600
PRICES STARTER
$6
- 单位 / 30 天
- 250 000
- 单位 / 天
- 10,000
- RPM
- 300
PLAYERS STARTER
$8
- 单位 / 30 天
- 60 000
- 单位 / 天
- 2,500
- RPM
- 300
VIEWER
$9
- 单位 / 30 天
- 1 000
- 单位 / 天
- 100
- RPM
- 120
FLOAT
$9
- 单位 / 30 天
- 100 000
- 单位 / 天
- 5,000
- RPM
- 300
PRICES
$9
- 单位 / 30 天
- 600 000
- 单位 / 天
- 20,000
- RPM
- 600
INVENTORY STARTER
$12
- 单位 / 30 天
- 150 000
- 单位 / 天
- 6,000
- RPM
- 400
HISTORY PRO
$12
- 单位 / 30 天
- 3 000 000
- 单位 / 天
- 120,000
- RPM
- 1200
START
$15
- 单位 / 30 天
- 300 000
- 单位 / 天
- 10,000
- RPM
- 250
ASSETS
$15
- 单位 / 30 天
- 300 000
- 单位 / 天
- 15,000
- RPM
- 300
PLAYERS
$15
- 单位 / 30 天
- 200 000
- 单位 / 天
- 7,000
- RPM
- 600
PRICES PRO
$19
- 单位 / 30 天
- 2 000 000
- 单位 / 天
- 70,000
- RPM
- 1200
VIEWER PRO
$19
- 单位 / 30 天
- 5 000
- 单位 / 天
- 500
- RPM
- 300
FLOAT PRO
$19
- 单位 / 30 天
- 1 000 000
- 单位 / 天
- 50,000
- RPM
- 1200
INVENTORY
$25
- 单位 / 30 天
- 450 000
- 单位 / 天
- 15,000
- RPM
- 800
HISTORY SCALE
$25
- 单位 / 30 天
- 12 000 000
- 单位 / 天
- 450,000
- RPM
- 1500
ASSETS PRO
$29
- 单位 / 30 天
- 1 000 000
- 单位 / 天
- 50,000
- RPM
- 1200
PLAYERS PRO
$29
- 单位 / 30 天
- 500 000
- 单位 / 天
- 18,000
- RPM
- 1200
PRO
$35
- 单位 / 30 天
- 700 000
- 单位 / 天
- 24,000
- RPM
- 500
PRICES SCALE
$39
- 单位 / 30 天
- 6 000 000
- 单位 / 天
- 210,000
- RPM
- 1500
VIEWER SCALE
$39
- 单位 / 30 天
- 12 500
- 单位 / 天
- 1,250
- RPM
- 600
FLOAT SCALE
$39
- 单位 / 30 天
- 3 000 000
- 单位 / 天
- 120,000
- RPM
- 1500
INVENTORY PRO
$49
- 单位 / 30 天
- 900 000
- 单位 / 天
- 32,000
- RPM
- 1500
ASSETS SCALE
$49
- 单位 / 30 天
- 5 000 000
- 单位 / 天
- 200,000
- RPM
- 1500
HISTORY BUSINESS
$49
- 单位 / 30 天
- 25 000 000
- 单位 / 天
- 900,000
- RPM
- 1500
PLAYERS SCALE
$59
- 单位 / 30 天
- 1 100 000
- 单位 / 天
- 40,000
- RPM
- 1500
PRICES BUSINESS
$59
- 单位 / 30 天
- 12 000 000
- 单位 / 天
- 420,000
- RPM
- 1500
MAX
$65
- 单位 / 30 天
- 2 000 000
- 单位 / 天
- 80,000
- RPM
- 1000
FLOAT BUSINESS
$69
- 单位 / 30 天
- 6 000 000
- 单位 / 天
- 220,000
- RPM
- 1500
PLAYERS BUSINESS
$89
- 单位 / 30 天
- 1 750 000
- 单位 / 天
- 65,000
- RPM
- 1500
HISTORY ENTERPRISE
$89
- 单位 / 30 天
- 50 000 000
- 单位 / 天
- 1,800,000
- RPM
- 1500
ASSETS BUSINESS
$89
- 单位 / 30 天
- 10 000 000
- 单位 / 天
- 350,000
- RPM
- 1500
INVENTORY SCALE
$99
- 单位 / 30 天
- 2 000 000
- 单位 / 天
- 70,000
- RPM
- 2000
PRICES ENTERPRISE
$99
- 单位 / 30 天
- 25 000 000
- 单位 / 天
- 900,000
- RPM
- 1500
FLOAT ENTERPRISE
$119
- 单位 / 30 天
- 12 000 000
- 单位 / 天
- 450,000
- RPM
- 1500
ULTRA
$139
- 单位 / 30 天
- 7 000 000
- 单位 / 天
- 240,000
- RPM
- 1500
INVENTORY BUSINESS
$149
- 单位 / 30 天
- 3 000 000
- 单位 / 天
- 110,000
- RPM
- 2500
ASSETS ENTERPRISE
$149
- 单位 / 30 天
- 20 000 000
- 单位 / 天
- 700,000
- RPM
- 1500
PRICES ENTERPRISE PLUS
$179
- 单位 / 30 天
- 50 000 000
- 单位 / 天
- 1,800,000
- RPM
- 1500
TITAN
$199
- 单位 / 30 天
- 9 000 000
- 单位 / 天
- 350,000
- RPM
- 2500
PLAYERS ENTERPRISE
$199
- 单位 / 30 天
- 4 000 000
- 单位 / 天
- 150,000
- RPM
- 1500
INVENTORY ENTERPRISE
$299
- 单位 / 30 天
- 6 000 000
- 单位 / 天
- 220,000
- RPM
- 3000
PLAYERS ENTERPRISE PLUS
$389
- 单位 / 30 天
- 8 000 000
- 单位 / 天
- 300,000
- RPM
- 1500
BUSINESS
$569
- 单位 / 30 天
- 12 000 000
- 单位 / 天
- 450,000
- RPM
- 3000
INVENTORY ENTERPRISE PLUS
$569
- 单位 / 30 天
- 12 000 000
- 单位 / 天
- 450,000
- RPM
- 3500
ENTERPRISE
$949
- 单位 / 30 天
- 20 000 000
- 单位 / 天
- 750,000
- RPM
- 3500
ENTERPRISE PLUS
$1399
- 单位 / 30 天
- 30 000 000
- 单位 / 天
- 1,100,000
- RPM
- 3500
