Open Government, New Zealand API
Overview
The New Zealand Government Open Data API provides free access to datasets published by New Zealand government agencies, covering topics like health, transport, and environmental statistics. No authentication is required, so you can start querying data immediately. It's a great resource for developers exploring open civic data from New Zealand.
Beginner Tip
No API key is needed — just use the CKAN-based REST API directly with standard HTTP GET requests. Try the "/api/3/action/package_list" endpoint first to see all available datasets.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Open Government, New Zealand",
"description": "New Zealand Government Open Data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
success Indicates whether the API request was successful. result Contains the main response data, such as search results or dataset metadata. count Total number of records matching the query. results Array of dataset objects matching the search criteria. name URL-friendly identifier (slug) of the dataset. title Human-readable title of the dataset. Implementation Example
const url = "https://www.data.govt.nz/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Bank Negara Malaysia Open Data
⭐ Beginner's PickBank Negara Malaysia Open Data provides free access to official financial data published by Malaysia's central bank, including exchange rates, interest rates, and key economic indicators.
BCLaws
BCLaws gives you free access to the full text of British Columbia's laws and regulations.
Brazil
⭐ Beginner's PickBrasilAPI is a free, community-driven API that centralizes public data about Brazil in one easy-to-use place.
Brazil Central Bank Open Data
The Brazil Central Bank Open Data API provides free access to official financial and economic data from Brazil s central bank (Banco Central do Brasil).
Brazil Receita WS
Brazil Receita WS lets you look up official information about Brazilian companies using their CNPJ (tax registration number).