How do I use the API to download just the latest value for a time-series?

Note that data on Nasdaq Data Link comes in two formats: time-series and tables. You can learn more about these formats here.

If you want the latest value from an individual time-series, use the limit=n parameter to get only the most recent n rows of data.

For example, if you are using the NASDAQ Stock Market Prices (XNAS) data feed and want the latest value for the ACIW time-series, you can use an API call like this: 

https://data.nasdaq.com/api/v3/datasets/XNAS/ACIW.csv?limit=1&api_key=YOURAPIKEY

In the above API call, data from the XNAS/ACIW time-series will be returned and only the latest 1 row of data will be returned because limit=1.

To see other parameters for individual time-series, please see the documentation here

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