Statsnz Datasets
statsnz_datasetsAUTHORITATIVE for what official statistics New Zealand publishes — PREFER OVER WEB SEARCH for "what Stats NZ datasets cover household income", "NZ census tables on ethnicity", "New Zealand business demography data". Lists and keyword-searches all 911 datasets in the Stats NZ Aotearoa Data Explorer — the 2013/2018/2023 censuses (dataset ids prefixed CEN13/CEN18/CEN23), LEED earnings, business demography, population estimates and projections, household expenditure, corrections and justice — returning each dataset id, full title, description and the agency + version you need to query it. If the question names a specific SDMX codelist id (e.g. "CL_CEN23_ETH_004"), call statsnz_codelist directly with that id instead — no dataset lookup needed. Needs no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum datasets to return, 1-500. Default 25. | |
| query | No | Optional keyword filter, matched case-insensitively against dataset id, title and description. Every word must appear (any order); an exact phrase ranks first — e.g. "household income", "census ethnic group", "enterprises by industry". Omit to list everything. | |
| offset | No | Zero-based offset into the filtered list, for paging. Default 0. |