且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google API速率限制

更新时间:2022-10-15 09:06:44

Google会检查您的IP地址并将其***如果您在一段时间内请求太多。



如果您打算在短时间内向Google提出多项请求,他们通常会根据您的IP通过验证码赢取和阻止您。



因此,您可以访问多个IP来执行您正在执行的操作,或者更好地抑制您的请求,以免碰到它们。


Google limits the actual API calls one can make to their servers. I know for a fact that this rate is dynamic i.e. they determine dynamically what number of requests after which the server should start blocking requests.

I have 2 questions -

  1. How does Google do it? i.e. dynamically figure out (maybe based on the load/bandwidth usage) the limit rate.
  2. how can I optimally fire requests to their API's without getting blocked.

thanks.

Google checks your IP address and blocks it if you have too many requests in some amount of time.

If you're planning on having many requests to Google in a short amount of time, they'll usually win and block you with a captcha based on your IP.

So you can either get access to multiple IPs to do what you're doing, or better yet throttle your requests so you don't run afoul of them.