Steam Market API?

I know that there is a Steam API that allows me to use data from the Steam community.
My question is: does anyone know if there is a Steam API?
For example, I want to get the current price of an item on the Steam Market.

I googled and haven't found anything yet. I would be happy to assist you.

+5
source share
4 answers

I could not find any documentation, but I use:

http://steamcommunity.com/market/priceoverview/?appid=730&currency=3&market_hash_name=StatTrak%E2%84%A2 M4A1-S | Hyper Beast (Minimal Wear) 

to return JSON. At time of writing, it returns:

 {"success":true,"lowest_price":"261,35€ ","volume":"11","median_price":"269,52€ "} 

You can change the currency. 1 - US dollar, 3 euros, but probably others.

+11
source

To add to what other people have said, a temporary ban on the JSON site occurs if you try to request 20 items in a minute from the server. If you are creating a script to request these links, add a three second delay between each script. In addition, the ban lasts only for the remaining minute on the server side (this may not be 60 seconds).

+2
source

There is currently no such API. But this link can help you: Get the price of a product in the Steam community market using PHP and Regex. This is basically what you want with pure php DOM analysis instead of API. The main drawback is that you may have to change your code if Steam updates their html markup.

+1
source

You can use SteamApis.com to purchase paired market prices and details information. Data is returned in JSON. The service is not free, but also not so expensive.

Documentation is available for viewing here. It contains detailed information about which endpoints are available and what data is returned.

0
source

Source: https://habr.com/ru/post/1203906/


All Articles