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

ChemSpiPyRateError: Too Many Requests; #26

Open
areyesromero opened this issue Dec 20, 2021 · 2 comments
Open

ChemSpiPyRateError: Too Many Requests; #26

areyesromero opened this issue Dec 20, 2021 · 2 comments

Comments

@areyesromero
Copy link

Dear all,

After looping from my list of queries (45 in total), I repeated with more and got this error:

from chemspipy import ChemSpider
cs = ChemSpider('my_api_key')
c = cs.get_compound(2157)
print(c.molecular_weight)


ChemSpiPyRateError: Too Many Requests;

Any clue? looks like I reached the limit for my searches.
Bests

@jiro0000
Copy link

me too

@irishevia
Copy link

irishevia commented Feb 7, 2023

The Compounds v1 API is limited to 1000 searches, then it gives that error. If you get a new ChemSpider API key it should work for the next 1000 requests.

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

3 participants