跳到内容
API

WOK API / SteamWebAPI

与 steamwebapi 对比

请比较实际负载,而非只看每分钟请求数。先使用 WOK 兼容路由,再验证响应解析、来源选择和重试行为。

代码中的改动BASE + KEY
- BASE = "https://www.steamwebapi.com"
+ BASE = "https://woksteamapi.com"

- KEY  = "your-steamwebapi-key"
+ KEY  = "your-wok-key"

迁移成本: 核对基础 URL、密钥与接口契约.

WOK API control core
Ultra 每分钟 1,500;Titan 每分钟 2,500已公布的每分钟限额(对比套餐)
已包含Steam 个人资料
各来源价格与更新时间价格来源
核对基础 URL、密钥与接口契约迁移成本

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 applicationStart hereValidate before switching
Existing item-array parserGET /steam/api/inventorySuccess is an array. Check group=1 versus group=0, string asset IDs, null prices and HTTP inventory errors against the migration checklist.
New server applicationGET /v1/inventorySuccess 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 scannerPOST /v1/inventories or NDJSON streamValidate 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 对比
项目steamwebapiWOK 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/inventoryBearer 认证,额外字段
/v1/profiles一次调用,最多 64 个个人资料
/v1/prices每次调用最多 200 个价格
/faceit/data/v4/players无需单独的 FACEIT key

代码中的改动

Pythonrequests
response = 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 次请求,每分钟最多 30 次。 · 需要加入 WOK API Discord 服务器
单位 / 30 天
1 000
单位 / 天
100
RPM
30

HISTORY

$6

每 30 天
单位 / 30 天
750 000
单位 / 天
30,000
RPM
600

PRICES STARTER

$6

每 30 天
单位 / 30 天
250 000
单位 / 天
10,000
RPM
300

PLAYERS STARTER

$8

每 30 天
单位 / 30 天
60 000
单位 / 天
2,500
RPM
300

VIEWER

$9

每 30 天
单位 / 30 天
1 000
单位 / 天
100
RPM
120

FLOAT

$9

每 30 天
单位 / 30 天
100 000
单位 / 天
5,000
RPM
300

PRICES

$9

每 30 天
单位 / 30 天
600 000
单位 / 天
20,000
RPM
600

INVENTORY STARTER

$12

每 30 天
单位 / 30 天
150 000
单位 / 天
6,000
RPM
400

HISTORY PRO

$12

每 30 天
单位 / 30 天
3 000 000
单位 / 天
120,000
RPM
1200

START

$15

每 30 天
单位 / 30 天
300 000
单位 / 天
10,000
RPM
250

ASSETS

$15

每 30 天
单位 / 30 天
300 000
单位 / 天
15,000
RPM
300

PLAYERS

$15

每 30 天
单位 / 30 天
200 000
单位 / 天
7,000
RPM
600

PRICES PRO

$19

每 30 天
单位 / 30 天
2 000 000
单位 / 天
70,000
RPM
1200

VIEWER PRO

$19

每 30 天
单位 / 30 天
5 000
单位 / 天
500
RPM
300

FLOAT PRO

$19

每 30 天
单位 / 30 天
1 000 000
单位 / 天
50,000
RPM
1200

INVENTORY

$25

每 30 天
单位 / 30 天
450 000
单位 / 天
15,000
RPM
800

HISTORY SCALE

$25

每 30 天
单位 / 30 天
12 000 000
单位 / 天
450,000
RPM
1500

ASSETS PRO

$29

每 30 天
单位 / 30 天
1 000 000
单位 / 天
50,000
RPM
1200

PLAYERS PRO

$29

每 30 天
单位 / 30 天
500 000
单位 / 天
18,000
RPM
1200

PRO

$35

每 30 天
单位 / 30 天
700 000
单位 / 天
24,000
RPM
500

PRICES SCALE

$39

每 30 天
单位 / 30 天
6 000 000
单位 / 天
210,000
RPM
1500

VIEWER SCALE

$39

每 30 天
单位 / 30 天
12 500
单位 / 天
1,250
RPM
600

FLOAT SCALE

$39

每 30 天
单位 / 30 天
3 000 000
单位 / 天
120,000
RPM
1500

INVENTORY PRO

$49

每 30 天
单位 / 30 天
900 000
单位 / 天
32,000
RPM
1500

ASSETS SCALE

$49

每 30 天
单位 / 30 天
5 000 000
单位 / 天
200,000
RPM
1500

HISTORY BUSINESS

$49

每 30 天
单位 / 30 天
25 000 000
单位 / 天
900,000
RPM
1500

PLAYERS SCALE

$59

每 30 天
单位 / 30 天
1 100 000
单位 / 天
40,000
RPM
1500

PRICES BUSINESS

$59

每 30 天
单位 / 30 天
12 000 000
单位 / 天
420,000
RPM
1500

MAX

$65

每 30 天
单位 / 30 天
2 000 000
单位 / 天
80,000
RPM
1000

FLOAT BUSINESS

$69

每 30 天
单位 / 30 天
6 000 000
单位 / 天
220,000
RPM
1500

PLAYERS BUSINESS

$89

每 30 天
单位 / 30 天
1 750 000
单位 / 天
65,000
RPM
1500

HISTORY ENTERPRISE

$89

每 30 天
单位 / 30 天
50 000 000
单位 / 天
1,800,000
RPM
1500

ASSETS BUSINESS

$89

每 30 天
单位 / 30 天
10 000 000
单位 / 天
350,000
RPM
1500

INVENTORY SCALE

$99

每 30 天
单位 / 30 天
2 000 000
单位 / 天
70,000
RPM
2000

PRICES ENTERPRISE

$99

每 30 天
单位 / 30 天
25 000 000
单位 / 天
900,000
RPM
1500

FLOAT ENTERPRISE

$119

每 30 天
单位 / 30 天
12 000 000
单位 / 天
450,000
RPM
1500

ULTRA

$139

每 30 天
单位 / 30 天
7 000 000
单位 / 天
240,000
RPM
1500

INVENTORY BUSINESS

$149

每 30 天
单位 / 30 天
3 000 000
单位 / 天
110,000
RPM
2500

ASSETS ENTERPRISE

$149

每 30 天
单位 / 30 天
20 000 000
单位 / 天
700,000
RPM
1500

PRICES ENTERPRISE PLUS

$179

每 30 天
单位 / 30 天
50 000 000
单位 / 天
1,800,000
RPM
1500

TITAN

$199

每 30 天
单位 / 30 天
9 000 000
单位 / 天
350,000
RPM
2500

PLAYERS ENTERPRISE

$199

每 30 天
单位 / 30 天
4 000 000
单位 / 天
150,000
RPM
1500

INVENTORY ENTERPRISE

$299

每 30 天
单位 / 30 天
6 000 000
单位 / 天
220,000
RPM
3000

PLAYERS ENTERPRISE PLUS

$389

每 30 天
单位 / 30 天
8 000 000
单位 / 天
300,000
RPM
1500

BUSINESS

$569

每 30 天
单位 / 30 天
12 000 000
单位 / 天
450,000
RPM
3000

INVENTORY ENTERPRISE PLUS

$569

每 30 天
单位 / 30 天
12 000 000
单位 / 天
450,000
RPM
3500

ENTERPRISE

$949

每 30 天
单位 / 30 天
20 000 000
单位 / 天
750,000
RPM
3500

ENTERPRISE PLUS

$1399

每 30 天
单位 / 30 天
30 000 000
单位 / 天
1,100,000
RPM
3500