Can I search for data using the API?

Yes, Quandl’s API does support search queries.

For example, the following call returns the top 20 results for the query “crude oil”, in JSON format:

https://www.quandl.com/api/v3/datasets.json?query=crude+oil&api_key=YOURAPIKEY

If you prefer the results in XML format, use.xml in your call, like this:

https://www.quandl.com/api/v3/datasets.xml?query=crude+oil&api_key=YOURAPIKEY

You can paginate through search results using page= and per_page=, like this:

https://www.quandl.com/api/v3/datasets.xml?query=crude+oil&per_page=50&page=2&api_key=YOURAPIKEY

Note that multiple search terms should be separated by a + character. 

When searching for data using the API, a maximum of 2,000 results will be returned. 

You can also search for data on our Search page. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.