Nasdaq Data Link API Documentation

Welcome to Nasdaq Data Link. You'll find comprehensive guides and documentation to help you start working with Data Link as quickly as possible, as well as support if you get stuck. Let's get started.



Make a time-series call

This call gets the WTI Crude Oil Price, which has a Quandl Code of EIA/PET_RWTC_D from the US Department of Energy dataset: data = nasdaqdatalink.get("EIA/PET_RWTC_D")

Change formats

You can get the same data in a NumPy array: data = nasdaqdatalink.get("EIA/PET_RWTC_D", returns="numpy")

Make a filtered time-series call

To set start and end dates: data = nasdaqdatalink.get("FRED/GDP", start_date="2001-12-31", end_date="2005-12-31")

To request specific columns: data = nasdaqdatalink.get(["NSE/OIL.1", "WIKI/AAPL.4"])

To request the last 5 rows: data = nasdaqdatalink.get("WIKI/AAPL", rows=5)

Preprocess the data

To change the sampling frequency: data = nasdaqdatalink.get("EIA/PET_RWTC_D", collapse="monthly")

To perform elementary calculations on the data: data = nasdaqdatalink.get("FRED/GDP", transformation="rdiff")

Download an entire time-series dataset

An entire time-series dataset's data can be downloaded.

For example, to download the dataset ZEA: nasdaqdatalink.bulkdownload("ZEA")

This call will download an entire time-series dataset as a ZIP file.



For a full list of optional query parameters for downloading a time-series dataset, click here.

Updated 4 months ago


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.