How do I authenticate my Python session?

To make more than 50 calls in a day, or to access a premium database, you will need to authenticate your Python session by telling us your API key.  To do so, simply include the key in your first function call. For example:

import quandl
quandl.ApiConfig.api_key = 'YOURAPIKEY' 

You should include the quotes around the API key. 

Your API key will then be stored in your working directory for continued use.

You can find your API key, also known as your auth_token, on your account settings page.  If you don't have a Quandl account yet, creating one is easy and completely free.

Still need help? Contact Us Contact Us