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

Steam API Dokumentation

Parameter
apiKey
*
string
count
string
Count per page. Default: 1000. Max: 1000
start
string
Pagination start. Default: 0
currency
enum
Currency like USD, EUR, etc. Default: USD
Antworten
Code
Beschreibung
200
interface Response {
  status: "OK";
  data: {
    appId: number;
    normal: {
      minPrice: number | null;
      maxPrice: number | null;
      avgPrice: number | null;
      latestPrice: number | null;
      medianPrice: number | null;
      name: string;
      marketHashName: string;
      itemNameId: string;
      imageUrl: string | null;
      updatedAt: string;
      type: string;
      histogram: {
        lowestSellOrder: number | null;
        highestBuyOrder: number | null;
        buyOrderCount: number;
        sellOrderCount: number;
      };
    }[];
    foil: {
      minPrice: number | null;
      maxPrice: number | null;
      avgPrice: number | null;
      latestPrice: number | null;
      medianPrice: number | null;
      name: string;
      marketHashName: string;
      itemNameId: string;
      imageUrl: string | null;
      updatedAt: string;
      type: string;
      histogram: {
        lowestSellOrder: number | null;
        highestBuyOrder: number | null;
        buyOrderCount: number;
        sellOrderCount: number;
      };
    }[];
  }[];
  start: number;
  count: number;
  totalCount: number;
}

Get all market items for given appId. Default currency is USD
Parameter
appId
*
string
apiKey
*
string
count
string
Count per page. Default: 25000. Max: 25000
start
string
Pagination start. Default: 0
currency
enum
Currency like USD, EUR, etc. Default: USD
Antworten
Code
Beschreibung
200
interface Response {
  status: "OK";
  data: {
    marketHashName: string;
    itemNameId: string;
    image: string | null;
    appId: string;
    type: string | null;
    prices: {
      unstableReason?:
        | "LOW_SALES_3PLUS_MONTHS"
        | "LOW_SALES_MONTH"
        | "LOW_SALES_OVERALL"
        | "LOW_SALES_WEEK"
        | "NO_SALES_3PLUS_MONTHS";
      unstable: boolean | null;
      sold: {
        avgDailyVolume: number | null;
        last90d: number | null;
        last30d: number | null;
        last7d: number | null;
        last24h: number | null;
      };
      median: number | null;
      max: number | null;
      avg: number | null;
      min: number | null;
      latest: number | null;
      trend: {
        last24h: number | null;
        last48h: number | null;
        last7d: number | null;
        last30d: number | null;
        last60d: number | null;
        last90d: number | null;
      };
    };
    histogram: {
      lowestSellOrder: number | null;
      highestBuyOrder: number | null;
      buyOrderCount: number;
      sellOrderCount: number;
    };
    updatedAt: string;
  }[];
  start: number;
  count: number;
  totalCount: number;
}

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;
}

Parameter
steamId
*
string
apiKey
*
string
Antworten
Code
Beschreibung
200
interface Response {
  isEconomyBanned: boolean;
  numberOfGameBans: number;
  profileUrl: string;
  realname: string;
  isProfileHidden: boolean;
  name: string;
  onlineState: "offline" | "online" | "busy" | "away" | "snooze" | "looking-to-trade" | "looking-to-play" | "in-game";
  numberOfVacBans: number;
  memberSince: string;
  steamId: string;
  avatarHash: string;
  daysSinceLastBan: number;
  isLimited: boolean;
  summary: string;
  customURL: string;
  isCommunityBanned: boolean;
  isVacBanned: boolean;
  location: string;
  playerLvl: number;
  tradeBanState: "None" | "Probation" | "Banned";
  games: {
    appId: number;
    playtimeForever: number;
  }[];
  privacyState: "private" | "friendsonly" | "public" | "uncreated";
  stateMessage: string;
}

Get one items for given appId (Only 730 supported for now). Supported Market Places are BITSKINS, SKINPORT, SKINBARON, MARKETCSGO, CSFLOAT, DMARKET, WHITEMARKET, CSGOEMPIRE, WAXPEER, HALOSKINS, TRADEIT. Most of the time all prices should not be older than 5 minutes.
Parameter
marketHashName
*
string
appId
*
string
apiKey
*
string
Antworten
Code
Beschreibung
200
interface Response {
  status: "OK";
  data: {
    name: string;
    prices: {
      /**
       * Key is one of the market places (BUFF163, BITSKINS etc.)
       */
      [k: string]: {
        sellOrder: {
          original: {
            price: number;
            currency: string;
          };
          converted: {
            price: number;
            currency: string;
          };
          count: number;
        };
        buyOrder?: {
          original: {
            price: number;
            currency: string;
          };
          converted: {
            price: number;
            currency: string;
          };
          count: number;
        };
        updatedAt: string;
      };
    };
  };
}

Get all items for given appId (Only 730 supported for now). Supported Market Places are BITSKINS, SKINPORT, SKINBARON, MARKETCSGO, CSFLOAT, DMARKET, WHITEMARKET, CSGOEMPIRE, WAXPEER, HALOSKINS, TRADEIT. Most of the time all prices should not be older than 5 minutes.
Parameter
appId
*
string
apiKey
*
string
marketPlace
enum
Filter by market place
Antworten
Code
Beschreibung
200
interface Response {
  status: "OK";
  data: {
    /**
     * marketHashName (e.g. "AWP | Redline (Field-Tested)")
     */
    [k: string]: {
      /**
       * market place ("BUFF163", "BITSKINS" etc.)
       */
      [k: string]: {
        sellOrder: {
          original: {
            price: number;
            currency: string;
          };
          converted: {
            price: number;
            currency: string;
          };
          count: number;
        };
        buyOrder?: {
          original: {
            price: number;
            currency: string;
          };
          converted: {
            price: number;
            currency: string;
          };
          count: number;
        };
        updatedAt: string;
      };
    };
  };
}