Get the price history of the Paris market

In terms of items on the Steam market, I was wondering if there is a way to get the price history of an item over a period of time.

I know that Steam provides a dedicated api for developers who want to integrate market specific data into their own sites, but I couldn't find anything about restoring price history for an item in json form.

Have any of you already done this?

+3


source to share


2 answers


I did some more research and found a way to get the price history for an item.

As an example for the curious, the price history of this random item "Specialized Killstreak Brass Beast" can be retrieved as follows:



http://steamcommunity.com/market/pricehistory/?country=DEΒ€cy=3&appid=440&market_hash_name=Specialized%20Killstreak%20Brass%20Beast

+6


source


If the call from code

url ="http://steamcommunity.com/market/pricehistory/"

      

and the payload of the query string:

{
    "country" = "US",      # two letter ISO country code
    "currency"= 1,       # 1 is USD, 3 is EUR, not sure what others are  
    "appid"   = 753,     # this is the application id.  753 is for steam cards  
    "market_hash_name"  ="322330-Shadows and Hexes" # this is the name of the item in the steam market.  
}

      



country code - ISO country code .

you can find the app id for the game at the url of your store page. Example: Application ID "CS: GO" is 730. Store page

You can find the hash market name by looking at your market page URL. Example: This CS: GO hash name element is "Key for Keys".

Price history for gloves key key here .

0


source







All Articles