Pull Subsidiary Data Accurately Using lseg-data (TR.RelatedOrg Fields Misaligned and Incomplete)

Hi all,
I'm currently working with the lseg-data
Python SDK (v2.1.1) in a local refinitv Anaconda environment using a Desktop Workspace session. My objective is to extract a full and accurate list of a company’s subsidiaries, along with relevant identifiers and relationship types.
I attempted to retrieve related organizations for MSFT.O
(Microsoft) using the following fields:
fields = ["TR.RelatedOrgId", "TR.RelatedOrgName", "TR.RelatedOrgType"]
My code:
import lseg.data as ld
ld.open_session(name="desktop.workspace")
print("Session opened successfully.")
# Company RIC (can also try a PermID or Ticker)
ric = "MSFT.O"
# Fetch related organization names (includes subsidiaries)
response = ld.get_data(
universe=ric,
fields=['TR.RelatedOrgId','TR.RelatedOrgName','TR.RelatedOrgType']
)
# Print raw response
print("Related Entities / Subsidiaries:")
print(response)
# Excel
today = datetime.date.today().isoformat()
output_file = f"related_entities_msft_{today}.xlsx"
response.to_excel(output_file, index=False)
print(f"\nData saved to: {output_file}")
→ Issues I'm Facing
1. Field Misalignment
Although the SDK returns data, the organization names, types, and IDs appear to be misaligned — e.g., the name of a company may not correspond to its actual relationship type. It seems like these fields return lists, but there is no clear documentation on whether the lists align element-wise.
2. Incomplete Subsidiary Coverage
Microsoft has dozens of known subsidiaries, but the query returns only a handful. I’m unsure whether this is due to:
- An incomplete API view,
- Using a RIC instead of a PermID,
- Limited entitlements,
- Or needing a different endpoint or query method.
Questions:
- Are the
TR.RelatedOrgId
,TR.RelatedOrgName
, andTR.RelatedOrgType
fields guaranteed to be aligned as parallel lists? - What’s the recommended way to reliably extract subsidiaries (with PermID, ISIN, etc.)?
- Would querying by PermID instead of RIC improve coverage or structure?
- Is there a method to retrieve full subsidiary hierarchy, beyond immediate relationships?
- Could Workspace entitlements be affecting the visibility of the full set of related orgs?
Answers
-
Thank you for reaching out to us.
I ran the code and it returned 215 rows of data. I ran this formula on Excel and Excel returned the same data.
=@RDP.Data("MSFT.O","TR.RelatedOrgId;TR.RelatedOrgName;TR.RelatedOrgType","CH=Fd RH=IN",B2)
You need to contact the helpdesk team via MyAccount to verify the data. The get_data method can be used to retrieve the same data as the =@RDP.Data Excel function.
- Are the TR.RelatedOrgId, TR.RelatedOrgName, and TR.RelatedOrgType fields guaranteed to be aligned as parallel lists?
I can't verify which rows are misaligned. Please contact the helpdesk team via MyAccount to verify the data. - What’s the recommended way to reliably extract subsidiaries (with PermID, ISIN, etc.)?
- Would querying by PermID instead of RIC improve coverage or structure?
I tested it and found that both RIC (MSFT.O) and PermID (4295907168) returned the same amount of data. - Is there a method to retrieve full subsidiary hierarchy, beyond immediate relationships?
- Could Workspace entitlements be affecting the visibility of the full set of related orgs?
As this forum is more for programming type queries, rather than content queries - I would recommend you raise a 'I need help understanding content within the product' ticket with our helpdesk. That way a Content specialist can work closely with you and verify the assumption.
0 - Are the TR.RelatedOrgId, TR.RelatedOrgName, and TR.RelatedOrgType fields guaranteed to be aligned as parallel lists?
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛