For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

check hostnmae's information.

CIAM Clientid, hostname, password, and user are required inputs during authentication for price linkage. We ask you to check hostnmae's information.


1686117675907.png

#technologywebsocketsciam
1686117675907.png (126.5 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.

1 Answer

· Write an Answer
Upvote
Accepted
25.7k 58 17 14

Hello @kibeom

Thank you for contacting us.

Do you mean you want the RTO WebSocket Examples to check the hostname as the required parameter, or do you want how to get the hostname information?

If you want the list of RTO WebSocket endpoints, you can perform the following steps:

Firstly, log in to RDP using CIAM account to

the http://api.refinitiv.com/auth/oauth2/v2/token endpoint

curl  -X POST \
  'https://api.refinitiv.com/auth/oauth2/v2/token' \
  --header 'Accept: */*' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'client_id={client_id}' \
  --data-urlencode 'client_secret={client_secret}' \
  --data-urlencode 'scope=trapi' \
  --data-urlencode 'grant_type=client_credentials'

Then you get the access token information, please use that access token in the next command to get list of the RTO endpoints

curl  -X GET \
  'https://api.refinitiv.com/streaming/pricing/v1/?transport=websocket' \
  --header 'Accept: */*' \
  --header 'Authorization: Bearer <access token>'
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.