Developer API

Steam Sales History API

Historique de prix par snapshots quotidiens pour n'importe quel item Steam — idéal pour graphiques, portfolio trackers et analyse de tendances.

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

La Sales History API expose l'historique de prix quotidien que Steam suit pour chaque item du marché. Utilisez-le pour alimenter un chart candle sur un dashboard de portfolio, détecter des tendances de prix.

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.