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
5 0 1 4

Are there any limits when downloading data using Eikon API

Hi,

I am trying to download ESG data using Eikon API.


I find that I can download the data successfully when I restrict the sample using the following code,

data3, err = ek.get_data("SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeCountryCode,""US""),TR.TRESGScore(Period=FY0)>=0,CURN=USD)"

,["TR.CUSIP"])

The number of observations is 3553. I restrict the sample firms with ESG scores only.


But when I relax the restrictions using the following code,

data3, err = ek.get_data("SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeCountryCode,""US""),CURN=USD)"

,["TR.CUSIP"])

The number of observations is 13452.


I get the error information:

rror code 413 | Client Error: {"code":413,"message":"request entity too large","stack":"PayloadTooLargeError: request entity too large\n at readStream

So, are there any limits for eikon API? What is the limit?


Thanks,

eikon-data-apipython#technologyscreener
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.

Hello @c.xue

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@c.xue

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
14.1k 30 5 10

Hi @c.xue ,

Thanks for your question. Please be aware of the data limits of the APIs by looking at the Eikon Data API Usage and Limits Guideline. You can try chunking the list into smaller pieces and presenting each chunk to the API.

Please let me know in case you have any further questions.

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.