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 0 0 2

Refinitiv Workspace and Python Eikon API: Error code -1 | Port number was not identified.

I'm running the latest version of Refinitiv Workspace on Windows 10. I've created an Eikon API app key. I attempt to use python to access the Eikon API (which Workspace is running) and I get the following error when running "ek.set_app_key('i put my app key here')":

EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.


Can you please advise on how to resolve? Is the Eikon API Proxy integrated into Workspace? If so, do I need to start it or should it start automatically? If not, how may I access the Eikon API using python?

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.

Hello @stephen.yang01

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


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

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

@stephen.yang01

Eikon API Proxy is integrated into Refinitiv Workspace. Eikon Data APIs have runtime dependency on Eikon desktop or Refinitiv Workspace application running on the same machine. You do need to launch Refinitiv Workspace prior to using Eikon Data APIs, it will not start automatically.

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.