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="826" next="/result?q=piers+anthony&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.95106">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.558594">very relevant</relevance><snippet><b>Piers</b> <b>Anthony</b> / Michael R. Collings. Includes bibliographies and index. </snippet></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.179531">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="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.728523">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="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="16.997236">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="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.847437">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="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.919745">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.799082">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.7709675">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.724117">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.695482">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.568121">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><work id="12973718" url="/work/12973718"><troveUrl>http://trove.nla.gov.au/work/12973718</troveUrl><title>Robot adept / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1988-1998</issued><type>Book</type><type>Book/Illustrated</type><type>Audio book</type><holdingsCount>15</holdingsCount><versionCount>8</versionCount><relevance score="13.390334">very relevant</relevance><snippet>Robot Adept / <b>Piers</b> <b>Anthony</b>. Robot Adept by <b>Piers</b> <b>Anthony</b>. Robot Adept by <b>Piers</b> <b>Anthony</b>. Hardcover</snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/robotadept00anth">http://openlibrary.org/books/OL2389898M</identifier></work><work id="29782142" url="/work/29782142"><troveUrl>http://trove.nla.gov.au/work/29782142</troveUrl><title>Pet peeve / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2005-2006</issued><type>Book</type><holdingsCount>16</holdingsCount><versionCount>3</versionCount><relevance score="13.352569">very relevant</relevance><snippet>Pet peeve / <b>Piers</b> <b>Anthony</b>. Pet Peeve by <b>Piers</b> <b>Anthony</b>. Pet Peeve by <b>Piers</b> <b>Anthony</b>. Hardcover Pet</snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/petpeeve00anth">http://openlibrary.org/books/OL3421362M</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>16</holdingsCount><versionCount>9</versionCount><relevance score="13.33004">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="18832046" url="/work/18832046"><troveUrl>http://trove.nla.gov.au/work/18832046</troveUrl><title>Bearing an hourglass / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1983-1996</issued><type>Book</type><type>Audio book</type><holdingsCount>18</holdingsCount><versionCount>10</versionCount><relevance score="13.024535">very relevant</relevance><snippet>Bearing an hourglass [electronic resource] / <b>Piers</b> <b>Anthony</b>. Bearing an hourglass <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=733019</identifier></work><work id="25132810" url="/work/25132810"><troveUrl>http://trove.nla.gov.au/work/25132810</troveUrl><title>Two to the fifth / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2008-2009</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>22</holdingsCount><versionCount>4</versionCount><relevance score="12.963222">very relevant</relevance><snippet>Two to the fifth / <b>Piers</b> <b>Anthony</b>. 2 to the 5th Two to the fifth. Two to the fifth <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="unknown" linktext="Image">http://images.contentreserve.com/ImageType-100/2390-1/{2B43D2DB-F8DC-41DE-A6FA-5BA853EA72EA}Img100.jpg</identifier></work><work id="17449505" url="/work/17449505"><troveUrl>http://trove.nla.gov.au/work/17449505</troveUrl><title>Phaze doubt / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1987-1995</issued><type>Book</type><type>Audio book</type><type>Book/Illustrated</type><holdingsCount>12</holdingsCount><versionCount>7</versionCount><relevance score="12.310879">very relevant</relevance><snippet>Phaze doubt / <b>Piers</b> <b>Anthony</b>. Phaze doubt [sound recording] / <b>Piers</b> <b>Anthony</b>. Phaze Doubt by <b>Piers</b></snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/phazedoubt00anth_0">http://openlibrary.org/books/OL2202515M</identifier></work><work id="22292356" url="/work/22292356"><troveUrl>http://trove.nla.gov.au/work/22292356</troveUrl><title>Centaur aisle / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1981-2002</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>17</holdingsCount><versionCount>7</versionCount><relevance score="12.243011">very relevant</relevance><snippet>Centaur aisle / <b>Piers</b> <b>Anthony</b>. Centaur aisle [electronic resource] / <b>Piers</b> <b>Anthony</b>. Centaur Aisle</snippet><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=733978</identifier></work><work id="10696474" url="/work/10696474"><troveUrl>http://trove.nla.gov.au/work/10696474</troveUrl><title>Fractal mode</title><contributor>Anthony, Piers</contributor><issued>1992-2008</issued><type>Book</type><type>Audio book</type><holdingsCount>17</holdingsCount><versionCount>7</versionCount><relevance score="12.226157">very relevant</relevance><snippet>Fractal mode / <b>Piers</b> <b>Anthony</b>. Fractal mode <b>Piers</b> <b>Anthony</b> Fractal mode [electronic resource] / <b>Piers</b></snippet><identifier type="url" linktype="unknown" linktext="Click for information">http://www.contentreserve.com/TitleInfo.asp?ID={1DD34420-301C-412E-A0D4-09E46E24A4A3}&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