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 0

How to Get Access Token Through POST HTTP Request?

Hello Everyone,

I am trying to use Refinitiv API through HTTP request to get real-time data in my workflow, but I am stuck at the first step of getting access token. I am not sure what I should put in the URL field. I would really appreciate it if I can get any help or instruction from you, thank you!

1709166483691.png Also, if I use OAuth 2, can anyone please provide me some instructions regarding how to fill in these fields? Thank you! It's my first time to use API, so many things are a bit confusing to me, I would really appreciate your help!!1709166402109.png





#technologyapiwebsocketsrest-apicloud
1709166402109.png (53.2 KiB)
1709166483691.png (47.3 KiB)
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.

Upvotes
Accepted
80.3k 259 52 75

@shiqi.wang

Thank you for reaching out to us.

If the username is an email address, the setttings could look like this:

1709188399012.png

You also need to add the following values in the request.

1709188459906.png

The client_id contains an application key. To generate an application key, please refer to the QuickStart.


1709188399012.png (43.7 KiB)
1709188459906.png (20.4 KiB)
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.

The console output looks like this:

1709188710142.png

1709188710142.png (29.9 KiB)
Upvotes
25.2k 57 17 14

Hello @shiqi.wang

Beside the clear answer from my colleague, there are the following WebSocket API resources that might help you too:


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.