These Developer API Terms became active on 31 January 2012
Contact us if you would like to discuss any aspect of these terms.
"DIA", "we", "our" and "us" mean the Department of Internal Affairs, a department of the New Zealand Government;
"DigitalNZ" means the nation-wide project operated by the National Library to help make New Zealand digital content easier to find, share and use, with a website at www.digitalnz.org;
DigitalNZ API means the DigitalNZ Application Programming Interface;
"metadata" means any information (text, images or otherwise, including thumbnail images) that describes attributes and characteristics of digital content, whether in structured and standard ways or in less structured ways through the use of general descriptions and tagging, and whether at the individual content item level or at the level of a group of content items; for the purposes of these API terms, metadata also includes statistical information available through search queries using the DigitalNZ API; and
"National Library" means the National Library of New Zealand Te Puna Mātauranga o Aotearoa which, in February 2011, was integrated with DIA.
2. The DigitalNZ API enables people and organisations with API keys to retrieve DigitalNZ metadata. Persons and organisations wishing to use the DigitalNZ API are required to agree to these API terms prior to obtaining an API key. The terms constitute a binding agreement with DIA that governs your use of the DigitalNZ API.
3. If you are applying for an API key on behalf of a company or other organisation, you represent that you have the authority to bind that company or organisation.
4. Upon your receipt of an API key, you may:
(a) access the DigitalNZ API; and
(b) copy, use and distribute metadata available through the DigitalNZ API for the purposes of your own websites and applications (whether desktop or mobile in nature), for non-commercial purposes, provided you comply with all requirements set out in these API terms. If you do not comply with these requirements, your limited licence under this clause will automatically terminate. Without limitation, your attention is drawn to clauses 8-10 (Live access and caching), 11 (Attribution), 12-13 (API calls) and 17 (Prohibited use).
5. Your API key is personal to you and cannot be used by or transferred to any other person without DIA’s written permission.
6. You must keep your API key secure and confidential. If you believe that the security and confidentiality of your API key has been compromised, you must notify us as soon as possible at email@example.com
7. If you are displaying DigitalNZ metadata retrieved via the DigitalNZ API on or through a website or application that requires registration you must, on request by DIA or any metadata contributor, provide a logon to the website or application to DIA or the metadata contributor, without charge.
8. Subject to clause 9 below, when you wish to serve DigitalNZ metadata to or through websites or applications, you are required to make real-time calls directly to the DigitalNZ API on each occasion and to display the retrieved data on or through those websites or applications as soon as possible upon your system’s receipt of the retrieved data. (The reason for this requirement is that DigitalNZ metadata is updated regularly.)
9. The only exception to the requirement in clause 8 above is where you wish to enable offline functionality for your website or application, or where making real-time calls would negatively affect the performance of your service, in which case you may cache DigitalNZ metadata retrieved via the DigitalNZ API for up to 30 days.
10. If metadata is removed from DigitalNZ or is no longer able to be viewed by the general public, you must ensure it is removed from your website or application as soon as possible.
11. If you display metadata retrieved via the DigitalNZ API on or through another website or application, you must:
(b) for each content item to which the metadata relates:
(i) identify the online source (i.e., the third party source of the content item, not DigitalNZ); and
(ii) provide a hyperlink to the page on the online source’s website containing the content item.
12. You must not make more than 3000 API calls per day, per API key issued to you, without written approval from DIA. Please contact DigitalNZ to discuss higher rate limits.
13. DIA reserves the right to increase or decrease this API call limit at its sole discretion.
14. DIA disclaims and excludes all liability for any claim, loss, demand or damages of any kind (including for negligence) arising out of or in connection with your use of the DigitalNZ API or the metadata accessible via the DigitalNZ API.
15. The inclusion of links to third party sites does not imply any endorsement of the linked website or its content or provider.
16. DIA will not be responsible for any disruption to DigitalNZ, the DigitalNZ API or for loss or corruption of any information whilst in transit or when downloaded onto any website or application from DigitalNZ or the DigitalNZ API.
17. You must not use or attempt to use the DigitalNZ API or any DigitalNZ metadata or other content:
(a) in connection with or to promote any products, services or materials that are:
(i) viruses, spyware, malware or other malicious code;
(ii) tobacco, tobacco products or gambling; or
(iii) counterfeit goods;
(b) in any manner that is, or that promotes conduct that is, illegal or otherwise obscene, indecent, pornographic or objectionable; or
(c) in any manner that infringes the rights of any other person.
19. DIA reserves the right:
(a) not to grant an API key to any person at its complete discretion;
(b) to release new versions of the DigitalNZ API from time to time and require you to use the most recent version;
(c) to withdraw or terminate any API key where it believes that a user of that API key is:
(d) to otherwise terminate your access to, or discontinue, the DigitalNZ API at any time, for any reason and at its sole discretion.
21. These terms are governed by and to be construed in accordance with the laws of New Zealand and you agree to submit to the jurisdiction of the New Zealand courts.