Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 2

Error code 429 | Client Error: Too many requests, please try again later.

Good morning Team,

Hope you are doing well.


This morning our daily import has been stopped with the following warning: "Error code 429 | Client Error: Too many requests, please try again later. Wait for 52605 seconds.". The waiting time is quite significant since we are not able to make a simple request during the whole day.

In order to avoid this situation, could you please provide a little bit more information about the existing limits (daily, monthly,..) and the number of requests we are allowed to make.

Moreover, do you know which one has been breached in our case?


Many thanks for your assistance,

Jo

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
10.2k 18 6 9

@joan.serfaty You can find out detailed information on our API limits here. Please see the call based limits and also the daly limits. You are receiving a 429 error because you have breached daily limits. The wait period is enforced on the server side.

You could have breached either of the following:

  • Requests per day - The number of requests sent to the platform per day 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.The current limit value (10-Oct-2019) is 10,000 requests per day.
  • Response volume per day - The volume (size) of data retrieved from the platform per day cannot exceed this limit. This volume of data is counted across all client applications connected to the same Eikon instance.The current limit value (10-Oct-2019) is 5 GB per day.

The request per day limit of 10,000 API calls in total can be hit if for example you are using API calls in loops. In particular - our get_news_story API call only allows 1 news story to be retrieved at a time and if you are looking at news it is very easy to fall foul of daily limit breaches if you are looping across large news headlines frames. Another way to watch for is looping API calls over large numbers of RICs one at a time. You can implement batches of RICs to reduce the number of API calls but you need to be aware of per API call limits - which are detailed in the link above.

If you find you regularly need more data than this - please consider one of our bulk data feeds which will be more suitable for you. Your account team can assist with this. I hope this can help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 2

@jason.ramchandani Thanks a lot for all the details provided. Last questions, do you know when the requests counter is reinitiated? (is it 10k requests from midnight to midnight).

Is there any way to know the result of this request counter (by accessing the log for example)

Many thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
10.2k 18 6 9

@joan.serfaty yes I believe it is just reset at midnight GMT. I don't know of a way of checking the request counter other than when the 429 error is posted. I hope this can help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.