ChemSpiPy icon indicating copy to clipboard operation
ChemSpiPy copied to clipboard

ChemSpiPyRateError: Too Many Requests;

Open areyesromero opened this issue 4 years ago • 3 comments

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

areyesromero avatar Dec 20 '21 10:12 areyesromero

me too

jiro0000 avatar Jan 20 '22 00:01 jiro0000

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.

irishevia avatar Feb 07 '23 16:02 irishevia