Developer API

Steam Inventory API

Herhangi bir Steam kullanıcı envanterini REST endpoint ile al — rate-limit dramı olmadan. Request başına 100 envantere kadar batch desteği.

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 envanterlerini saf yollarla fetch etmek dakikalar içinde 429 ile sonuçlanır. Steam Inventory API ağır işi yapar: request buffering, akıllı caching, retries, response normalization.

FAQ

Inventory API hangi oyunları destekler?

Public envanteri olan her Steam community oyunu — CS2, Dota 2, Rust, TF2, Steam'in kendisi ve daha fazlası. Oyunun appId'sini geçirin.

Nasıl batch-fetch yaparım?

/steam/api/inventory/batch'e bir SteamID listesi POST'layın (call başına max 100). Yanıt SteamID'ye göre key'lenir.

Steam rate-limit'leri ile ilgilenmem gerekir mi?

Hayır. Rate-limit'leri sunucu tarafında işliyoruz. Kodunuz sadece temiz bir JSON yanıt görür.

Start building with the Steam Inventory API

One key, every Steam endpoint.