Error 429 when pulling inventory data
Did steam throttle the number of requests you could make to a inventory request. I'm getting 429 (Too many requests) errors quite a bit
Yes, they've throttled it even more now.
There's a new endpoint for inventory requests now used on the /inventory/ page and it works slightly differently.
What is the new endpoint?
Go press F12 on http://steamcommunity.com/my/inventory/ and you'll see.
The new endpoint is also paginated, but for the count parameter you can go up as high as 5000, so assuming same rate-limits as before this will be sufficient to load a single inventory in most cases.
I looked at the source, I don't see any different way of obtaining a JSON format of the inventory
Valve has added a new endpoint for inventory requests and has rate-limited the old one further to 5 requests/min.
Old: http://steamcommunity.com/profiles/76561198045552709/inventory/json/730/2
New: http://steamcommunity.com/inventory/76561198045552709/570/2?l=english&count=5000
New with pagination: http://steamcommunity.com/inventory/76561198045552709/570/2?l=english&count=250&start_assetid=8244114748
count, used for pagination, can be a max of 5000.
Update: The new endpoint has the same new rate limit as the old endpoint, unless you are requesting your own inventory. Using proxies are almost a must at this point. I recommend Blazing SEO (affiliate link, non-affiliate link). I use them for lots of stuff and the speeds are pretty good.
Update: Valve seems to have relaxed the rate limit. To what exactly, I'm not sure. If someone can test and report it that would be helpful. People are reporting 20-30 but it could be higher.
The limit on the old endpoint (at least) is getting much worse. We should update to the new one.
I had the same and i found out. In addition to services like www.steamwebapi.com (free) and steamapis.com (paid), you can also explore the option of setting up your own proxy to access Steam's inventory. However, it's important to note that Steam has implemented restrictions on inventory access since 12/22, which impact the effectiveness of these solutions.