I’m trying to figure out with /api/v1/network/relationship/search endpoint and get Balance Sheet network.role-description. I was trying different ways, unfortunately all attempts wasn’t successful. However, I have find this endpoint useful.
Can you point me how I can get Balance Sheet data using this endpoint, please.
Try a known, good query like /relationship/search?dts.id=306447&network.link-name=presentationLink&network.role-description=balance%20sheet&stringmatch=network.role-description(like)&fields=network.role-description,relationship.id.sort(ASC),relationship.tree-sequence.sort(ASC),relationship.target-name
be sure the stringmatch parameter exists in the dts.id you’re calling (or try ‘statement’ to list all in the report – this may take a minute or two).
Using the XBRL API with the Public Filings Database
Unless otherwise agreed to in writing, any and all use of the XBRL API to authenticate and retrieve data from the XBRL US Database of Public Filings implies user consent and agreement with the XBRL US API Agreement. If you are unable to agree to these terms, do not use the XBRL API.
To use the XBRL API outside of Google Sheets, your account needs to be provisioned for OAuth2 access.