Go to the Quandl website:

https://www.quandl.com

and Sign Up. It is free and very, very quick. You get an email to activate the account.

Signing up gives you 500 API calls per day, a big improvement over the default 50 calls per day, so you are going to want to do this.

Quandl API

Quandl has a nice user guide to getting started with their API’s:

https://www.quandl.com/help/api

To summarise, you get data from this url:

https://www.quandl.com/api/v1/datasets/%5B…%5D/%5B……%5D.csv?auth_token=%5BYour Registered User’s Authentication Token]

This line of code will go in to your Python program as the

api_call_head

parameter in the

urllib2.urlopen()

function.