开发者 API

Steam Guard API

从后端生成 Steam Guard 代码并管理移动确认。

Built for production

Production-ready Steam data from the leading all-in-one Steam data platform.

Build a focused Steam data workflow without operating and normalizing the underlying data sources yourself.

MarketplaceTrading platformAnalytics dashboardCommunity application
DATA

What you receive

Consistent JSON, documented endpoints, source-aware data and product-specific limits.

VERIFY

Inspect real data first

Open the bounded live market data pages to see response fields, sources and update times.

Explore live market data →
DEPLOY

Choose standard or custom delivery

Steam Guard API 接口

所有接口都返回有文档说明的响应,并使用相同的 Steamwebapi 密钥参数。

POST /steam/api/guard/code
POST /steam/api/guard/add
POST /steam/api/guard/remove
POST /steam/api/guard/confirmations/list
POST /steam/api/guard/confirmations/details
POST /steam/api/guard/confirmations/confirm
POST /steam/api/guard/confirmations/confirm-all

Steam Guard API — 快速开始

与其他有文档说明的接口一样,使用相同的 Steamwebapi 密钥参数。从控制面板获取 API 密钥,几分钟内即可发送第一个请求。

  • 一个 API 密钥,规范化响应。
  • 请求速率限制取决于你的套餐级别。
  • 完整架构请参阅 API 参考文档.
API 请求
# curl (POST + JSON body)
curl -X POST "https://www.steamwebapi.com/steam/api/guard/code" \
-H "X-Api-Key: $KEY" \
-H "Content-Type: application/json" \
-d '{ ... }' # body fields: see the API reference
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/guard/code`, {
method: 'POST', headers: { 'X-Api-Key': KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({ /* ... */ })
});
const data = await r.json();

关于此 API

Steam Guard API 为登录代码、maFile 和移动确认提供服务器端 endpoint。只能用于您拥有或经授权管理的账号。

/steam/api/guard/code 和确认 endpoint 与 Steam Trading API 结合,用于机器人和 marketplace 集成。不要在浏览器或公开日志中暴露密钥。

Steam Guard API — 常见问题

Steamwebapi 是什么,提供哪些数据?

Steamwebapi 是一个独立平台,为生产集成提供标准化的库存、市场、资料和 CS2 数据。

支持哪些 Steam 游戏和 API 端点?

已配置游戏包括 CS2、Dota 2、Rust 和 TF2;当前端点覆盖范围请查看文档。

集成 API 需要多久,示例在哪里?

创建密钥,选择端点,并使用文档、实时预览或 GitHub 中的认证示例。

开始使用 Steam Guard API

一个密钥,访问所有 Steam 接口。

Operational proof

The leading Steam data platform for production applications.

Established in 2018 and trusted by developers, marketplaces and trading platforms.

10,139 registered developer accounts
8 supported games
166,915 marketable items
15 active marketplaces
46,857,605 active listings
2018 operating since
Used across the Steam ecosystem Skinpull Esportfire Eliteskins RentSkins Botchicken
Direct support

Cannot find the right endpoint, data source or plan?

Tell the Steamwebapi team what you are building. A short sentence is enough — we will help you identify the right product and the simplest way to integrate it.

S
Steamwebapi team Product and integration support
Hi — what are you building, and what could you not find? Send us the question exactly as you have it.
Opens our existing live support chat.