LDS web services start with a key
Your key is a long string of characters unique to your LINZ Data Service (LDS) account and allows you to access your LDS account without you having to provide your password.
Only registered users of the LDS can create API keys, and all web services providing data require an API key.
Once you have created your key, if you are logged into LDS and select a web service URL, your web service key is automatically populated in the URL for you to easily copy and paste into your application.
Here is an example of an LDS WMTS Get Capabilities URL that has a web services key included:
https://data.linz.govt.nz/services;key=g5eic0047fg38fksamnx5430fbdt5970/wmts/1.0.0/layer/50767/WMTSCapabilities.xml
How to create a LDS API key
- Login to LDS and click on your name in the top menu, then click 'APIs & Web Services' to open the page 'API's and Web Services available from LINZ Data Service' (pictured below).
- Use the Label field to give your API key a name.
- Select ‘Data access only’.
- Accept terms and create key.
Find more information about API keys and the services they provides access to on the Koordinates Support site.