Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the rate limit for the API? #523

Closed
bluefinch83 opened this issue Jul 14, 2022 · 5 comments
Closed

What's the rate limit for the API? #523

bluefinch83 opened this issue Jul 14, 2022 · 5 comments

Comments

@bluefinch83
Copy link

Does anyone know what the rate limit is for this api? I thought it was 100 queries per 100 seconds, according to this documentation https://developers.google.com/analytics/devguides/reporting/mcf/v3/limits-quotas . So, whenever I get a 429 error, I try waiting 100 seconds and then send another 80-100 queries. However, sometimes, it keeps returning a 429, even after I wait several minutes. Is there a daily limit as well? If so, how can one get around that?

@stergioa
Copy link

I have the exact same problem...

@fabiorangel
Copy link

This rate limit if set for official APIs. Pytrends API is non official, which means it is limited by google understanding that your requests might be a scrapper. So, you should have a list of proxies to iterate and try to bypass the google scrapping security.

@jorgecabrejas7
Copy link

jorgecabrejas7 commented Oct 7, 2022

What proxies do you reccomend for that task and how to find them?

@lr2bmail
Copy link

What proxies do you reccomend for that task and how to find them?

$1 vps + https://github.com/serverok/squid-proxy-installer = 1 proxy

emlazzarin added a commit that referenced this issue Dec 26, 2022
Fix 429 errors (Fixes #354, #413, #492, #523, #535, #538) and fix pandas `frame.append` deprecation warning (Fixes #525)
@emlazzarin
Copy link
Collaborator

Fixed by #553.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants