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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea