Developer API

Steam Inventory API

Récupérez n'importe quel inventaire utilisateur Steam via un endpoint REST — sans le drame des rate-limits. Support batch jusqu'à 100 inventaires par requête.

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

Récupérer des inventaires Steam de manière naïve se termine en 429 en quelques minutes. La Steam Inventory API gère le travail lourd : buffering de requêtes, cache intelligent, retries, normalisation de réponse.

FAQ

Quels jeux l'Inventory API supporte-t-elle ?

Tout jeu communautaire Steam avec inventaires publics — CS2, Dota 2, Rust, TF2, Steam lui-même, et plus. Passez l'appId du jeu.

Comment faire du batch-fetch ?

POST une liste de SteamIDs à /steam/api/inventory/batch (max 100 par appel). La réponse est keyée par SteamID.

Dois-je gérer les rate-limits Steam ?

Non. Nous gérons les rate-limits côté serveur. Votre code voit juste une réponse JSON propre.

Start building with the Steam Inventory API

One key, every Steam endpoint.