Developer API

Steam Sales History API

Historia cen w dziennych snapshotach dla każdego Steam item — idealna do wykresów, portfolio trackerów i analizy trendów.

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 udostępnia historię cen per dzień, którą Steam śledzi dla każdego item rynku. Użyj jej do zasilenia candle chart na portfolio dashboard, wykrywania trendów cen.

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.