Trove API Console

Explore the workings of the Trove API

Enter an API query to view the results (no key required), or start with one of the examples below.

          <?xml version='1.0' encoding='UTF-8'?><response><query>has:comments commentlastupdated:[2012-03-07T00:00:00Z TO 2012-03-07T23:59:59Z]</query><zone name="people"><records s="0" n="0" total="0" /></zone><zone name="list"><records s="0" n="0" total="0" /></zone><zone name="article"><records s="0" n="0" total="0" /></zone><zone name="book"><records s="0" n="0" total="0" /></zone><zone name="map"><records s="0" n="0" total="0" /></zone><zone name="collection"><records s="0" n="0" total="0" /></zone><zone name="music"><records s="0" n="0" total="0" /></zone><zone name="picture"><records s="0" n="1" total="1"><work id="151757341" url="/work/151757341"><troveUrl>http://trove.nla.gov.au/work/151757341</troveUrl><title>Rose Inn Memorial Cairn</title><type>Object</type><holdingsCount>1</holdingsCount><versionCount>1</versionCount><relevance score="0.015468395">vaguely relevant</relevance><identifier type="url" linktype="fulltext">http://monumentaustralia.org.au/australian_monument/display/21447</identifier></work></records></zone><zone name="newspaper"><records s="0" n="16" total="16"><article id="25777266" url="/newspaper/25777266"><heading>BULLOCKS ARE STILL USEFUL IN TASMANIA</heading><category>Article</category><title id="10">The Mercury (Hobart, Tas. : 1860 - 1954)</title><date>1939-09-05</date><page>12</page><pageSequence>12</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/25777266?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="52492747" url="/newspaper/52492747"><heading>THE DISTRICT COURT. Tuesday, [?]th February.</heading><category>Article</category><title id="77">Morning Bulletin (Rockhampton, Qld. : 1878 - 1954)</title><date>1895-02-13</date><page>5</page><pageSequence>5</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/52492747?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="29413586" url="/newspaper/29413586"><heading>DEATH OF MR. ALEXANDER CUNNINGHAM.</heading><category>Article</category><title id="34">The Advertiser (Adelaide, SA : 1889 - 1931)</title><date>1898-07-28</date><page>6</page><pageSequence>6</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/29413586?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="35116451" url="/newspaper/35116451"><heading>OBITUARY</heading><category>Article</category><title id="44">The Advertiser (Adelaide, SA : 1931 - 1954)</title><date>1934-06-28</date><page>11</page><pageSequence>11</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/35116451?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="76305524" url="/newspaper/76305524"><heading>Farewell to Soldiers TWENTY GUILDFORD MEN HONORED.</heading><category>Article</category><title id="256">The Biz (Fairfield, NSW : 1928 - 1972)</title><date>1940-11-14</date><page>8</page><pageSequence>8</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/76305524?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="76965312" url="/newspaper/76965312"><heading>Back Again.</heading><category>Article</category><title id="252">The Dawn (Sydney, NSW : 1888 - 1905)</title><date>1904-07-01</date><page>16</page><pageSequence>16</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/76965312?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="5002057" url="/newspaper/5002057"><heading>Family Notices</heading><category>Family Notices</category><title id="34">The Advertiser (Adelaide, SA : 1889 - 1931)</title><date>1906-01-27</date><page>6</page><pageSequence>6</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/5002057?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="63255557" url="/newspaper/63255557"><heading>VICTORIAN GOLD YIELD Decrease in Production</heading><category>Article</category><title id="108">Gippsland Times (Vic. : 1861 - 1954)</title><date>1943-08-12</date><page>3</page><pageSequence>3</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/63255557?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="25376745" url="/newspaper/25376745"><heading>NEWS AND NOTES.</heading><category>Article</category><title id="30">The West Australian (Perth, WA : 1879 - 1954)</title><date>1905-03-15</date><page>6</page><pageSequence>6</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/25376745?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="76965233" url="/newspaper/76965233"><heading>The Poet's Page. Two Dreams-Twenty Years Apart.  DREAM I.</heading><category>Article</category><title id="252">The Dawn (Sydney, NSW : 1888 - 1905)</title><date>1904-05-01</date><page>16</page><pageSequence>16</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/76965233?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="76965313" url="/newspaper/76965313"><heading>The Poet's Page. Coming Home.</heading><category>Article</category><title id="252">The Dawn (Sydney, NSW : 1888 - 1905)</title><date>1904-07-01</date><page>16</page><pageSequence>16</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/76965313?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="46832233" url="/newspaper/46832233"><heading>Family Notices</heading><category>Family Notices</category><title id="41">South Australian Register (Adelaide, SA : 1839 - 1900)</title><date>1887-10-31</date><page>3</page><pageSequence>3</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/46832233?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="5223232" url="/newspaper/5223232"><heading>Family Notices</heading><category>Family Notices</category><title id="34">The Advertiser (Adelaide, SA : 1889 - 1931)</title><date>1910-12-17</date><page>10</page><pageSequence>10</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/5223232?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="67861931" url="/newspaper/67861931"><heading>CENTRAL DISTRICT COURT. Tuesday, January 30. CRIMINAL JURISDICTION.</heading><category>Article</category><title id="186">The Capricornian (Rockhampton, Qld. : 1875 - 1929)</title><date>1883-02-03</date><page>6</page><pageSequence>6</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/67861931?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="29018472" url="/newspaper/29018472"><heading>Family Notices</heading><category>Family Notices</category><title id="34">The Advertiser (Adelaide, SA : 1889 - 1931)</title><date>1930-03-28</date><page>18</page><pageSequence>18</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/29018472?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article><article id="16727312" url="/newspaper/16727312"><heading>Family Notices</heading><category>Family Notices</category><title id="35">The Sydney Morning Herald (NSW : 1842 - 1954)</title><date>1930-11-01</date><page>12</page><pageSequence>12</pageSequence><relevance score="9.112569">very relevant</relevance><snippet>... ...</snippet><troveUrl>http://trove.nla.gov.au/ndp/del/article/16727312?searchTerm=has%3Acomments+commentlastupdated%3A%5B2012-03-07T00%3A00%3A00Z+TO+2012-03-07T23%3A59%3A59Z%5D</troveUrl></article></records></zone></response>
        

Examples

Click on any of the examples below to open them in this console. If you want to use them in your own code you'll need to get an API key and add '&key=[Your API key]' to the url.

See the Trove API documentation for a full list of available parameters and detailed information on constructing queries.

Search everything

Parameters url
  • zone: all
  • q (query): wragge
  • encoding: xml (default)
  • n (number of results): 20 (default)
http://api.trove.nla.gov.au/result?q=wragge&zone=all
  • zone: all
  • q (query): wragge
  • encoding: json
  • n (number of results): 50
http://api.trove.nla.gov.au/result?q=wragge&zone=all&encoding=json&n=50
  • zone: all
  • q (query): nuc:ANL (contributor id)
  • encoding: json
  • n (number of results): 50
http://api.trove.nla.gov.au/result?q=nuc:ANL&zone=all&encoding=json
  • zone: all
  • q (query): wragge
  • encoding: json
  • n (number of results): 20 (default)
  • l-australian: y (in Australia or by Australians)
  • l-availability: y/f (freely accessible online)
http://api.trove.nla.gov.au/result?q=wragge&zone=all&encoding=json&l-australia=y&l-availability=y/f

Search newspapers

Parameters url
  • zone: newspaper
  • q (query): wragge AND weather
  • encoding: json
  • n (number of results): 20 (default)
http://api.trove.nla.gov.au/result?q=wragge+AND+weather&zone=newspaper&encoding=json
  • zone: newspaper
  • q (query): wragge AND weather
  • encoding: json
  • l-year: 1903
  • l-category: Article
  • n (number of results): 20 (default)
http://api.trove.nla.gov.au/result?q=wragge AND weather&zone=newspaper&encoding=json&l-year=1903
  • zone: newspaper
  • q (query): wragge AND weather
  • encoding: json
  • l-decade: 190
  • facet: year
  • n (number of results): 0
http://api.trove.nla.gov.au/result?q=wragge AND weather&zone=newspaper&encoding=json&l-decade=190&facet=year&n=0

Search other zones

Parameters url
  • zone: book,picture
  • q (query): wragge AND weather
  • encoding: json
  • n (number of results): 20 (default)
http://api.trove.nla.gov.au/result?q=wragge AND weather&zone=book,picture&encoding=json
  • zone: book
  • q (query): weather
  • encoding: json
  • l-format: Thesis
  • n (number of results): 20 (default)
http://api.trove.nla.gov.au/result?q=weather&zone=book&encoding=json&l-format=Thesis
  • zone: book
  • q (query): weather
  • encoding: json
  • facet: format
  • n (number of results): 0
http://api.trove.nla.gov.au/result?q=weather&zone=book&encoding=json&facet=format&n=0
  • zone: list
  • q (query): war memorials
  • encoding: json
http://api.trove.nla.gov.au/result?q=war memorials&zone=list&encoding=json

Get record

Parameters url
  • type: newspaper
  • article id: 41697877
  • reclevel: full
  • encoding: json
http://api.trove.nla.gov.au/newspaper/41697877?encoding=json&reclevel=full
  • type: newspaper
  • article id: 146871507
  • reclevel: full
  • include: articletext
http://api.trove.nla.gov.au/newspaper/41697877?reclevel=full&include=articletext
  • type: work
  • article id: 36904481
  • reclevel: full
  • encoding: json
http://api.trove.nla.gov.au/work/36904481?encoding=json&reclevel=full
  • type: work
  • article id: 34769014
  • reclevel: full
  • include: workVersions,holdings
  • encoding: json
http://api.trove.nla.gov.au/work/34769014?encoding=json&include=workVersions,holdings&reclevel=full
  • type: list
  • list id: 1442
  • reclevel: full
  • include: listItems
  • encoding: json
http://api.trove.nla.gov.au/list/1442?encoding=json&reclevel=full&include=listItems

List/get newspaper titles

Parameters url
  • state: vic
http://api.trove.nla.gov.au/newspaper/titles?state=vic
  • title id: 35
  • encoding: json
http://api.trove.nla.gov.au/newspaper/title/35?encoding=json
  • title id: 35
  • include: years
  • encoding: json
http://api.trove.nla.gov.au/newspaper/title/35?encoding=json&include=years

List/get Trove contributors

Parameters url
  • encoding: json
http://api.trove.nla.gov.au/contributor?encoding=json
  • NUC identifier: ANL
  • reclevel: full
  • encoding: json
http://api.trove.nla.gov.au/contributor/ANL?encoding=json&reclevel=full