logo
Basis-URL
https://api.steamapihub.com
OpenAPI (JSON)
← Dokumentation

Steam Inventar API

Jedes öffentliche Steam-Inventar als JSON abrufen, inklusive Artikelpreisen. Für CS2, Dota 2, TF2 und alle anderen Spiele, mit Paginierung und 40+ Währungen.

Some items may be invisible but the count is still respected. For example if count = 75 and inventory has 20 invisible items the endpoint will return only 55 items. Read on why valve made this change here: https://steamcommunity.com/app/730/discussions/0/4354491980298970853/
Parameter
appId
*
string
steamId
*
string
apiKey
*
string
count
string
Min - 75, Max - 2000. Default - 75
startAssetId
string
Used for pagination
currency
enum
Default - USD. Used for price details of inventory items
raw
string
If present, returns the inventory JSON as-is from Steam without parsing.
Antworten
Code
Beschreibung
200
interface Response {
  status: "OK";
  hasMoreItems: boolean;
  lastAssetId: string | null;
  data: {
    assetId: string;
    marketHashName: string;
    appId: string;
    isMarketable: boolean;
    isTradable: boolean;
    classId: string;
    instanceId: string;
    nameColor?: string;
    iconUrl?: string;
    inspectLink?: string;
    lowestSellOrder?: number;
    highestBuyOrder?: number;
    itemNameId?: string;
    itemType: "NORMAL_CARD" | "FOIL_CARD" | "OTHER";
    amount: number;
  }[];
  totalInventoryCount: number;
  hiddenItemsOnPage: number;
  visibleItemsOnPage: number;
}
403
interface Response {
  status: "FORBIDDEN";
  error: "Inventory is private";
  data: null;
}
404
interface Response {
  status: "NOT_FOUND";
  error: "Steam ID not found";
  data: null;
}