Need help on accessing RIC pricing information via refinitiv API
Hi,
Tried below API on API playground - but seems access denied , tried refinitiv credentials but still not letting me in.
can someone please help me on this please. need to get RIC snap via http request.
Example below
https://api.refinitiv.com/data/pricing/beta3/snapshots?universe=USD=,KIBOR=
JSON response on API playground is as below. whom do i need to contact?
{ "error": { "id": "2334fbbc-e7a4-41e1-8f76-17fbdebdf5b2", "code": "insufficient_scope", "message": "access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]", "status": "Forbidden" } }
Best Answer
-
Hello @raghava.belagola
The error message "access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]" indicates that your RDP account does not have a permission to request this /data/pricing/beta3/snapshots API endpoint.
- If you posted this question on behalf of the client, you need to contact the client's LSEG representative or Account Manager to verify the client's permission.
- If you posted this question for your own RDP usage, you need to submit a request to Service Now to request a permission for this endpoint.
### /data/pricing/snapshots/v1/ ###
There is also a /data/pricing/snapshots/v1/ endpoint for the Wealth product's customer. You may try this API instead of you are the Wealth product client.
0
Answers
-
JSON response is : whom do i need to contact for permission?
{ "error": { "id": "2334fbbc-e7a4-41e1-8f76-17fbdebdf5b2", "code": "insufficient_scope", "message": "access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]", "status": "Forbidden" } }
0 -
Hi
I tried on Wealth product's customer. but getting access error again. please provide service now link and steps to create tickets. its always confusing to point to the right group for permissioning and exact details will help
0 -
Hello @raghava.belagola
The /data/pricing/snapshots/v1/ shows the same permission issue.
You can find the current Service Now link on the https://lsegroup.sharepoint.com/ page as follows:
Then search for the "RDP" word on the Service Now page, it should suggest the right link to request RDP permission for you.
0 -
Hi,
i got access and able to pull data. But Bearer token gets expires and
{"error":{"id":"6608f301-c2f7-4a96-99d0-4646b6d953cc","code":"401","message":"token expired","status":"Unauthorized"}}
error is thrown. How to form dynamic token and send to python request payload is needed.
0 -
Hello @raghava.belagola
When you obtain the access token from RDP, you also get other information as follows:
- expires_in: Access token validity time in seconds
- refresh_token: Refresh token to use used for getting next access token
The expires_in value is he access token live time (in seconds). After expires_in seconds, the access token is expired and if you use that token in the request, you will get that HTTP 401 token expired message.
To avoid this, you need to refresh the token before the expires_in seconds via the application code.
POST https://api.refinitiv.com/auth/oauth2/v1/token
Host: api.refinitiv.com
User-Agent: python-requests/2.12.4
Accept-Encoding: gzip, deflate
Accept: application/json
Connection: keep-alive
Content-Length: 106
Content-Type: application/x-www-form-urlencoded
Authorization: Basic RDZENz*************DNkNEREQ3NDo=
refresh_token=****&grant_type=refresh_tokenThen you get a new access token, with the expires_in of that access token and the refresh token.
Please find more detail on the following resources:
0 -
Hello @raghava.belagola
Additionally, there is also the mitations and Guidelines for the RDP Authentication Service that you need to consider.
0 -
i used authentication API but getting below error. i used Tutorials | Devportal (lseg.com). please ping on teams , where i can show the steps i took
0 -
Hello @raghava.s
I checked your HTTP request message. The client_id property is missing post message body of the Password Grant.
The HTTP request should be like this:
POST /auth/oauth2/v1/token HTTP/1.1
Host: api.refinitiv.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 180
username=<RDP Username/Machine-ID>&password=<Password>&grant_type=password&scope=trapi&takeExclusiveSignOnControl=true&client_id=<App Key>Please note that the takeEclusiveSignOnControl property is optional. If you set it to true, it overrides any previous session you logged on i.e. force sign-out this ID from other applications and sign-in here.
I am noticed that the RDP Tutorials missing the client_id information in the HTTP example. I will notify the RDP about this issue.
0 -
Hi,
Please confirm if the RDP HTTP could be used on a strategic cloud platform. hope this APIs are not legacy which might be scrapped later.
thanks
Raghava
0 -
Hello @raghava.s
I did not hear any plans to scrap the RDP APIs. I strongly suggest you contact the RDP team directly if you need more information.
0 -
please provide RDP team mail ID, will contact
0 -
Hello @raghava.s
You can find the internal RDP product page by searching "Refinitiv Data Platform" or "Delivery Platform" on the LSEG SharePoint, it should be on the first search result. Inside the page, you will see the product contact point.
Note: As LSEG rebranding policy, the Refinitiv Data Platform will be changed name to Delivery Platform (as of June 2024).
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛