Skip to content
OSINTtools.io

Trove API

National Library of Australia's free research portal across library, archive and digitised newspaper collections from hundreds of partners.

Base URL
https://api.trove.nla.gov.au/v3
Sign-in
API key
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from trove.nla.gov.au · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Trove API searches the National Library of Australia's Trove collections: digitised newspapers and gazettes, magazines, books, images, music, diaries, research, people and lists. A search returns records grouped by category, and a work endpoint returns the full record for one work.

The human-written guide pages refused automated access, so this reference is taken from the official OpenAPI 3 file for v3. Requests go to https://api.trove.nla.gov.au/v3 with a key in the X-API-KEY header. Responses default to XML; set encoding=json for JSON. Paging uses a cursor: pass the nextStart value from a response as s. Newspaper article and other record endpoints exist in the spec and are not covered here.

Quick start

  1. Get a key

    Create an account with Trove and copy your api key. Where to get it

  2. Make your first request

    Search Trove categories (newspapers, books, images, people, lists and more).. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.trove.nla.gov.au/v3/result?category=newspaper' \
      -H 'X-API-KEY: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "query": "Jane Example",
      "category": [
        {
          "code": "newspaper",
          "name": "Newspapers & Gazettes",
          "records": {
            "total": 1,
            "nextStart": "AoIIexample",
            "article": [
              {
                "id": "100000001",
                "heading": "Local news",
                "date": "1925-03-14",
                "troveUrl": "https://trove.nla.gov.au/newspaper/article/100000001"
              }
            ]
          }
        }
      ]
    }

Authentication

Send your API key in the X-API-KEY header of every request.

Get a key from Trove

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

category is required. Results come back per category with a cursor for the next page. Limit filters such as l-decade, l-year and l-availability narrow a search.

Query parameters

categorystringrequired

One or more of all, book, diary, image, list, magazine, music, newspaper, people, research

Example: newspaperOne of: all, book, diary, image, list, magazine, music, newspaper, people, research
qstringtakes your name

Search query; supports indexes

Example: Jane Example
ninteger

Results per category, up to 100

Example: 20Default: 20
sstring

Paging cursor, URL-encoded

Example: *Default: *
sortbystring

Sort order

Example: relevanceDefault: relevanceOne of: datedesc, dateasc, relevance
encodingstring

Response format

Example: jsonDefault: xmlOne of: json, xml
reclevelstring

Record detail level

Example: briefDefault: briefOne of: full, brief
includestring

Extra data to include, for example tags or comments

Example: tags
Response fields · 11Show

querystring

The query as run

codestring

Category code

namestring

Category name

totalinteger

Total matches

nextStartstring

Cursor for the next page

idstring

Newspaper article ID

headingstring

Article heading

datestring

Issue date

troveUrlstring

Link to the article on Trove

idstring

Work ID

titlestring

Work title

curl 'https://api.trove.nla.gov.au/v3/result?category=newspaper' \
  -H 'X-API-KEY: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "query": "Jane Example",
  "category": [
    {
      "code": "newspaper",
      "name": "Newspapers & Gazettes",
      "records": {
        "total": 1,
        "nextStart": "AoIIexample",
        "article": [
          {
            "id": "100000001",
            "heading": "Local news",
            "date": "1925-03-14",
            "troveUrl": "https://trove.nla.gov.au/newspaper/article/100000001"
          }
        ]
      }
    }
  ]
}

Records

  • Passive: the target is not contacted

Returns descriptive metadata, identifiers and counts for a work; include adds tags, comments, holdings, versions and more.

Path parameters

workIdstringrequired

Work ID

Example: 200000001

Query parameters

encodingstring

Response format

Example: jsonDefault: xmlOne of: json, xml
reclevelstring

Record detail level

Example: fullOne of: full, brief
includestring

Extra data to include

Example: holdings
Response fields · 10Show

idstring

Work ID

urlstring

API URL of the work

troveUrlstring

Trove page

titlestring

Title

contributor[]string

Contributors

issuedstring

Issue date

type[]string

Work types

subject[]string

Subjects

holdingsCountinteger

Number of holdings

versionCountinteger

Number of versions

curl 'https://api.trove.nla.gov.au/v3/work/200000001' \
  -H 'X-API-KEY: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": "200000001",
  "url": "https://api.trove.nla.gov.au/v3/work/200000001",
  "troveUrl": "https://trove.nla.gov.au/work/200000001",
  "title": "An example book",
  "contributor": [
    "Example, Jane"
  ],
  "issued": "1950",
  "type": [
    "Book"
  ],
  "subject": [
    "Local history"
  ],
  "holdingsCount": 3,
  "versionCount": 1
}