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.

          {"list":[{"id":"1442","url":"\/list\/1442","troveUrl":"http:\/\/trove.nla.gov.au\/list?id=1442","title":"Music resources theme - War and Peace in Australia - Peace","creator":"public:NLAmusic","description":"Music has long played a role in celebrating peace  and voicing opposition to war. Numerous anti-conscription songs emerged during the First World War. Eric Bogle’s song of the 1970s And the Band Played Waltzing Matilda lamented the pointlessness of Australia’s involvement in conflict. Curated by National Library of Australia staff.","date":"","created":"2010-07-09T06:43:32Z","lastupdated":"2012-04-23T04:12:45Z","tagCount":0,"commentCount":0,"listItemCount":23,"identifier":{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.mus-an4811867-t"},"listItem":[{"work":{"id":"19289495","url":"\/work\/19289495","troveUrl":"http:\/\/trove.nla.gov.au\/work\/19289495","title":"Peace bells : for the piano \/ composed by Florence Hope","contributor":["Hope, Florence"],"issued":1919,"type":["Printed music"],"holdingsCount":4,"versionCount":3,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-169497196"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-164368612-t"}]}},{"work":{"id":"21998774","url":"\/work\/21998774","troveUrl":"http:\/\/trove.nla.gov.au\/work\/21998774","title":"O joyful day of peace \/ composed by William J. Sampson ; [words by] W.T.G. Berriman","contributor":["Sampson, William J"],"issued":1918,"type":["Printed music"],"holdingsCount":2,"versionCount":1,"identifier":[{"type":"url","linktype":"unknown","value":"http:\/\/www.liswa.wa.gov.au\/wammo\/ojoy\/ojoyth.html"}]}},{"work":{"id":"18335407","url":"\/work\/18335407","troveUrl":"http:\/\/trove.nla.gov.au\/work\/18335407","title":"Why cant each nation be at peace? descriptive song ... \/ lyrics by George Daniels ; revised by Bert Warne ; composed by Felix Le Roy","contributor":["Le Roy, Felix, 1872-1926"],"issued":1915,"type":["Printed music"],"holdingsCount":2,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165095134"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165095134-t"}]}},{"work":{"id":"19399426","url":"\/work\/19399426","troveUrl":"http:\/\/trove.nla.gov.au\/work\/19399426","title":"Hymn of peace : song \/ the words by Wrenn Sutton ; the music by Esther Kahn","contributor":["Kahn, Esther"],"issued":1915,"type":["Printed music"],"holdingsCount":3,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165780453"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165780453-t"}]}},{"work":{"id":"17493961","url":"\/work\/17493961","troveUrl":"http:\/\/trove.nla.gov.au\/work\/17493961","title":"Australia's response : a partriotic song \/ words by Alfred B. Campbell ; music by Grace Fearon-Sherlock","contributor":["Fearon-Sherlock, Grace"],"issued":1919,"type":["Printed music"],"holdingsCount":1,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-166344112"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-166344112-t"}]}},{"work":{"id":"13898787","url":"\/work\/13898787","troveUrl":"http:\/\/trove.nla.gov.au\/work\/13898787","title":"When the peace bells ring \/ lyrics by George H. Desmond ; music by Clarence Lyndon","contributor":["Lyndon, Clarence"],"issued":"1915-1920","type":["Printed music"],"holdingsCount":3,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-168411429"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-168411429-t"}]}},{"work":{"id":"11430939","url":"\/work\/11430939","troveUrl":"http:\/\/trove.nla.gov.au\/work\/11430939","title":"The peace of the valley \/ the words by E. Fitzball ; the music by M.W. Balfe","contributor":["Balfe, M. W. (Michael William), 1808-1870"],"issued":"1835-1849","type":["Printed music"],"holdingsCount":1,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165707307"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165707307-t"}]}},{"work":{"id":"5968574","url":"\/work\/5968574","troveUrl":"http:\/\/trove.nla.gov.au\/work\/5968574","title":"The hour of peace \/ words by Louis Voight ; music by Wm. J. Sampson","contributor":["Sampson, William J"],"issued":"1880-1900","type":["Printed music"],"holdingsCount":2,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-189356310"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-166759903-t"}]}},{"work":{"id":"10930766","url":"\/work\/10930766","troveUrl":"http:\/\/trove.nla.gov.au\/work\/10930766","title":"Perfect peace : waltz \/ by Hal. D. Abbott ; [and] Arnold A. Abbott","contributor":["Abbott, Hal. D"],"issued":"1900-1930","type":["Printed music"],"holdingsCount":5,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-167711271"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-167711271-t"}]}},{"deleted":"deleted","value":"The resource described by this item has been deleted from Trove"},{"work":{"id":"11018660","url":"\/work\/11018660","troveUrl":"http:\/\/trove.nla.gov.au\/work\/11018660","title":"Melody of peace : graceful tone poem \/ composed by Felix Le Roy ; arranged by Val Royal","contributor":["Le Roy, Felix, 1872-1926"],"issued":1915,"type":["Printed music"],"holdingsCount":2,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item. MUS N mba 786.20994 L619","value":"http:\/\/nla.gov.au\/nla.obj-166891788"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-167750062-t"}]}},{"work":{"id":"10673284","url":"\/work\/10673284","troveUrl":"http:\/\/trove.nla.gov.au\/work\/10673284","title":"Peace memories waltz \/ composed by Robert Laird","contributor":["Laird, Robert"],"issued":"1900-1930","type":["Printed music"],"holdingsCount":3,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"Music Australia","value":"http:\/\/nla.gov.au\/nla.mus-an10355808"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-167647453-t"}]}},{"work":{"id":"22504994","url":"\/work\/22504994","troveUrl":"http:\/\/trove.nla.gov.au\/work\/22504994","title":"Peace & glory \/ written and composed by Reg. A.A. Stoneham","contributor":["Stoneham, Reginald A. A., 1879-1942"],"issued":"1900-1930","type":["Printed music"],"holdingsCount":1,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-168560616"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-168560616-t"}]}},{"work":{"id":"11451945","url":"\/work\/11451945","troveUrl":"http:\/\/trove.nla.gov.au\/work\/11451945","title":"Melody of peace : tone poem \/ by Felix Le Roy","contributor":["Le Roy, Felix, 1872-1926"],"issued":"1915-1929","type":["Printed music"],"holdingsCount":2,"versionCount":5,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-164651120"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-164651120-t"}]}},{"work":{"id":"23883730","url":"\/work\/23883730","troveUrl":"http:\/\/trove.nla.gov.au\/work\/23883730","title":"Dream of peace : waltz \/ by Leila Ruth Rowland","contributor":["Rowland, Leila Ruth, 1879-1958"],"issued":"1900-1930","type":["Printed music"],"holdingsCount":2,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-168688162"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-168688162-t"}]}},{"work":{"id":"18484810","url":"\/work\/18484810","troveUrl":"http:\/\/trove.nla.gov.au\/work\/18484810","title":"Peace : nocturne, for piano \/ by Gabriel Morel","contributor":["Morel, Gabriel"],"issued":"1900-1950","type":["Printed music"],"holdingsCount":1,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165142176"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165142176-t"}]}},{"work":{"id":"12944633","url":"\/work\/12944633","troveUrl":"http:\/\/trove.nla.gov.au\/work\/12944633","title":"Peace bells : song of rejoicing \/ words and music by Epacris","contributor":["Epacris"],"issued":"1910-1919","type":["Printed music"],"holdingsCount":1,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-164864648"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-164864648-t"}]}},{"work":{"id":"24138722","url":"\/work\/24138722","troveUrl":"http:\/\/trove.nla.gov.au\/work\/24138722","title":"Eternal peace \/ words and music by Newman Wolsey","contributor":["Wolsey, Newman"],"issued":1910,"type":["Printed music"],"holdingsCount":2,"versionCount":2,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-167449429"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-167449429-t"}]}},{"work":{"id":"18782082","url":"\/work\/18782082","troveUrl":"http:\/\/trove.nla.gov.au\/work\/18782082","title":"Neath the light of a perfect peace \/ song \/by Hal. D. Abbott [and] Arthur W. Abbott","contributor":["Abbott, Hal. D"],"issued":"1914-1918","type":["Printed music"],"holdingsCount":3,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165342271"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165342271-t"}]}},{"work":{"id":"19321744","url":"\/work\/19321744","troveUrl":"http:\/\/trove.nla.gov.au\/work\/19321744","title":"When all the world's at peace \/ words by Fleta Jan Brown ; music by Chas. N. Grant","contributor":["Grant, Charles N., 1887-1937"],"issued":"1914-1918","type":["Printed music"],"holdingsCount":1,"versionCount":1,"identifier":[{"type":"url","linktype":"fulltext","linktext":"National Library of Australia digitised item","value":"http:\/\/nla.gov.au\/nla.obj-165736362"},{"type":"url","linktype":"thumbnail","value":"http:\/\/nla.gov.au\/nla.obj-165736362-t"}]}},{"work":{"id":"11181651","url":"\/work\/11181651","troveUrl":"http:\/\/trove.nla.gov.au\/work\/11181651","title":"The band played Waltzing Matilda","contributor":["Bogle, Eric"],"issued":1979,"type":["Sound\/Recorded music","Sound"],"holdingsCount":0,"versionCount":1}},{"work":{"id":"33660695","url":"\/work\/33660695","troveUrl":"http:\/\/trove.nla.gov.au\/work\/33660695","title":"The Eric Bogle homepage","contributor":["Bogle, Eric, 1944-"],"issued":1990,"type":["Archived website"],"holdingsCount":4,"versionCount":1,"identifier":[{"type":"url","linktype":"unknown","linktext":"Publisher site","value":"http:\/\/www.windbourne.com\/ebogle"}]}},{"people":{"id":"612211","url":"\/people\/612211","troveUrl":"http:\/\/trove.nla.gov.au\/people\/612211"}}]}]}
        

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