DEV Community

Joey de Vries
Joey de Vries

Posted on

My Steam market pricing API

If you don't know, the gaming platform Steam has a complete economy. This include trading, selling, buying and collecting. At some random moment I decided to buy some cases(lootboxes) for CS;GO. The only downside was is that my inventory was one big chaos. So I decided to tidy it up into Storage Boxes. Sadly I could not track the amount of items nor the value. So I started my spreadsheet.

Storage boxes spreadsheet

As you see now, I have prices. But at that point I needed to find a away to get the item price. So I got to work with a Google App Script extension for my method.

Custom Steam spreadsheet function

This worked fine, and the temporarily solution I wrote this with also worked good. But I wanted more and something that I owe. So I re-coded my portfolio (check it here) and implemented a simple system to store Steam Items. And I made it 🎉🎊🥳.

Image description

Now that I could see what markets were being tracked and I could query on, I needed to test out a list of all the items😁 So...
GET /steam/730/items

Image description

For now I will improve some imperfections and changes I want to make. For example add a price history and make it public via RapidAPI(https://rapidapi.com/user/xJoeyv). Also I would love to improve my response type.

It was a cool journey to scrape steam market items and I learned quite a bit. And managed to scrape a lot of pages and 18K items within 1:30.

Top comments (1)

Collapse
 
digitaltimde profile image
Digitaltim | Burhan

You can try www.steamwebapi.com its handle it for you :)