You can download the Quandl Python package from PyPI or from GitHub. Follow the installation instructions below.

NOTE: Installation of the Quandl Python package varies depending on your system.

On most systems, the following commands will initiate installation:

pip install quandl
import quandl

On some systems, you may need this command instead:

pip3 install quandl
import quandl

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


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

After importing the Quandl module, you can set your API key with the following command: quandl.ApiConfig.api_key = "YOURAPIKEY"