twelvedata / twelvedata-python

Twelve Data Python Client - Financial data API & WebSocket
https://twelvedata.com
MIT License
392 stars 57 forks source link

[Bug] Batch request error: TwelveDataError: You have reached the API calls limit. #10

Closed Seroplex closed 4 years ago

Seroplex commented 4 years ago

Requesting 37 stocks traded on the US exchanges returns the error: TwelveDataError: You have reached the API calls limit.

The API states that you can request up to 120 symbols per call using Batch request.

"current_usage" in API Usage shows 37 after my request. It should count as 1.

td

midasSSS commented 4 years ago

When you make a batch request each symbol passed is counted as 1 request, it is stated in the API Documentation. The default limit for free users is 12 requests per minute, if you need a larger volume, consider becoming a Prime member.