Home › Forums › The XBRL API › Google Sheets – very simple beginner question
- This topic has 3 replies, 2 voices, and was last updated 4 years ago by David Tauriello.
-
AuthorPosts
-
-
Sunday, December 5, 2021 at 11:00 AM #196031Jeff KrimmelParticipant
Hi,
I am trying to make sure I know how the setup in Google Sheets works.
In one cell, I create the following URL: =CONCATENATE(“https://api.xbrl.us/api/v1/fact/search?concept.local-name=Assets&period.fiscal-year=2020&Entity.cik=0000040545&fields=fact.value”)
In the cell immediately below it, I have the following:
=showData(CellAbove)And the value I get is “No information returned”.
I am authorized, via the Google Sheets extension. And I use other XBRL API calls in Google Sheets that work fine. Those were copied and pasted from elsewhere. I’m now just trying to explore on my own, to make all of this a bit less of a black box for myself.
I must have a typo in the URL I’m creating, right? But I’m trying to follow example on page 8 of the API doc:
/api/v1/fact/search?concept.local-name=Assets&period.fiscalyear=2017&period.fiscal.period=1Q&Entity.cik=0000001&fields=fact.value
Do you know where I’m going wrong?
Thanks for the help.
-
Monday, December 6, 2021 at 12:56 PM #196056David TaurielloKeymaster
Hi Jeff – thanks for writing. yes, it’s a typo in your query – the ‘e’ in entity.cik should not be capitalized (true for all parameters).
Sincerely,
David -
Monday, December 6, 2021 at 2:56 PM #196057Jeff KrimmelParticipant
David, thank you so much for the helpful reply.
I’ve tried it again with this query, and I again get “No information returned”:
=showData(CONCATENATE(“https://api.xbrl.us/api/v1/fact/search?entity.cik=0000040545&period.fiscal-year=2020&concept.local-name=Assets&fields=fact.*”))
Now, when I change “fact.*” to “fact.value”, I do indeed get a list of values. Also “fact.ultimus” gives me a list of results. But “fact.*” gives me “No information returned”.
I’m sorry for the hassle on this one. Any help is greatly appreciated.
-
Tuesday, December 7, 2021 at 9:10 AM #196079David TaurielloKeymaster
Hi Jeff – thanks for pointing this out; it’s been fixed, so your query should be good to go.
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Search Forums
Recent Topics
- Income Statement data for a company by David Tauriello
- Normalized data presentation by David Tauriello
- Extract Director RSUs/Options Form 14A by Priyanka Goonetilleke
- Using the offset parameter by David Tauriello
- Spreadsheet Commands: Query Worksheet and Query Workbook Query Workbook by Liam Noailles
Recent Replies
-
Income Statement data for a company 5 months, 3 weeks ago
-
Income Statement data for a company 5 months, 3 weeks ago
-
Using the offset parameter 10 months ago
-
Using the offset parameter 10 months ago
-
Using the offset parameter 10 months ago
Documentation & Discussion
- Get started with Google Sheets OR
- Get started with Microsoft Excel OR
- Get access to as-filed data from us for other tools or your own app
- XBRL API Interactive Documentation
- Ten Tips & Techniques
- The XBRL API
- XBRL Data Community
- 2024 US GAAP Taxonomy Viewer
- Live support - Monday, 3:30 - 4:30 PM ET
Who's using this free data?
API Use 2024 || API Use 2023 || API Use 2022 || API Use 2021 || API Use 2020 || API Use 2019 || API Use 2018
Join XBRL US
- Individual Options - Basic, Power User & Sole Practitioner
- For Your Team - Startup, Non-Profit, Academic & Corporate options
- Member Benefits Comparison Table
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.





