API för utvecklare

Steam Inventory API

Hämta vilket Steam-användarinventory som helst via en REST-endpoint — utan hastighetsgränsdramatik. Batchstöd upp till 20 inventories per förfrågan.

Built for production

The established Steam Inventory API for production marketplaces and applications.

Build inventory valuation, marketplace deposit, portfolio and trading workflows with normalized Steam asset data.

MarketplaceInventory valuationTrading platformPortfolio application
DATA

What you receive

Assets, descriptions, tradability, marketability, item images, metadata and price enrichment for supported games.

VERIFY

Inspect real data first

Open the bounded live market data pages to see response fields, sources and update times.

Explore live market data →
DEPLOY

Choose standard or custom delivery

Steam Inventory API-endpoints

Alla endpoints returnerar dokumenterade svar och använder samma Steamwebapi-nyckelparameter.

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

Steam Inventory API — snabbstart

Använd samma Steamwebapi-nyckelparameter som för alla andra dokumenterade endpoints. Hämta en API-nyckel från kontrollpanelen och skicka din första begäran på några minuter.

  • En API-nyckel, dokumenterade svar.
  • Gränserna för förfrågningar följer din plannivå.
  • Fullständigt schema finns i API-referens.
API-begäran
# curl with API key
curl -H "X-Api-Key: $KEY" "https://www.steamwebapi.com/steam/api/inventory?steam_id=76561198000000000&game=cs2"
# PHP
$client = \Symfony\Component\HttpClient\HttpClient::create();
$res = $client->request('GET', 'https://www.steamwebapi.com/steam/api/inventory?steam_id=76561198000000000&game=cs2', ['headers' => ['X-Api-Key' => $KEY]]);
$data = $res->toArray();
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/inventory?steam_id=76561198000000000&game=cs2`, { headers: { 'X-Api-Key': KEY } });
const data = await r.json();

Om detta API

Att hämta Steam-inventories naivt slutar i 429 inom några minuter. Steam Inventory API:t sköter det tunga arbetet: buffring av förfrågningar, intelligent cache, retries, svarsnormalisering.

Steam Inventory API — Vanliga frågor

Vad är Steamwebapi och vilka data tillhandahåller plattformen?

Steamwebapi är en oberoende plattform som tillhandahåller normaliserade inventory-, marknads-, profil- och CS2-data för produktionsintegrationer.

Vilka Steam-spel och API-endpoints stöds?

Konfigurerade spel inkluderar CS2, Dota 2, Rust och TF2; aktuell täckning finns i dokumentationen.

Hur snabbt kan jag integrera API:t och var finns exempel?

Skapa en nyckel, välj endpoint och kopiera autentiserat exempel från dokumentation, förhandsvisning eller GitHub.

Börja med Steam Inventory API

En nyckel för alla Steam-endpoints.

Operational proof

The leading Steam data platform for production applications.

Established in 2018 and trusted by developers, marketplaces and trading platforms.

10,094 registered developer accounts
8 supported games
166,018 marketable items
14 active marketplaces
47,321,725 active listings
2018 operating since
Used across the Steam ecosystem Skinpull Esportfire Eliteskins RentSkins Botchicken
Direct support

Cannot find the right endpoint, data source or plan?

Tell the Steamwebapi team what you are building. A short sentence is enough — we will help you identify the right product and the simplest way to integrate it.

S
Steamwebapi team Product and integration support
Hi — what are you building, and what could you not find? Send us the question exactly as you have it.
Opens our existing live support chat.