Search API Connector Documentation
Import Nasdaq Data Link Data to Google Sheets
In this guide, we’ll walk through a simple but complete example of how to pull data from the Nasdaq Data Link (rebranded from Quandl in Sep. 2021) API directly into Google Sheets, using the API Connector add-on for Sheets.
We'll first get an API key, and then set up a request to pull in some data to your spreadsheet.
- Before You Begin
- Part 1: Get your API Key
- Part 2: Search for a Data Set
- Part 3: Pull API data into Sheets
- Part 4: Get More Data
- Part 5: API Documentation
Before You Begin
Click here to install the API Connector add-on from the Google Marketplace.
Part 1: Get Your Nasdaq Data Link API Key
- If you haven't already, sign up for an account at https://data.nasdaq.com/sign-up
- To find your API key, navigate to your account settings page at https://data.nasdaq.com/account/api.
- That's it. You can now access the Nasdaq Data Link API!
Part 2: Search for a Data Set
- Nasdaq provides a huge number of data sets. It's a bit overwhelming, so let's start by narrowing it down with a search. Navigate to https://data.nasdaq.com/search and search for a dataset of interest. Here I entered "bitcoin" and filtered for free data.
- The cool thing about Nasdaq Data Link is they provide a lot of examples to get you started. Click into any dataset and then hit Expand.
- Once you click Expand, the right-hand sidebar will contain a section called "API" that contains the request URLs you need to replicate this table in Google Sheets. You can choose any format, but CSV works best in a table, so let's use that.
- A modal will appear containing the full API request URL. Convenienently, your API key will be included as well.
- Copy that to your clipboard. We now have our request URL!
Part 3: Pull Nasdaq API Data into Google Sheets
Now let's copy and paste that URL into API Connector.
- Open up Google Sheets and click Extensions > API Connector > Open > Create request.
- In the request form enter the following:
- Request URL:
- Create a new tab and click Set current to use that tab as your data destination.
- Name your request and click Run. A moment later you’ll see the table we were just looking at replicated in your sheet.
Part 4: Get More Nasdaq Data
Besides the Expand tab, the Usage tab also contains sample URLs that can be copied and pasted into API Connector:
Just plug those in and hit Run to see the data in your sheet.
Hopefully this little introduction has given a sense for what's possible with Nasdaq Data Link. They provide many examples for each data set, so you can usually begin by searching for what interests you, pulling out an example API URL, and then modifying it as desired.
Part 5: API Documentation
Official API documentation: https://docs.data.nasdaq.com/docs/getting-started
2 thoughts on “Import Nasdaq Data Link Data to Google Sheets”
Thank You so much for the easy to understand instructions!
I have no problem pulling the data the first way by selecting expand and copying the URL but when I try to pull the data when under the usage and API section it just imports the code written on that page am I doing something wrong?
Oh, I see, looks like they've wrapped these particular responses in HTML. Can you please add the following key/value pair under the Headers section? Key =
Accept, Value =
application/json. That should fix it.