Developer API

Steam Sales History API

为任意 Steam 物品提供每日快照式价格历史——非常适合图表、投资组合追踪器和趋势分析。

Endpoints

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

GET /steam/api/history
GET /steam/api/items/history

Steam Sales History 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/history?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/steam/api/history?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/history?key=${KEY}`);
const data = await r.json();

About this API

Sales History API 暴露 Steam 为每件市场物品追踪的每日价格历史。用它在投资组合仪表盘上驱动蜡烛图,或检测价格趋势。

FAQ

What granularity is the history?

Daily snapshots. One row per day with the price observed at the snapshot time.

How far back does history go?

We keep at least 90 days of daily snapshots for every active item, often much more for popular items.

Can I bulk-fetch history?

Yes — POST to /steam/api/items/history with a list of market_hash_names for batch retrieval.

Start building with the Steam Sales History API

One key, every Steam endpoint.