Developer API

Steam Inventory API

Pobierz każdy ekwipunek użytkownika Steam przez REST endpoint — bez dramy rate-limitów. Wsparcie batch do 100 inventories na 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

Naive pobieranie ekwipunków Steam kończy się w 429 w minutach. Steam Inventory API zajmuje się ciężką robotą: buforowanie requestów, inteligentny cache, retries, normalizacja odpowiedzi.

FAQ

Jakie gry wspiera Inventory API?

Każda gra społecznościowa Steam z publicznymi ekwipunkami — CS2, Dota 2, Rust, TF2, sam Steam i więcej. Przekaż appId gry.

Jak zrobić batch-fetch?

POST listy SteamID do /steam/api/inventory/batch (max 100 na call). Odpowiedź jest klucz-owana po SteamID.

Czy muszę obsługiwać rate-limity Steam?

Nie. Obsługujemy rate-limity po stronie serwera. Twój kod widzi tylko czystą odpowiedź JSON.

Start building with the Steam Inventory API

One key, every Steam endpoint.