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="324" next="/result?q=%22piers+anthony%22&zone=book&s=20"><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.292906">very relevant</relevance><snippet><b>Piers</b> <b>Anthony</b> / Michael R. Collings. Includes bibliographies and index. </snippet></work><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>13</holdingsCount><versionCount>5</versionCount><relevance score="29.992037">very relevant</relevance><snippet>Night mare. Night mare Nightmare Night mare / Night mare [electronic resource] / <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=734266</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.631855">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="19.163607">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="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="17.164696">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="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="14.051192">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="14.021643">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.884128">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="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.66618">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="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.328783">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="13.259523">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.602317">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.5351">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="22432601" url="/work/22432601"><troveUrl>http://trove.nla.gov.au/work/22432601</troveUrl><title>Hope of earth / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1997</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>16</holdingsCount><versionCount>3</versionCount><relevance score="12.46151">very relevant</relevance><snippet>Hope of Earth by <b>Piers</b> <b>Anthony</b>. Hope of earth / <b>Piers</b> <b>Anthony</b>. Hope of Earth by <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="unknown">http://rbdigital.oneclickdigital.com</identifier></work><work id="6251261" url="/work/6251261"><troveUrl>http://trove.nla.gov.au/work/6251261</troveUrl><title>Virtual mode / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1991-2008</issued><type>Book</type><type>Audio book</type><holdingsCount>16</holdingsCount><versionCount>8</versionCount><relevance score="12.423713">very relevant</relevance><snippet>Virtual mode <b>Piers</b> <b>Anthony</b> ; read by Mark Winston. Virtual mode by <b>Piers</b> <b>Anthony</b>. Virtual mode</snippet><identifier type="url" linktype="unknown" linktext="Click for information">http://www.contentreserve.com/TitleInfo.asp?ID={C07D80BE-4389-41F0-B557-F1D104B3EFBE}&Format=25</identifier></work><work id="6676262" url="/work/6676262"><troveUrl>http://trove.nla.gov.au/work/6676262</troveUrl><title>Unicorn Point / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1989-1992</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>14</holdingsCount><versionCount>5</versionCount><relevance score="12.240039">very relevant</relevance><snippet>Unicorn point / <b>Piers</b> <b>Anthony</b>. Unicorn point. Unicorn point / <b>Anthony</b> <b>Piers</b>. Unicorn Point / <b>Piers</b></snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/unicornpoint00anth">http://openlibrary.org/books/OL24754994M</identifier></work><work id="10595047" url="/work/10595047"><troveUrl>http://trove.nla.gov.au/work/10595047</troveUrl><title>Harpy thyme / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1993-1995</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>16</holdingsCount><versionCount>5</versionCount><relevance score="12.185123">very relevant</relevance><snippet>Harpy thyme : Xanth series. Harpy thyme / <b>Piers</b> <b>Anthony</b>. A Magic of Xanth novel. "A Tom Doherty</snippet></work><work id="20359562" url="/work/20359562"><troveUrl>http://trove.nla.gov.au/work/20359562</troveUrl><title>Question quest / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1991-2009</issued><type>Book</type><holdingsCount>12</holdingsCount><versionCount>6</versionCount><relevance score="11.746474">very relevant</relevance><snippet>Question quest [electronic resource] / <b>Piers</b> <b>Anthony</b>. Question quest / <b>Piers</b> <b>Anthony</b> ; <b>Piers</b></snippet><identifier type="url" linktype="unknown" linktext="US Mobipocket Reader users click here for information">http://www.contentreserve.com/TitleInfo.asp?ID={43843A9A-BC00-4565-99B9-A4C315721C86}&Format=900</identifier></work><work id="31214449" url="/work/31214449"><troveUrl>http://trove.nla.gov.au/work/31214449</troveUrl><title>The Dastard / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>2000-2001</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>12</holdingsCount><versionCount>4</versionCount><relevance score="11.663812">very relevant</relevance><snippet>The dastard : Xanth series. The Dastard / <b>Piers</b> <b>Anthony</b>. The Dastard <b>Piers</b> <b>Anthony</b></snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/dastardanth00anth">http://openlibrary.org/books/OL6782465M</identifier></work><work id="14631944" url="/work/14631944"><troveUrl>http://trove.nla.gov.au/work/14631944</troveUrl><title>Geis of the gargoyle / Piers Anthony</title><contributor>Anthony, Piers</contributor><issued>1994-1995</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>14</holdingsCount><versionCount>5</versionCount><relevance score="11.322764">very relevant</relevance><snippet>Geis of the Gargoyle / <b>Piers</b> <b>Anthony</b>. Geis of the Gargoyle <b>Piers</b> <b>Anthony</b>. Geis</snippet><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/geisofgargoyle00anth">http://openlibrary.org/books/OL1115008M</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