INSTALLATION & AUTHENTICATION


📘

IMPORTANT NOTE:

This website (docs.data.nasdaq.com) will be retired on August 31 2026. Please bookmark our new Data Access Tools page for continued access to documentation and resources.

NASDAQ DATA LINK PYTHON PACKAGE

INSTALLATION

You can download the Nasdaq Data Link Python package from PyPI or from GitHub. Follow the installation instructions below.

NOTE: Installation of the Nasdaq Data Link Python package varies depending on your system.

On most systems, the following commands will initiate installation:

pip install nasdaq-data-link
import nasdaqdatalink

On some systems, you may need this command instead:

pip3 install nasdaq-data-link
import nasdaqdatalink

Additionally, you can find detailed installation instructions for Python modules here: Python 3.x.

AUTHENTICATION

The Nasdaq Data Link Python module is free but you must have a Nasdaq Data Link API key in order to download data. To get your own API key, you will need to create a free Nasdaq Data Link account and set your API key.

There are two ways to configure the Python SDK to use your API Key:

  • Environment variable
  • Local file

Please read our configuration setup instructions for more details.

PYTHON CLI NDLBULKDOWNLOAD PACKAGE

INSTALLATION

Pre-Requisites

Before you begin, ensure you have the following:

  • Internet speed of at least 500MB/s for optimal performance.
  • Python installed on your system (version 3.x).
  • An API key from Nasdaq Data Link with the necessary access enabled.

Set up Python Environment

Create a venv or pyenv if you like and activate.

Package Installation

Install the ndlbulkdownload package by using the command below:

pip install ndlbulkdownload

Authentication

You must have a Nasdaq Data Link API key to download data. To get your own API key, you will need to create a free Nasdaq Data Link account and set your API key.

Please read the documentation to learn more about the Python CLI usage.