Skip to main content
Call download_data() on a dataset handle.
To get a dataset ID, use Search or open the dataset in the web app and read the ID in the URL.

Output formats

Check what you received

Your plan controls access. Without full download access to a dataset, you get a preview: a limited sample that might not include recent data. If you have used your plan’s download allowance, you can get a table with an error column instead of data. Neither case raises an exception.

Filter by date

Use datetime.date objects. Both limits are inclusive. The SDK finds the date column. Do not use these arguments on a dataset without one.

Filter by entity

This returns rows where country is USA or Mexico and sector is Manufacturing or Services. Column names are case-sensitive.

Select columns

Date and entity columns are always included. Names must not contain commas.

Method signature

You can combine the filters. The server applies them. For the underlying parameters, see Download data. A failed request raises Exception with the status code.

Next steps

Search

Find datasets.

Series

Read a single series.