Trove
NewsDive into the treasure trove of information housed within the National Library of Australia with our comprehensive API. This API provides an unrivalled gateway to a diverse collection of thousands of digitised newspapers, enabling users to carry out text-based searches across a wealth of historical and contemporary publications. Whether you're involved in historical research or eager to learn more about Australia's past, the National Library of Australia API is a vital tool in your exploration of the country's printed media heritage and more.
Thanks to this API’s user-friendly design and extensive capacities, you can pull highly specific data, conduct intricate searches, and access a comprehensive, detailed catalogue of Australia's digitised newspaper collections. Our API is also equipped to return search results in a wide range of formats including XML, JSON, and HTML rendering it highly convenient for web developers and researchers alike. You can access our thorough documentation here to start incorporating our API into your workflow.
Benefits of the National Library of Australia API:
- Search through an extensive collection of Australian digitised newspapers.
- Enjoy advanced querying capabilities for refined search results.
- Obtain search results in multiple data formats, including XML, JSON, and HTML.
- Integrate with other applications conveniently due to its interoperability with diverse systems.
- Leverage the comprehensive user manual and support available to utilise the API efficiently.
Below is a sample JavaScript code for executing a GET request to the National Library of Australia newspaper collection API:
var url = "https://api.trove.nla.gov.au/v2/result?key=YOUR_API_KEY&q=SEARCH_KEYWORD&zone=newspaper"
fetch(url, {
method: "GET",
})
.then(response => response.json())
.then(json => console.log(json))
.catch(err => console.log('Error: ', err));
Note: Replace 'YOUR_API_KEY' with your actual API Key and 'SEARCH_KEYWORD' with your search term.