# Trove API reference

> 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…

Source: https://osinttools.io/apis/trove/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/trove/

- Base URL: https://api.trove.nla.gov.au/v3
- Authentication: API key in the `X-API-KEY` header. Get a key: https://trove.nla.gov.au/about/create-something/using-api
- Rate limits: Not stated in the docs
- Vendor docs: https://trove.nla.gov.au/about/create-something/using-api/v3/api-technical-guide
- OpenAPI spec: https://api.trove.nla.gov.au/v3/trove-api-v3.yaml

## Overview

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.

## Search

### Search Trove categories (newspapers, books, images, people, lists and more).

`GET /result`

- Takes: Name
- Footprint: passive (the target is not contacted)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `category` | query | string | yes | One or more of all, book, diary, image, list, magazine, music, newspaper, people, research Example: newspaper One of: all, book, diary, image, list, magazine, music, newspaper, people, research |
| `q` | query | string | no | Search query; supports indexes Example: Jane Example |
| `n` | query | integer | no | Results per category, up to 100 Example: 20 |
| `s` | query | string | no | Paging cursor, URL-encoded Example: * |
| `sortby` | query | string | no | Sort order Example: relevance One of: datedesc, dateasc, relevance |
| `encoding` | query | string | no | Response format Example: json One of: json, xml |
| `reclevel` | query | string | no | Record detail level Example: brief One of: full, brief |
| `include` | query | string | no | Extra data to include, for example tags or comments Example: tags |

Response fields:

- `query` (string): The query as run
- `category[].code` (string): Category code
- `category[].name` (string): Category name
- `category[].records.total` (integer): Total matches
- `category[].records.nextStart` (string): Cursor for the next page
- `category[].records.article[].id` (string): Newspaper article ID
- `category[].records.article[].heading` (string): Article heading
- `category[].records.article[].date` (string): Issue date
- `category[].records.article[].troveUrl` (string): Link to the article on Trove
- `category[].records.work[].id` (string): Work ID
- `category[].records.work[].title` (string): Work title

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

Example response (200):

```json
{
  "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

### Retrieve one work record.

`GET /work/{workId}`

- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workId` | path | string | yes | Work ID Example: 200000001 |
| `encoding` | query | string | no | Response format Example: json One of: json, xml |
| `reclevel` | query | string | no | Record detail level Example: full One of: full, brief |
| `include` | query | string | no | Extra data to include Example: holdings |

Response fields:

- `id` (string): Work ID
- `url` (string): API URL of the work
- `troveUrl` (string): Trove page
- `title` (string): Title
- `contributor[]` (string): Contributors
- `issued` (string): Issue date
- `type[]` (string): Work types
- `subject[]` (string): Subjects
- `holdingsCount` (integer): Number of holdings
- `versionCount` (integer): Number of versions

```bash
curl 'https://api.trove.nla.gov.au/v3/work/200000001' \
  -H 'X-API-KEY: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
