Market

Items

Endpoint

This endpoint fetches details for all monitored items in our database that belong to the specified application. If the item has no sales history its shown prices will be 0.

GET   /market/items/{ AppID }?api_key={ YourSecretAPIKey }

Required parameters

AppID
number
Identifier of the application which item you want to fetch.
YourSecretAPIKey
string
A unique identifier that allows developers to access the Steam Web API.

Optional query parameters

format
object
Sets the value to whether or not to return the safe prices only in a name => price format.
Values
null   compact (Default: null)
compact_value
string
Changes the return values for items when using format=compact parameter format=compact parameter.
Values
latest   min   avg   max   mean   safe   safe_ts.last_24h   safe_ts.last_7d   safe_ts.last_30d   safe_ts.last_90d   unstable   unstable_reason (Default: safe)

Unstable reasons

A reason is added to an item if it has parameter unstable set to true. Otherwise it's false.

PrefixAffixesDescription
NO_SALES_{AFFIX}WEEK   MONTH   3PLUS_MONTHS   OVERALLThis reason is added when the item doesn't have sales for the marked timeline.
LOW_SALES_{AFFIX}WEEK   MONTH   3PLUS_MONTHS   OVERALLThis reason is added when the item has low amount of sales for the marked timeline.

Response example

Example output for this endpoint. For brevity's sake, some objects and arrays were omitted.

response.json
{
  "appID": 730,
  "data": [
    {
      "updated_at": 1611472110000,
      "prices": {
        "first_seen": 1378162800000,
        "unstable_reason": "LOW_SALES_MONTH",
        "unstable": true,
        "sold": {
          "avg_daily_volume": 1,
          "last_90d": 131,
          "last_30d": 38,
          "last_7d": 11,
          "last_24h": 2
        },
        "safe_ts": {
          "last_90d": 91.56,
          "last_30d": 99.75,
          "last_7d": 105.37,
          "last_24h": 106.12
        },
        "safe": 91.56,
        "median": 90.186,
        "mean": 91.49,
        "max": 120.42,
        "avg": 91.56,
        "min": 62.01,
        "latest": 116.66
      },
      "image": "https://community.cloudflare.steamstatic.com/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJf1f_BYQJR_OO7kZODqOP1PYTdn2xZ_Isi3LjCrdijiVfjqRA5ZmjxcoGVdQFqN1CC8gPqx-y71J6_tMibnHA2pGB8svKTj7ri",
      "border_color": "#8650AC",
      "market_hash_name": "★ Flip Knife | Safari Mesh (Minimal Wear)",
      "market_name": "★ Flip Knife | Safari Mesh (Minimal Wear)",
      "nameID": "1358786"
    },
  ]
}

Example output when using the following query parameter: ?format=compact. Items that don't have a safe value or no recorded sales history in our database will have a null value.

response.json
{
  "XM1014 | Blue Spruce (Field-Tested)": 0.03,
  "Glock-18 | Weasel (Battle-Scarred)": 0.79,
  "PP-Bizon | Photic Zone (Minimal Wear)": 0.15,
  "SSG 08 | Ghost Crusader (Field-Tested)": 0.43,
  "UMP-45 | Gunsmoke (Well-Worn)": 0.03,
}