Developer API

Steam Sales History API

Cenová historie v denních snímcích pro libovolnou položku Steamu — ideální pro grafy, portfoliové trackery a analýzu trendů.

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 zpřístupňuje denní cenovou historii, kterou Steam sleduje pro každou položku na marketu. Použijte ji k napájení svíčkového grafu na dashboardu portfolia nebo k detekci cenových trendů.

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.