Visit our developer space on GitHub
The metadata and many datasets on data.govt.nz are available for use via an Application Programming Interface (API). When using our API you need to know what you can and cannot do with the data and where to find technical documentation.
Data.govt.nz's data APIs are made openly available for users and it's worth taking a moment to find out what you can and cannot do when using our APIs in your own applications.
Data.govt.nz's datasets, organisations and groups can be accessed and queried as JSON date through the metadata API; this page describes how.
The data.govt.nz DataStore API allows you to access and query the rows and columns of raw data listed by agencies in machine readable CSV format via a JSON API endpoint.
Using the ckanapi-exporter tool you can extract all dataset metadata into a single CSV file.
Export an agencies datasets into sub-folders including any hosted or referenced data files and a json file with metadata.