PASAR API
SDMX REST interface; replaced the legacy Stats NZ open-data API that closed Aug 2024; keyless.
View docs ↗ More Data & enrichment APIscurl 'https://api.data.stats.govt.nz/rest'
I'm building an app using a free New Zealand API (no auth needed). API: Stats NZ ~ Aotearoa Data Explorer (SDMX) Provider: Stats NZ Endpoint: GET https://api.data.stats.govt.nz/rest It returns JSON. Source: Stats NZ (https://www.stats.govt.nz/tools/aotearoa-data-explorer/ade-api-user-guide/) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Last checked: 2026-07-05 Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures. Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.