Jump to content


Photo
Question

Rate limit on steamcommunity.com



  • Please log in to reply
10 replies to this topic

#1 lukasio

lukasio

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 09 December 2016 - 03:59 PM

Hello,

 

I was under the impression that the rate limit for requests to steamcommunity.com (for example to fetch someone's inventory) was about 20 per minute per ip.

However, today I already start getting http 429 errors after just 4 requests (10 seconds between each request).

I also noticed that multiple csgo related website are having issues today, so I was wondering if steam lowered the rate limit or if it's just a temporary thing due to steam having server issues.

 

Also, is there a way to fetch user inventories other than using http://steamcommunit...ory/json/730/2/, that is less prone to steam server issues or rate limits.

 

Thanks in advance.

 

 



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,070 posts

Posted 09 December 2016 - 06:58 PM

Nobody knows what goes on at Valve, but the rate-limit for inventories was made much more strict yesterday. Nobody knows if it will change again in the future.



#3 lukasio

lukasio

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 09 December 2016 - 07:22 PM

Thanks for the response. It seems like the Valve changed something again. Since about an hour you can do some decent amount of requests again, only if you provide login cookies. Without I'm still getting blocked after 3 requests.

Was it always like that that when you provided login cookies you could do more requests than without?



#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,070 posts

Posted 09 December 2016 - 09:22 PM

I don't know, but it makes sense to me. Are you requesting your own inventory while logged in, or others'?



#5 lukasio

lukasio

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 10 December 2016 - 07:14 AM

It doesn't seem to matter if you request your own inventory while logged in or other's, which makes sense.

Best solution for now is propably to run a bot solely for the purpose of generating login cookies, and letting php or whatever use those cookies to fetch inventories.


Edited by lukasio, 10 December 2016 - 07:15 AM.


#6 Thirtieth

Thirtieth

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 10 December 2016 - 07:50 AM

1 day ago got a problem: even 5 request per 2 minutes throws 429 error for  http://steamcommunit.../inventory/json url.

 

Had a try with referer, cookies from main steamcommunity.com page and etc. Nothing helps. Anyone knows solution?



#7 Robinlemon

Robinlemon

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 10 December 2016 - 08:29 AM

Ask a Steam mod for access to the new Steam API, it's been out for three years but you need to be registered! 



#8 lukasio

lukasio

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 10 December 2016 - 08:32 AM

It seems everyone had that problem, but since about 12h if you provide login cookies you can do a decent amount of requests again.

You only need to provide steamLogin and steamLoginSecure as cookies in the header. You don't seem to need to provide any other header data like referer.



#9 Thirtieth

Thirtieth

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 10 December 2016 - 02:52 PM

It seems everyone had that problem, but since about 12h if you provide login cookies you can do a decent amount of requests again.

You only need to provide steamLogin and steamLoginSecure as cookies in the header. You don't seem to need to provide any other header data like referer.

Well I gave it a shot but it look's like steam doesn't support my cookies or what. Could you give me please an example of yours (cURL example or smth)? I have these data, but it seems like I can't send it properly:(


Edited by Thirtieth, 10 December 2016 - 02:53 PM.


#10 lukasio

lukasio

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 10 December 2016 - 06:44 PM

Check what headers chrome sends when you view someones inventory then copy data as cURL and see if that works for you.



#11 Iwasawafag

Iwasawafag

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 22 December 2016 - 10:10 PM

Ask a Steam mod for access to the new Steam API, it's been out for three years but you need to be registered! 

 

What? There's some secret API methods that's becoming available simply by request? Where can I get more info?







Also tagged with one or more of these keywords: Question

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users