INSTALLATION & AUTHENTICATION

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.