Error code 429| Client error: Too many requests, please try again later. Wait for XXXXX seconds. How

Best Answer

  • @marketintelligence Please see details on API limits here. In short:

    • Requests per second - The number of requests sent to the platform via the Eikon Data APIs cannot exceed this limit. This number of requests is counted across all client applications connected to the same Eikon instance. For example if 4 applications connected to the same Eikon send 1 request per second, the throttling mechanism will consider an aggregated rate of 4 requests per seconds.The current limit value (10-Oct-2019) is 5 requests per second.

    You will need to introduce a pause so for example you can use the following in between API calls - single threaded only.

    import time
    for ric in instruments:
         ek.get_timeseries(...)
         time.sleep(0.3)