Market

Items

Get market data for all monitored items in a Steam application including prices and sales volume.

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)

Response fields

FieldTypeDescription
appIDnumberThe Steam application ID
dataarrayArray of item objects

Item object

FieldTypeDescription
market_hash_namestringURL-safe market hash name
market_namestringDisplay name of the item
nameIDstringUnique market name identifier
imagestringURL to the item image
border_colorstringHex color code for item border
pricesobjectPricing and sales data object
updated_atnumberTimestamp of when the data was last updated (Unix milliseconds)

Prices object

FieldTypeDescription
latestnumberMost recent sale price in USD
minnumberMinimum sale price in USD
maxnumberMaximum sale price in USD
avgnumberAverage sale price in USD
meannumberMean sale price in USD
mediannumberMedian sale price in USD
safenumberSafe price (90-day average) in USD
safe_tsobjectTime-series safe prices object
soldobjectSales volume data object
unstablebooleanWhether the item pricing is considered unstable
unstable_reasonstringReason for instability (if unstable is true)
first_seennumberTimestamp when item was first tracked (Unix milliseconds)

Safe time-series object

FieldTypeDescription
last_24hnumberSafe price based on last 24 hours
last_7dnumberSafe price based on last 7 days
last_30dnumberSafe price based on last 30 days
last_90dnumberSafe price based on last 90 days

Sold object

FieldTypeDescription
last_24hnumberNumber of sales in last 24 hours
last_7dnumberNumber of sales in last 7 days
last_30dnumberNumber of sales in last 30 days
last_90dnumberNumber of sales in last 90 days
avg_daily_volumenumberAverage daily sales volume

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