Refinitive API ConnectionError: HTTPConnectionPool(host='api.trkd.thomsonreuters.com', port=80): Ma
Hi Refinitiv team, We are presently working to pull Response JSON from some Fundamental APIS. Where we are facing issues, Please find below issue :ConnectionError: HTTPConnectionPool(host='api.trkd.thomsonreuters.com', port=80): Max retries exceeded with url: /api/Fundamentals/Fundamentals.svc/REST/Fundamentals_1/GetFinancialStatementsReports_1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000020D04744CC0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)).
FYI we are connecting from Python code (Request.post()). Can some one help us on this.
Python Code :
resp = requests.post(refinitive_report_url , json=refinitive_Report_request_json ,headers = header )
resp.close()
Best Answer
-
Hello @venkataav000
This is seem to be a connection issue between your application and RKD API service. I strongly suggest you contact RKD API support team directly via my.refinitiv.com web site. Please select Product "Refinitiv Knowledge Direct API" as following:
Note: This is not relate to the issue, but please be informed that the RKD API endpoints have been changed from "api.trkd.thomsonreuters.com" to "api.rkd.refinitiv.com". you can find more detail in this https://my.refinitiv.com/content/mytr/en/pcnpage/11735.html link.
0
Answers
-
Hello @venkataav000,
Try this
fundamerntalsURL = 'http://api.trkd.thomsonreuters.com/api/Fundamentals/Fundamentals.svc/REST/Fundamentals_1/GetFinancialStatementsReports_1';
# RKD Time-Series Interday request message headers
interday_headers = {
'content-type': 'application/json;charset=utf-8' ,
'X-Trkd-Auth-ApplicationID': appid,
'X-Trkd-Auth-Token' : token
}
# RKD Time-Series Interday request message
fundamerntalsRequestMsg ={
"GetFinancialStatementsReports_Request_1": {
"companyId": "IBM.N",
"companyIdType": "RIC"
}
}Just tested and works for me.
For reference review
https://www.trkd.thomsonreuters.com/SupportSite/TestApi/Op?svc=Fundamentals_1&op=GetFinancialStatementsReports_1
Selecting option INSPECT, it should allow you to see the request being submitted.
0 -
Hi Refinitive Team,
Thanks for quick responce. We are already working with your suggested approach for past few months.Its working fine for some time and later it throws that issue.When we face this issue in the following next coming day itself it will start working.
Can you please help us on this.
Thanks
0 -
Hi Refinitive,
Yes will definitely connect with RKD API team for this issue. Thanks for all the support and guidance you provided.
Can you provide a info for below question :
Is there any limit in number for getting response from Refinitive API's when trying to ping from a particular IP / Machine ? If so can you provide me the number of tries we can do ?
Thank
0 -
Hello @venkataav000
You can find RKD API connection detail and information in Refinitiv Knowledge Direct API Technical Connectivity Guide document. The file is available at RKD API download page (please click "documents").
If you cannot find the required information in document, I suggest contact RKD API support team to help you.
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 中文论坛