How do I download a dataset using the API?

Here is a basic API call:

The above call downloads the full history of dataset  WIKI/FB in CSV format.  

You can replace the Quandl code WIKI/FB in the above example with the code of whatever other dataset you want to download. For example NSE/OIL or FRED/GDP or OPEC/ORB.  

You can replace the format code csv in the above example with json or xml.

Thus the following are also valid API calls:

Note that if you plan to make multiple calls, or if you want to access a premium dataset, you will need to append your API key to the call. You can find your API key in your account settings.

Still need help? Contact Us Contact Us