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>computers play chess</query><zone name="book"><records s="0" n="20" total="759" next="/result?q=computers+play+chess&include=tags&zone=book&s=20"><work id="5826568" url="/work/5826568"><troveUrl>http://trove.nla.gov.au/work/5826568</troveUrl><title>How computers play chess / David Levy and Monty Newborn</title><contributor>Levy, David N. L. (David Neil Lawrence), 1945-</contributor><issued>1991</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>6</holdingsCount><versionCount>1</versionCount><relevance score="6.674085">very relevant</relevance><tag lastupdated="2009-11-01T19:47:31Z">Checkmate</tag><tag lastupdated="2009-11-01T19:47:31Z">Chess piece relative value</tag><tag lastupdated="2009-11-01T19:47:31Z">Computer chess</tag><tag lastupdated="2009-11-01T19:47:31Z">Deep Blue (chess computer)</tag><tag lastupdated="2009-11-01T19:47:31Z">Endgame tablebase</tag><tag lastupdated="2009-11-01T19:47:31Z">King and pawn versus king endgame</tag><tag lastupdated="2009-11-01T19:47:31Z">List of chess books, A-L</tag><tag lastupdated="2009-11-01T19:47:31Z">List of chess books, M-Z</tag><tag lastupdated="2009-11-01T19:47:31Z">Ply (game theory)</tag></work><work id="203931469" url="/work/203931469"><troveUrl>http://trove.nla.gov.au/work/203931469</troveUrl><title>Play winning chess against computers : anti-computer chess openings, strategy and tactics / National master Eric Dana</title><contributor>Dana, Eric</contributor><issued>2015</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>1</holdingsCount><versionCount>1</versionCount><relevance score="1.5194395">likely to be relevant</relevance><snippet><b>Play</b> winning <b>chess</b> against <b>computers</b> : anti-<b>computer</b> <b>chess</b> openings, strategy</snippet></work><work id="36372267" url="/work/36372267"><troveUrl>http://trove.nla.gov.au/work/36372267</troveUrl><title>How to play chess / Daniel King</title><contributor>King, Daniel</contributor><issued>2009</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>24</holdingsCount><versionCount>1</versionCount><relevance score="0.7397871">may have relevance</relevance><snippet>How to <b>play</b> <b>chess</b> / Daniel King. Includes bibliographical references and index. Formerly CIP. Uk</snippet></work><work id="32389265" url="/work/32389265"><troveUrl>http://trove.nla.gov.au/work/32389265</troveUrl><title>Learn to play winning chess : history, rules, skills and tactics / John Saunders</title><contributor>Saunders, John</contributor><issued>2007-2011</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>25</holdingsCount><versionCount>2</versionCount><relevance score="0.7041154">may have relevance</relevance><snippet>Learn to <b>play</b> winning <b>chess</b> : history, rules, skills and tactics / John Saunders. Includes</snippet></work><work id="214421880" url="/work/214421880"><troveUrl>http://trove.nla.gov.au/work/214421880</troveUrl><title>How to play chess / Claire Summerscale</title><contributor>Summerscale, Claire</contributor><issued>2006-2016</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>16</holdingsCount><versionCount>2</versionCount><relevance score="0.68557477">may have relevance</relevance><snippet>How to <b>play</b> <b>chess</b> / Claire Summerscale. <b>Chess</b> Follow the easy steps to grandmaster greatness</snippet><identifier type="url" linktype="unknown" linktext="Image">http://ebook.3m.com/delivery/img?type=DOCUMENTIMAGE&documentID=mxgysr9&token=nobody</identifier></work><work id="17623399" url="/work/17623399"><troveUrl>http://trove.nla.gov.au/work/17623399</troveUrl><title>The everything chess basics book / by the U.S. Chess Federation and Peter Kurzdorfer</title><contributor>Kurzdorfer, Peter</contributor><issued>2003</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>24</holdingsCount><versionCount>2</versionCount><relevance score="0.6393417">may have relevance</relevance><snippet> and moves, and discusses <b>chess</b> <b>computers</b>, clubs, exhibitions, and recordkeeping. Includes index. </snippet><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=418119</identifier></work><work id="11028618" url="/work/11028618"><troveUrl>http://trove.nla.gov.au/work/11028618</troveUrl><title>The world computer chess championship, Stockholm 1974 / Jean E. Hayes, David N. L. Levy</title><contributor>Hayes, Jean E</contributor><issued>1976</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>11</holdingsCount><versionCount>1</versionCount><relevance score="0.57504386">may have relevance</relevance><snippet>The world <b>computer</b> <b>chess</b> championship, Stockholm 1974 / Jean E. Hayes, David N. L. Levy</snippet></work><work id="160550969" url="/work/160550969"><troveUrl>http://trove.nla.gov.au/work/160550969</troveUrl><title>Chess for the gifted and busy : a short but comprehensive course-- from beginner to expert / by Lev Alburt and Al Lawrence</title><contributor>Alburt, Lev</contributor><issued>2011-2015</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>29</holdingsCount><versionCount>4</versionCount><relevance score="0.5657688">may have relevance</relevance><snippet> Rules of <b>Play</b> -- Lesson Two How to Win <b>Chess</b> Games -- Level II -- Lesson Three When a King Is Home Alone</snippet><identifier type="url" linktype="unknown" linktext="Excerpt">http://samples.overdrive.com/?crid=872236b1-cbcd-49ef-8da8-cfa0cc4b4043&.epub-sample.overdrive.com</identifier></work><work id="6384143" url="/work/6384143"><troveUrl>http://trove.nla.gov.au/work/6384143</troveUrl><title>The right way to play chess / David Pritchard</title><contributor>Pritchard, D. Brine (David Brine)</contributor><issued>1950-2008</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>18</holdingsCount><versionCount>9</versionCount><relevance score="0.5460187">may have relevance</relevance><snippet>The right way to <b>play</b> <b>chess</b> / D. B. Pritchard. David Pritchard's The right way to <b>play</b> <b>chess</b></snippet><tag lastupdated="2009-11-01T19:53:48Z">David Pritchard (chess writer)</tag><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=695519</identifier></work><work id="19621975" url="/work/19621975"><troveUrl>http://trove.nla.gov.au/work/19621975</troveUrl><title>Chess / Claire Summerscale</title><contributor>Summerscale, Claire</contributor><issued>2006-2008</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>60</holdingsCount><versionCount>3</versionCount><relevance score="0.5142255">may have relevance</relevance><snippet><b>Chess</b> [electronic resource] / Claire Summerscale. <b>Chess</b> / Claire Summerscale. <b>Chess</b> Claire</snippet><identifier type="url" linktype="restricted" linktext="MyiLibrary">http://www.myilibrary.com?id=203862</identifier></work><work id="10087345" url="/work/10087345"><troveUrl>http://trove.nla.gov.au/work/10087345</troveUrl><title>Play chess Fritz 8</title><issued>2003</issued><holdingsCount>6</holdingsCount><versionCount>1</versionCount><relevance score="0.5021694">may have relevance</relevance><snippet><b>Play</b> <b>chess</b> Fritz 8 <b>Play</b> <b>chess</b> : Fritz 8. <b>Play</b> <b>chess</b> Fritz 8 [electronic resource]. <b>Play</b> <b>chess</b></snippet></work><work id="16156969" url="/work/16156969"><troveUrl>http://trove.nla.gov.au/work/16156969</troveUrl><title>Chess for dummies / by James Eade</title><contributor>Eade, James</contributor><issued>1900-2016</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>47</holdingsCount><versionCount>10</versionCount><relevance score="0.47496596">limited relevance</relevance><snippet> the game. You'll also find updated information on tournaments and top players, as well as <b>computer</b> <b>chess</b> games and <b>playing</b></snippet><tag lastupdated="2009-11-01T20:03:40Z">Check (chess)</tag><tag lastupdated="2009-11-01T19:48:38Z">Deep Blue – Kasparov, 1996, Game 1</tag><tag lastupdated="2009-11-01T19:48:38Z">Evergreen game</tag><tag lastupdated="2009-11-01T19:48:38Z">Immortal Game</tag><tag lastupdated="2009-11-01T19:48:38Z">James Eade</tag><tag lastupdated="2009-11-01T19:48:38Z">List of chess books, A-L</tag><tag lastupdated="2009-11-01T19:48:38Z">The Game of the Century (chess)</tag><identifier type="url" linktype="restricted" linktext="View eBook details">http://ebooks.library.act.gov.au/ContentDetails.htm?ID=9E8571B6-677D-4CC4-ACB8-F37D5EBD94D0</identifier></work><work id="10087334" url="/work/10087334"><troveUrl>http://trove.nla.gov.au/work/10087334</troveUrl><title>Learn to play chess with Fritz & Chesster</title><issued>2003</issued><holdingsCount>9</holdingsCount><versionCount>2</versionCount><relevance score="0.44085494">limited relevance</relevance><snippet>Learn to <b>play</b> <b>chess</b> with Fritz & Chesster Learn to <b>play</b> <b>chess</b> with Fritz & Chesster [electronic</snippet></work><work id="6258377" url="/work/6258377"><troveUrl>http://trove.nla.gov.au/work/6258377</troveUrl><title>Computers, chess, and cognition / T. Anthony Marsland, Jonathan Schaeffer, editors ; foreword by Ken Thompson</title><contributor>Marsland, T. Anthony</contributor><issued>1990</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>7</holdingsCount><versionCount>2</versionCount><relevance score="0.36870623">limited relevance</relevance><snippet><b>Computers</b>, <b>Chess</b>, and Cognition edited by T. Anthony Marsland, Jonathan Schaeffer. <b>Computers</b>, <b>chess</b></snippet><identifier type="url" linktype="restricted" linktext="SpringerLink">http://dx.doi.org/10.1007/978-1-4613-9080-0</identifier></work><work id="13533163" url="/work/13533163"><troveUrl>http://trove.nla.gov.au/work/13533163</troveUrl><title>The complete idiot's guide to chess / by Patrick Wolff</title><contributor>Wolff, Patrick</contributor><issued>1900-2005</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>34</holdingsCount><versionCount>9</versionCount><relevance score="0.3546474">limited relevance</relevance><snippet> <b>play</b> <b>chess</b> -- Part 2: Tactics -- Part 3: Strategy -- Part 4: Beyond the basics -- Appendixes. Clever</snippet><tag lastupdated="2009-11-02T14:23:45Z">List of chess openings named after animals</tag><tag lastupdated="2009-11-02T14:23:45Z">Sicilian Defence, Dragon Variation</tag><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=69476</identifier></work><work id="20988213" url="/work/20988213"><troveUrl>http://trove.nla.gov.au/work/20988213</troveUrl><title>Learn to play chess 2 with Fritz & Chesster</title><contributor>Möllers & Bellinghausen (Firm)</contributor><issued>2004</issued><holdingsCount>5</holdingsCount><versionCount>1</versionCount><relevance score="0.3461088">limited relevance</relevance><snippet>); Windows 98/ME/XP. CD-ROM. For ages 8 and up. Jump into <b>chess</b> action, move by move, to rescue Chesster</snippet></work><work id="13395499" url="/work/13395499"><troveUrl>http://trove.nla.gov.au/work/13395499</troveUrl><title>How to play chess like a champion / by Fred Reinfeld</title><contributor>Reinfeld, Fred, 1910-1964</contributor><issued>1956-2013</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>7</holdingsCount><versionCount>3</versionCount><relevance score="0.31954208">limited relevance</relevance><snippet>How to <b>play</b> <b>chess</b> like a champion. / Drawings by Peter Estin. How to <b>play</b> <b>chess</b> like</snippet><identifier type="url" linktype="restricted" linktext="EBSCOhost">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=600603</identifier></work><work id="11329457" url="/work/11329457"><troveUrl>http://trove.nla.gov.au/work/11329457</troveUrl><title>The machine plays chess? / By Alex G. Bell</title><contributor>Bell, A. G</contributor><issued>1978</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>15</holdingsCount><versionCount>1</versionCount><relevance score="0.31130314">limited relevance</relevance><snippet>The machine <b>plays</b> <b>chess</b>? / By Alex G. Bell. Includes index. Bibliography: p. 111. </snippet></work><work id="8247637" url="/work/8247637"><troveUrl>http://trove.nla.gov.au/work/8247637</troveUrl><title>Behind deep blue : building the computer that defeated the world chess champion / Feng-hsiung Hsu</title><contributor>Hsu, Feng-hsiung, 1959-</contributor><issued>2002-2004</issued><type>Book</type><type>Book/Illustrated</type><holdingsCount>9</holdingsCount><versionCount>3</versionCount><relevance score="0.29669803">limited relevance</relevance><snippet> In 1949 Claude Shannon made his proposal on how to program a <b>computer</b> to <b>play</b> <b>chess</b> Since then thousands of <b>computer</b></snippet><tag lastupdated="2009-11-01T19:47:04Z">Chess</tag><tag lastupdated="2009-11-01T19:47:04Z">ChipTest</tag><tag lastupdated="2009-11-01T19:47:04Z">Computer chess</tag><tag lastupdated="2009-11-01T19:47:04Z">Deep Blue (chess computer)</tag><tag lastupdated="2009-11-01T19:47:04Z">Deep Blue versus Garry Kasparov</tag><tag lastupdated="2009-11-01T19:47:04Z">Deep Thought (chess computer)</tag><tag lastupdated="2009-11-01T19:47:04Z">Feng-hsiung Hsu</tag><tag lastupdated="2009-11-01T19:47:04Z">Garry Kasparov</tag><tag lastupdated="2009-11-02T14:23:45Z">History of IBM</tag><tag lastupdated="2009-11-01T19:47:04Z">List of chess books, A-L</tag><tag lastupdated="2009-11-01T19:47:04Z">The Turk</tag><tag lastupdated="2009-11-01T19:47:04Z">Threefold repetition</tag><identifier type="url" linktype="fulltext" linktext="Direct link to full text: http://openlibrary.org/details/behinddeepbluebu00hsuf_853">http://openlibrary.org/books/OL7758140M</identifier></work><work id="190819133" url="/work/190819133"><troveUrl>http://trove.nla.gov.au/work/190819133</troveUrl><title>All about chess and computers : Chess and computers and more chess and computers</title><contributor>LEVY, D</contributor><issued>2013</issued><type>Book</type><holdingsCount>0</holdingsCount><versionCount>1</versionCount><relevance score="0.29459897">limited relevance</relevance><snippet>Machine generated contents note: 1.<b>Chess</b> Machines -- 2.How <b>Computers</b> <b>Play</b> <b>Chess</b> -- 3</snippet></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