question

Upvotes
Accepted

authentication of Lipper fund APIs

I would like to perform this call:
curl -X GET -H "Accept: applicaton/json" -H "Content-Type: application/json" -H "Authorization: '"$STS_TOKEN"'" "https://api.refinitiv.com/data/funds/v1/assets/40003333"


But I have to have a token first, right? How can I get this token?
I have tried this:
curl -v -X POST -H "content-type: application/x-www-form-urlencoded" -H "accept: application/json" -d 'grant_type=password&username=dev_marketdata%40edgelab.ch&password=xxx&scope=trapi&client_id=19475f40a01d407ea11f2fe2a210f4d50b881cb3' "https://api.refinitiv.com/auth/oauth2/v1/token"

{
"error": "access_denied",
"error_description": "Session quota is reached."
}

Not sure if I have used the right params though...

rdp-apirefinitiv-data-platform
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
11.5k 16 7 10

Hello @Michael Ronald Cortez.Espinosa

Please refer to the answer in this post. I suggest you check the Refinitiv Data Platform APIs - Authorization - All about tokens tutorial which give you all detail regarding how RDP authentication works, and what is the takeExclusiveSignOnControl parameter.

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