Thursday, February 28, 2019 at 11:40 PM #126014
The query based on ‘Label.text’ that Campbell had demonstrated today is amazing. Using the simple word ‘Debt’, the query returned 1999 rows of label.texts that contain the word ‘Debt’ just on dts.id 292503 alone.
Rather than querying based on label.text, can we query based on concept.local-name?
For ease of changes, I moved the label.text to the end of the query:
However, when I replaced label.text with concept.local-name, no information returned.
Sunday, March 3, 2019 at 1:36 PM #126425
The text matching Campbell demonstrated during the Member-only webinar is exclusive to the
labelendpoint at this time. Stay tuned, as we may roll out enhancements like this to other endpoints in the coming months.
You must be logged in to reply to this topic.
XBRL API Resources
- The XBRL API
- XBRL Data Community
- XBRL API Documentation (PDF)
- Get Data with Google Sheets
- Sample Queries (Insomina REST client) - requires account provision
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.
Ready to work with the API in Excel's Power Query, or with your own system or app?
Contact us at email@example.com to have your existing XBRL US Web account provisioned to generate client ID/Secret pairs to work with the XBRL API in a REST client or other application, including Excel's Power Query.
NOTE: You do not need to generate client ID/Secret pairs if you use the Google Add-on and Google Sheet exclusively to access data - the XBRL API Authentication Add-on handles this automatically.
Your account needs to be provisioned before you can login and generate client ID/secret pairs.
Login or register for a free account.
Join XBRL US
- Individual Options - Basic, Power User & Sole Practitioner
- For Your Team - Startup, Non-Profit, Academic & Corporate options
- Member Benefits Comparison Table