How long API key valid?

Hi,

From matlab, i call the Eikon Data API to pull the data by using python. I am using "set_app_key" function in my code to identify Refinitive Platform befor using "get_data" function. I presume an Eikon user doesn't need to send the API code every time they pull data. I did it multiple times by calling just the "get_data" line without going through the API key line AFTER I send the API key once.

i) Does this mean that if one sends 1 API request, one can send another one, say, 1 hour later without a key?

ii) How does Eikon know how long to keep the connection open after receiving 1 API key message?

Thank You,

Priya

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @priyanka,

    Does not expire, as long as your local Eikon instance is running and logged in, it will serve as Eikon proxy and support communication on behalf of Eikon Data API python session.