SKA Posted May 19 Report Posted May 19 (edited) The new Steam Community Market (SCM) uses queries to fetch EconItem data. For example, if I access the page for Sealed Dead Hand Terminal in CS2 (appid 730), I can see that the following queryData was used: [ { state: { data: { has_wallet: true, user_country_code: "DE", wallet_country_code: "DE", wallet_state: "", balance: "XX", delayed_balance: "0", currency_code: 3, time_most_recent_txn: 1771355122, most_recent_txnid: "95599083520", has_wallet_in_other_regions: false, other_regions: [], formatted_balance: "XXX€", formatted_delayed_balance: "0,00€", }, dataUpdateCount: 1, dataUpdatedAt: 1778690244631, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["CurrentUserWalletDetails", 1792357676], queryHash: '["CurrentUserWalletDetails",1792357676]', }, { state: { data: { property_schemas: [ { id: 1, name: "#attr_set_item_texture_seed", type: 2, int_min: "0", int_max: "1000", localized_label: "Pattern Template", hide_from_description: false, }, { id: 2, name: "#attr_set_item_texture_wear", type: 1, float_min: 0, float_max: 1, localized_label: "Wear Rating", hide_from_description: false, }, { id: 3, name: "#attr_keychain_slot_seed", type: 2, int_min: "0", int_max: "100000", localized_label: "Charm Template", hide_from_description: false, }, { id: 4, name: "#attr_sticker_slot_wear", type: 1, float_min: 0, float_max: 1, localized_label: "Sticker Scrape Level", hide_from_description: false, }, { id: 5, name: "#attr_custom_name_attr", type: 3, localized_label: "Name Tag", hide_from_description: false, }, { id: 6, name: "#attr_econ_action_preview", type: 3, localized_label: "Item Certificate", hide_from_description: true, }, { id: 7, name: "#attr_set_item_texture_prefab", type: 2, int_min: "0", int_max: "1000", localized_label: "Finish Catalog", hide_from_description: false, }, ], }, dataUpdateCount: 2, dataUpdatedAt: 1778690244646, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["AssetPropertySchema", 730, "english"], queryHash: '["AssetPropertySchema",730,"english"]', }, { state: { data: { item_type: 0, id: 730, success: 1, visible: true, name: "Counter-Strike 2", store_url_path: "app/730/CounterStrike_2", appid: 730, type: 0, included_types: [], included_appids: [], is_free: true, content_descriptorids: [2, 5], categories: { supported_player_categoryids: [1, 27], feature_categoryids: [29, 30, 35, 64, 66, 67, 68, 69, 70, 74, 8, 15, 41, 42, 43, 63], controller_categoryids: [], }, }, dataUpdateCount: 1, dataUpdatedAt: 1778690244650, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["StoreItem", "app_730", "default_info"], queryHash: '["StoreItem","app_730","default_info"]', }, { state: { data: { asset_url_format: "steam/apps/730/?t=1749053861", main_capsule: "capsule_616x353.jpg", small_capsule: "capsule_231x87.jpg", header: "header.jpg", page_background: "page_bg_generated_v6b.jpg", hero_capsule: "hero_capsule.jpg", library_capsule: "library_600x900.jpg", library_capsule_2x: "library_600x900_2x.jpg", library_hero: "library_hero.jpg", library_hero_2x: "library_hero_2x.jpg", community_icon: "8dbc71957312bbd3baea65848b545be9eae2a355", page_background_path: "app/730?t=1749053861", raw_page_background: "page_bg_raw.jpg", }, dataUpdateCount: 1, dataUpdatedAt: 1778690244650, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["StoreItem", "app_730", "include_assets"], queryHash: '["StoreItem","app_730","include_assets"]', }, { state: { data: { _t: 10, v: [ [ 1, { id: 1, name: "#attr_set_item_texture_seed", type: 2, int_min: "0", int_max: "1000", localized_label: "Pattern Template", hide_from_description: false, }, ], [ 2, { id: 2, name: "#attr_set_item_texture_wear", type: 1, float_min: 0, float_max: 1, localized_label: "Wear Rating", hide_from_description: false, }, ], [ 3, { id: 3, name: "#attr_keychain_slot_seed", type: 2, int_min: "0", int_max: "100000", localized_label: "Charm Template", hide_from_description: false, }, ], [ 4, { id: 4, name: "#attr_sticker_slot_wear", type: 1, float_min: 0, float_max: 1, localized_label: "Sticker Scrape Level", hide_from_description: false, }, ], [ 5, { id: 5, name: "#attr_custom_name_attr", type: 3, localized_label: "Name Tag", hide_from_description: false, }, ], [ 6, { id: 6, name: "#attr_econ_action_preview", type: 3, localized_label: "Item Certificate", hide_from_description: true, }, ], [ 7, { id: 7, name: "#attr_set_item_texture_prefab", type: 2, int_min: "0", int_max: "1000", localized_label: "Finish Catalog", hide_from_description: false, }, ], ], }, dataUpdateCount: 1, dataUpdatedAt: 1778690244646, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["AssetPropertySchemaMap", 730, "english"], queryHash: '["AssetPropertySchemaMap",730,"english"]', }, { state: { data: { ecurrency: 3, prices: [], }, dataUpdateCount: 1, dataUpdatedAt: 1778690244660, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["market", "pricehistory", 730, "Sealed Dead Hand Terminal"], queryHash: '["market","pricehistory",730,"Sealed Dead Hand Terminal"]', }, { state: { data: { amtMaxBuyOrder: 191, amtMinSellOrder: 192, eCurrency: 3, cBuyOrders: 1543776, cSellOrders: 145826, rgCompactBuyOrders: [], rgCompactSellOrders: [], }, dataUpdateCount: 1, dataUpdatedAt: 1778690244659, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["market", "orderbook", 730, "Sealed Dead Hand Terminal"], queryHash: '["market","orderbook",730,"Sealed Dead Hand Terminal"]', }, { state: { data: { version: 1, preference_state: 1, utm_enabled: true, }, dataUpdateCount: 1, dataUpdatedAt: 1778690244665, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: "success", fetchStatus: "idle", }, queryKey: ["CookiePreferences"], queryHash: '["CookiePreferences"]', }, ] Does anyone know how I can query this new API endpoint myself? Previously, if I wanted to get the price history of an item, I would use this endpoint which returns only the pricehistory: https://steamcommunity.com/market/pricehistory?market_hash_name=Sealed%20Dead%20Hand%20Terminal&appid=730 How can I achieve the same result using the new endpoints? Edited May 19 by SKA Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.