This page provides technical documentation and specifications to help you start building with LINZ Basemaps APIs.
At a platform level, the LINZ Basemap APIs supports:
|Protocols||WMTS and XYZ|
|Output tiling scheme||NZTM2000 and Web Mercator|
|Zoom levels||NZTM 0 - 17 | Web Mercator 0 - 22|
|Output formats||PNG, WebP or Jpeg|
|Standard access||This is the default access level for customers. LINZ Basemap APIs at this level do not require registration. A dynamic API key is allocated to you. Standard access allows customers to execute up to 1,000 tile requests per minute and 1,000,000 requests per month. This access type is designed for use of our APIs in internal GIS applications or web mapping tools.|
|Developer access||This access level provides unlimited tile requests to developers to support integration of our APIs in public, high-volume web and mobile apps. Static API keys are issued to restrict use by others. Developers can request this access level by contacting us.|
There is no charge for either access level.
Tile matrix sets
LINZ Basemap APIs are provided in two output tiling schemes - WGS84 Web Mercator Quad (EPSG:3857) and NZTM2000 (ESPG:2193). Each has its own tile matrix set that describes the zoom levels, scale and resolution for the images that are returned.
WGS84 Web Mercator Quad (EPSG:3857)
This tile set is most suitable for web mapping applications that have worldwide coverage, or need to interact with third party tile services such as Google Maps or OSM map tiles without the need for re-projection or scaling.
This tile set presents New Zealand at its finest. It is most useful for New Zealand geospatial professionals and can be used for desktop GIS mapping. It is also recommended for New Zealand mainland web applications when area and distances need to be well represented on the map.
Rate limits apply to Standard API access only, not Developer API access.
Rate liming applies to all API clients, at the API token and IP address level.
|Access level||Request limit per minute||Request limit per month||API key nominated site restriction|
|Standard access||1,000 requests / minute||1,000,000 / month||No|
|Developer access||Unlimited* / minute||Unlimited* / month||Yes|
Per user - API key and IP
Rate limiting of a Standard access API is on a per user basis
Our rate limits are applied at a per-minute and per-month basis. Exceeding your access level's number requests per minute will result in an HTTP 429 Too Many Requests response.
Abuse or persistent overuse of our APIs
|429||Too many requests||Your API key has had too many requests. Contact us to request a limit increase|
|404||No tile information found||The server could not find what was requested|
Authentication is managed via API key for Developer level access. Developers do not need to authenticate separately to use our APIs, as the platform knows you’re a registered user from your API key.
Tile image requests are returned as compressed PNGs. This allows the quality of images to be maintained with relatively small file sizes, and supports an alpha channel for transparency. Tiles by default are 256 × 256 pixels.
You can also request tiles in WebP or Jpeg format.
LINZ Basemaps use open data, licensed for reuse under the Creative Commons 4.0 International licence. Each LINZ Basemap product is made up of a variety of open data sources.
Your product must always visibly show attribution and link to the LINZ Basemap custom attribution data and copyright text. See our data attribution page for full details.
Follow best and common-sense practices in the management of your API key. All use of your API key is your responsibility, whether authorised or not. If you suspect misuse by another user, we can disable an API key at any time.
Developer level access enables the allocation of static API keys which we can restrict to your nominated website.
Build your own LINZ Basemap
If you provide business critical or high-volume services that require higher rate limits, LINZ Basemaps are available as an open source project for you to deploy into your own infrastructure. Visit our github site or contact basemaps support for more information.