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>"piers anthony"</query><zone name="book"><records s="0" n="20" total="334" next="/result?q=%22piers+anthony%22&zone=book&s=20"><work id="18557194" url="/work/18557194"><troveUrl>http://trove.nla.gov.au/work/18557194</troveUrl><title>Night mare</title><contributor>Anthony, Piers</contributor><issued>1982-2002</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>14</holdingsCount><versionCount>5</versionCount><relevance score="34.91883">very relevant</relevance><snippet>Night mare / <b>Piers</b> <b>Anthony</b>. Night mare. Night mare <b>Piers</b> <b>Anthony</b>. Nightmare Night mare [electronic</snippet><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=734266</identifier></work><work id="21878810" url="/work/21878810"><troveUrl>http://trove.nla.gov.au/work/21878810</troveUrl><title>Piers Anthony / Michael R. Collings</title><contributor>Collings, Michael R</contributor><issued>1983</issued><type>Book</type><holdingsCount>3</holdingsCount><versionCount>1</versionCount><relevance score="31.482233">very relevant</relevance><snippet><b>Piers</b> <b>Anthony</b> / Michael R. Collings. Includes bibliographies and index. </snippet></work><work id="168493903" url="/work/168493903"><troveUrl>http://trove.nla.gov.au/work/168493903</troveUrl><title>Luck of the draw / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2012-2013</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>42</holdingsCount><versionCount>5</versionCount><relevance score="20.752934">very relevant</relevance><snippet>Luck of the draw / <b>Piers</b> <b>Anthony</b>. Luck of the draw <b>Piers</b> <b>Anthony</b> Luck of the draw <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="restricted" linktext="Click here to search for similar authors using Fiction Connection">http://ezproxy.bayside.vic.gov.au/login?url=http://www.fictionconnection.com</identifier></work><work id="180376094" url="/work/180376094"><troveUrl>http://trove.nla.gov.au/work/180376094</troveUrl><title>Esrever Doom / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2013-2014</issued><type>Book/Illustrated</type><type>Book</type><holdingsCount>36</holdingsCount><versionCount>3</versionCount><relevance score="20.321611">very relevant</relevance><snippet>Esrever Doom / <b>Piers</b> <b>Anthony</b>. Esrever doom Esrever doom / <b>Piers</b> <b>Anthony</b>. "<b>Piers</b> <b>Anthony's</b> 37th</snippet><identifier type="url" linktype="unknown" linktext="Cover image">http://www.netread.com/jcusers2/bk1388/366/9780765331366/image/lgcover.9780765331366.jpg</identifier></work><work id="20453682" url="/work/20453682"><troveUrl>http://trove.nla.gov.au/work/20453682</troveUrl><title>Stork naked / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2006</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>33</holdingsCount><versionCount>2</versionCount><relevance score="19.21815">very relevant</relevance><snippet>Stork naked / <b>Piers</b> <b>Anthony</b>. Stork naked <b>Piers</b> <b>Anthony</b> Stork naked <b>Piers</b> <b>Anthony</b> [electronic</snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/storknaked00anth">http://openlibrary.org/books/OL24743675M</identifier></work><work id="37806206" url="/work/37806206"><troveUrl>http://trove.nla.gov.au/work/37806206</troveUrl><title>Knot Gneiss / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2010-2011</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>31</holdingsCount><versionCount>4</versionCount><relevance score="19.127665">very relevant</relevance><snippet>Knot Gneiss / <b>Piers</b> <b>Anthony</b>. Knot Gneiss <b>Piers</b> <b>Anthony</b> [electronic resource] Knot Gneiss <b>Piers</b></snippet><identifier type="url" linktype="unknown">http://rbdigital.oneclickdigital.com</identifier></work><work id="36569717" url="/work/36569717"><troveUrl>http://trove.nla.gov.au/work/36569717</troveUrl><title>Climate of change / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2010-2011</issued><type>Book</type><holdingsCount>42</holdingsCount><versionCount>3</versionCount><relevance score="18.763155">very relevant</relevance><snippet>Climate of change / <b>Piers</b> <b>Anthony</b>. Hero's dilemma -- Haven's curse -- Craft's strategy -- Rebel's</snippet><identifier type="url" linktype="unknown">http://rbdigital.oneclickdigital.com</identifier></work><work id="214294565" url="/work/214294565"><troveUrl>http://trove.nla.gov.au/work/214294565</troveUrl><title>Isis orb / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1900-2016</issued><type>Book</type><type>Audio book</type><holdingsCount>31</holdingsCount><versionCount>4</versionCount><relevance score="17.411968">very relevant</relevance><snippet>Isis orb / <b>Piers</b> <b>Anthony</b>. Online resource; title from title details screen (OverDrive, viewed</snippet><identifier type="url" linktype="restricted" linktext="MyiLibrary">http://www.myilibrary.com?id=951242</identifier></work><work id="151589683" url="/work/151589683"><troveUrl>http://trove.nla.gov.au/work/151589683</troveUrl><title>Well-tempered clavicle / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2011-2012</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>32</holdingsCount><versionCount>3</versionCount><relevance score="17.051268">very relevant</relevance><snippet>Well-tempered clavicle <b>Piers</b> <b>Anthony</b> Well-tempered clavicle <b>Piers</b> <b>Anthony</b> [electronic resource]</snippet><identifier type="url" linktype="unknown" linktext="Image">http://images.contentreserve.com/ImageType-100/2390-1/{9D10EBC8-1803-4327-8020-07D04A7D709A}Img100.jpg</identifier></work><work id="32143097" url="/work/32143097"><troveUrl>http://trove.nla.gov.au/work/32143097</troveUrl><title>Air apparent / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2007-2008</issued><type>Book</type><holdingsCount>28</holdingsCount><versionCount>4</versionCount><relevance score="17.040503">very relevant</relevance><snippet>Air apparent / <b>Piers</b> <b>Anthony</b>. Air apparent <b>Piers</b> <b>Anthony</b> Air apparent <b>Piers</b> <b>Anthony</b> [electronic</snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/airapparent00anth">http://openlibrary.org/books/OL24966594M</identifier></work><work id="31689327" url="/work/31689327"><troveUrl>http://trove.nla.gov.au/work/31689327</troveUrl><title>Jumper cable / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2009-2010</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>26</holdingsCount><versionCount>4</versionCount><relevance score="16.991571">very relevant</relevance><snippet>Jumper cable <b>Piers</b> <b>Anthony</b>. [electronic resource] Jumper cable / <b>Piers</b> <b>Anthony</b>. Jumper cable <b>Piers</b></snippet><identifier type="url" linktype="unknown" linktext="OverDrive (OEPUB)">http://www.contentreserve.com/TitleInfo.asp?ID={2C510483-C0A2-42B7-AE54-F6FC2D216CB1}&Format=810</identifier></work><work id="13608876" url="/work/13608876"><troveUrl>http://trove.nla.gov.au/work/13608876</troveUrl><title>Bio of an ogre : the autobiography of Piers Anthony to age 50</title><contributor>Anthony, Piers</contributor><issued>1988-1989</issued><type>Book</type><holdingsCount>9</holdingsCount><versionCount>3</versionCount><relevance score="16.8946">very relevant</relevance><snippet>Bio of an Ogre The Autobiography of <b>Piers</b> <b>Anthony</b> to Age 50 Bio of an ogre : the autobiography of <b>Piers</b></snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/bioofogre00pier">http://openlibrary.org/books/OL7524628M</identifier></work><work id="191408711" url="/work/191408711"><troveUrl>http://trove.nla.gov.au/work/191408711</troveUrl><title>Five portraits : a novel of Xanth / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2014-2015</issued><type>Book</type><holdingsCount>24</holdingsCount><versionCount>5</versionCount><relevance score="15.003138">very relevant</relevance><snippet>Five portraits : a novel of Xanth / <b>Piers</b> <b>Anthony</b>. Five portraits [electronic resource] / <b>Piers</b></snippet><identifier type="url" linktype="unknown" linktext="OverDrive (Kindle)">http://www.contentreserve.com/TitleInfo.asp?ID={56AF3D59-5FBF-4C90-B11D-788E44067C09}&Format=420</identifier></work><work id="6552625" url="/work/6552625"><troveUrl>http://trove.nla.gov.au/work/6552625</troveUrl><title>Ogre, ogre / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1982-2000</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>17</holdingsCount><versionCount>9</versionCount><relevance score="14.108515">very relevant</relevance><snippet>Ogre, ogre <b>Piers</b> <b>Anthony</b>. [electronic resource] Ogre, ogre <b>Piers</b> <b>Anthony</b>. Ogre, ogre [electronic</snippet><identifier type="url" linktype="restricted" linktext="MyiLibrary">http://www.myilibrary.com?id=439209</identifier></work><work id="6164726" url="/work/6164726"><troveUrl>http://trove.nla.gov.au/work/6164726</troveUrl><title>Juxtaposition / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1982-2014</issued><type>Book</type><type>Audio book</type><type>Book/Illustrated</type><holdingsCount>17</holdingsCount><versionCount>11</versionCount><relevance score="13.943228">very relevant</relevance><snippet>Juxtaposition [electronic resource] / <b>Piers</b> <b>Anthony</b>. Juxtaposition. Juxtaposition <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="restricted" linktext="MyiLibrary">http://www.myilibrary.com?id=435116</identifier></work><work id="6416177" url="/work/6416177"><troveUrl>http://trove.nla.gov.au/work/6416177</troveUrl><title>Out of Phaze / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1987-1990</issued><type>Book</type><holdingsCount>15</holdingsCount><versionCount>6</versionCount><relevance score="13.838823">very relevant</relevance><snippet>Out of phaze. Out of Phaze by <b>Piers</b> <b>Anthony</b>. Hardcover Out of Phaze / by <b>Piers</b> <b>Anthony</b>. Out</snippet><identifier type="url" linktype="unknown" linktext="Additional information and access via Open Library">https://openlibrary.org/books/OL2731358M</identifier></work><work id="24315457" url="/work/24315457"><troveUrl>http://trove.nla.gov.au/work/24315457</troveUrl><title>Letters to Jenny / Piers Anthony ; edited by Alan Riggs</title><contributor>Anthony, Piers</contributor><issued>1993-2014</issued><type>Book</type><holdingsCount>8</holdingsCount><versionCount>4</versionCount><relevance score="13.803001">very relevant</relevance><snippet>Letters to Jenny [electronic resource]. Letters to Jenny / <b>Piers</b> <b>Anthony</b> ; edited by Alan Riggs</snippet><identifier type="url" linktype="restricted" linktext="View Full Text">http://ebookcentral.proquest.com/lib/ucm/detail.action?docID=1799596</identifier></work><work id="16028350" url="/work/16028350"><troveUrl>http://trove.nla.gov.au/work/16028350</troveUrl><title>Earth / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1967-1996</issued><type>Book</type><holdingsCount>14</holdingsCount><versionCount>1</versionCount><relevance score="13.742256">very relevant</relevance><snippet>Earth / <b>Piers</b> <b>Anthony</b>. Originally published: London: Panther, 1972. </snippet></work><work id="11261645" url="/work/11261645"><troveUrl>http://trove.nla.gov.au/work/11261645</troveUrl><title>Currant events / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2004</issued><type>Book/Illustrated</type><type>Book</type><holdingsCount>14</holdingsCount><versionCount>1</versionCount><relevance score="13.713025">very relevant</relevance><snippet>Currant events / <b>Piers</b> <b>Anthony</b>. "When Clio, the Muse of History, sat down to pen the twenty-eighth</snippet></work><work id="8022145" url="/work/8022145"><troveUrl>http://trove.nla.gov.au/work/8022145</troveUrl><title>Chaos mode / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1993-2008</issued><type>Book</type><type>Audio book</type><holdingsCount>15</holdingsCount><versionCount>5</versionCount><relevance score="13.601303">very relevant</relevance><snippet>Chaos mode [electronic resource] / <b>Piers</b> <b>Anthony</b>. Chaos mode / <b>Piers</b> <b>Anthony</b>. Chaos mode <b>Piers</b></snippet><identifier type="url" linktype="unknown" linktext="Click for information">http://www.contentreserve.com/TitleInfo.asp?ID={07724041-D52A-4B8C-A783-8E0CA9C33493}&Format=25</identifier></work></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