Developer API

Steam Trading API

交易资格、锁定状态、Steam Guard 状态——交易机器人在打开交易窗口前所需的一切。

Endpoints

All endpoints return JSON, accept the same auth header, and degrade with a normalised error envelope.

GET /steam/api/profile/trade-eligibility

Steam Trading API — quickstart

Same auth header as every other endpoint we ship. Get an API key from the dashboard and you're querying inside two minutes.

  • Single auth header, JSON response.
  • Rate limits scale with your plan tier.
  • Full schema in the API reference.
API Request
# curl with API key
curl "https://www.steamwebapi.com/steam/api/profile/trade-eligibility?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/steam/api/profile/trade-eligibility?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/profile/trade-eligibility?key=${KEY}`);
const data = await r.json();

About this API

在打开 Steam 交易窗口之前,你想知道:这位用户现在能否交易,是否被锁定,是否启用了 Steam Guard,是否被交易封禁?Steam Trading API 在一次请求中回答以上所有问题。

FAQ

What does trade-eligibility return?

Trade ban status, Steam Guard requirement, lock state, days until trade restriction lifts (if applicable).

Is this real-time?

Yes — every check hits Steam fresh, with short-term caching server-side to absorb rate limits.

How does it differ from the Profile API?

Profile gives you the user's identity. Trade eligibility tells you whether they can trade right now.

Start building with the Steam Trading API

One key, every Steam endpoint.