Skip to Content
Rates API
API Reference

REST API Versioning and Deprecation

How the New Zealand interest rates API versions REST endpoints and announces deprecations, migrations, and retirement dates.

Support this project

The major version is part of the REST URL. The current version is /api/v1/. A change that removes or renames an existing field, changes its meaning, or removes an endpoint requires a new major version. Clients should accept new optional fields within a major version.

When a planned retirement is announced, this page will list the affected version or endpoint, the replacement, and the schedule. Affected responses will include Deprecation as a Structured Fields date, written as @ followed by Unix seconds, as defined by RFC 9745. Once a withdrawal date is set, the responses will also include Sunset as an HTTP date in GMT, as defined by RFC 8594.

REST responses link to this page using the deprecation link relation. The link is available before a retirement is announced.

Current status

Version 1 is active. There are no announced REST deprecations or sunset dates.

Last updated on

On this page