Developer API

Steam Inventory API

Haal elke Steam-gebruikersinventory op via een REST-endpoint — zonder rate-limit-drama. Batch-ondersteuning tot 100 inventories per request.

Endpoints

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

GET /steam/api/inventory
GET /steam/api/inventory/batch

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

About this API

Steam-inventories naïef ophalen eindigt binnen enkele minuten in een 429. De Steam Inventory API neemt het zware werk over: request-buffering, slimme cache, retries, respons-normalisatie.

FAQ

Welke games ondersteunt de Inventory API?

Elke Steam-communitygame met openbare inventories — CS2, Dota 2, Rust, TF2, Steam zelf, en meer. Geef de appId van de game door.

Hoe doe ik een batch-fetch?

POST een lijst SteamIDs naar /steam/api/inventory/batch (max 100 per call). De respons is gekeyd op SteamID.

Moet ik de rate limits van Steam beheren?

Nee. Wij beheren de rate limits server-side. Je code ziet alleen een schone JSON-respons.

Start building with the Steam Inventory API

One key, every Steam endpoint.