Developer API

Steam Inventory API

Načtěte libovolný uživatelský inventář Steamu přes REST endpoint — bez dramatu rate limitů. Podpora batch až 100 inventářů na požadavek.

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

Naivní načítání Steam inventářů skončí na 429 během pár minut. Steam Inventory API zvládne těžkou práci: bufferování požadavků, chytrou cache, retry, normalizaci odpovědí.

FAQ

Které hry Inventory API podporuje?

Každou komunitní hru Steamu s veřejnými inventáři — CS2, Dota 2, Rust, TF2, samotný Steam a další. Předejte appId hry.

Jak provádět batch načítání?

POST seznam SteamID na /steam/api/inventory/batch (max 100 na volání). Odpověď je klíčovaná podle SteamID.

Musím řešit rate limity Steamu?

Ne. Rate limity řešíme na straně serveru. Váš kód jen vidí čistou JSON odpověď.

Start building with the Steam Inventory API

One key, every Steam endpoint.