woctezuma / steam-market

Find arbitrages on the Steam Market.
MIT License
161 stars 18 forks source link

New rate-limits for itemordershistogram? #27

Closed woctezuma closed 2 years ago

woctezuma commented 2 years ago

There is a recent issue with rate-limits on the Steam Market.

Rate-limits

Error

Market

sueskind commented 1 year ago

As said in the posted screenshot, there is very little discussion about this rate limit increase, but it seems like you found a workaround.

Can you tell me how you got around this limit? Is this limit (10 requests/h) the same when being logged in/out?

woctezuma commented 1 year ago

I have not run the script in a while, so I cannot say for sure what works nowadays. However, by looking at the history of this issue, keeping the cookies updated, especially the sessionid value, should be sufficient.

sueskind commented 1 year ago

Thanks for the reply, it seems that the limits are as follows:

When logged out:

When logged in:

The rate limit seems to be a longer "cooldown" than 1h in both cases.

It looks like a tradeoff they came up with at Valve to limit scraping but not interfere too much with normal usage.

Edit: The limit seems to be 10 requests per 2 hours when being logged in.

woctezuma commented 1 year ago

Thank you! That is interesting!

Public information about rate limits are hard to find, so it is nice to read about the results of your experiments! ❤️