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?

Best Answer

  • @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.