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.

          {"response":{"query":"returning soldiers","zone":[{"name":"newspaper","records":{"s":"0","n":"20","total":"174495","next":"\/result?l-category=Article&l-decade=191&q=returning+soldiers+&l-year=1919&encoding=json&zone=newspaper&s=20","article":[{"id":"116084208","url":"\/newspaper\/116084208","heading":"SOLDIERS RETURNING","category":"Article","title":{"id":"508","value":"Evening News (Sydney, NSW : 1869 - 1931)"},"date":"1919-08-20","page":4,"pageSequence":4,"relevance":{"score":"7.5266824","value":"very relevant"},"snippet":"... <strong>SOLDIERS<\/strong> <strong>RETURNING<\/strong> [?] UmmM ^^^^^^B^aB^[|W^r^SSn^9lMu^*B9nunK«sssE^K ?.raiHsSt.^m^^S^^.^^^^fFr'^S^^                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/116084208?searchTerm=returning+soldiers"},{"id":"119229603","url":"\/newspaper\/119229603","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"472","value":"The Braidwood Dispatch and Mining Journal (NSW : 1888 - 1954)"},"date":"1919-05-30","page":7,"pageSequence":7,"relevance":{"score":"7.4832745","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> The <strong>soldiers<\/strong> <strong>returning<\/strong> by the Warwickshire will disembark to-morrow. morrow.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/119229603?searchTerm=returning+soldiers"},{"id":"77748727","url":"\/newspaper\/77748727","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"276","value":"Border Watch (Mount Gambier, SA : 1861 - 1954)"},"date":"1919-01-21","page":3,"pageSequence":3,"relevance":{"score":"7.482442","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> <strong>Returning<\/strong> <strong>soldiers<\/strong> by the Argyleshire are expected to disembark at Adelaide to-morrow morning, 22nd inst.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/77748727?searchTerm=returning+soldiers"},{"id":"116080434","url":"\/newspaper\/116080434","heading":"RETURNING SOLDIERS","category":"Article","title":{"id":"508","value":"Evening News (Sydney, NSW : 1869 - 1931)"},"date":"1919-09-05","page":5,"pageSequence":5,"relevance":{"score":"7.4558687","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS<\/strong> [?] ? -.??? I ?'.-? .' -.' if I :? ? .-. -. ? -. IViinti W i 'I '' ? ' ? I- -? ?? ?: ?? ?? ! .11. . 11,1                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/116080434?searchTerm=returning+soldiers"},{"id":"189271965","url":"\/newspaper\/189271965","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"983","value":"The Armidale Chronicle (NSW : 1894 - 1929)"},"date":"1919-08-27","page":4,"pageSequence":4,"relevance":{"score":"7.4329247","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> Two more batches of returned <strong>soldiers<\/strong> lauded at Sydney this morning.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/189271965?searchTerm=returning+soldiers"},{"id":"119231452","url":"\/newspaper\/119231452","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"472","value":"The Braidwood Dispatch and Mining Journal (NSW : 1888 - 1954)"},"date":"1919-07-18","page":2,"pageSequence":2,"relevance":{"score":"7.4167786","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> The <strong>soldiers<\/strong> <strong>returning<\/strong> by the Somali will disembark on Friday. The men coming by the Maiha disembark on Sunday.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/119231452?searchTerm=returning+soldiers"},{"id":"72992182","url":"\/newspaper\/72992182","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"225","value":"The Horsham Times (Vic. : 1882 - 1954)"},"date":"1919-01-21","page":5,"pageSequence":5,"relevance":{"score":"7.405002","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDI:ERS.<\/strong> Seven transports with <strong>returning<\/strong> <strong>soldiers<\/strong> are respected lepected to arrive within the next week                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/72992182?searchTerm=returning+soldiers"},{"id":"1414196","url":"\/newspaper\/1414196","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"13","value":"The Argus (Melbourne, Vic. : 1848 - 1957)"},"date":"1919-01-08","page":6,"pageSequence":6,"relevance":{"score":"7.4050016","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> <strong>Returning<\/strong> <strong>soldiers<\/strong> of List \"E\" will reach Melbourne on board the Somerset about January 14.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/1414196?searchTerm=returning+soldiers"},{"id":"153253389","url":"\/newspaper\/153253389","heading":"Returning Soldiers","category":"Article","title":{"id":"742","value":"Daily Telegraph (Launceston, Tas. : 1883 - 1928)"},"date":"1919-11-15","page":6,"pageSequence":6,"relevance":{"score":"7.352011","value":"very relevant"},"snippet":"... <strong>Returning<\/strong> <strong>Soldiers:<\/strong> <strong>again    <\/strong>                 ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/153253389?searchTerm=returning+soldiers"},{"id":"114275583","url":"\/newspaper\/114275583","heading":"RETURNING SOLDIERS [?]","category":"Article","title":{"id":"508","value":"Evening News (Sydney, NSW : 1869 - 1931)"},"date":"1919-02-13","page":3,"pageSequence":3,"relevance":{"score":"7.346352","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS<\/strong> [?] [?] Somali [?] ? ?i ',.;.'.'- .'. ...... -? r.{ ,j 1- ???? ??' Vl ' '?'?'-'?' U ? l,,..m.i. ,!..., A, , ' ? '? ??'' ' '??- ?''????- ''?» I' ?i»':n I ?' ,'.'.' \\ '.,',' i'.'».!,' ;': rr''n.,';Ir.;r!, V.'..'1 ! ? '????' '????'?? 'n '??'? ''??''                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/114275583?searchTerm=returning+soldiers"},{"id":"212645725","url":"\/newspaper\/212645725","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"185","value":"The Ballarat Star (Vic. : 1865 - 1924)"},"date":"1919-07-01","page":1,"pageSequence":1,"relevance":{"score":"7.346352","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> GILHOOLEY.-Private Edgar Gilhooley hooley will arrive by the first express this evening.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/212645725?searchTerm=returning+soldiers"},{"id":"60909661","url":"\/newspaper\/60909661","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"89","value":"The Register (Adelaide, SA : 1901 - 1929)"},"date":"1919-04-15","page":5,"pageSequence":5,"relevance":{"score":"7.33556","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> <strong> &n<\/strong>bsp; The following are <strong>returning<\/strong> on the  Janus:- No. 3375, Pte. R. L. Nieass. 2nd Light Horse, and No. 23051, Sap. E.W. Willshire, Wireless Signalling Squadron.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/60909661?searchTerm=returning+soldiers"},{"id":"12399456","url":"\/newspaper\/12399456","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"10","value":"The Mercury (Hobart, Tas. : 1860 - 1954)"},"date":"1919-04-07","page":4,"pageSequence":4,"relevance":{"score":"7.3275933","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> The Hon. G. T. Collins, M.L.C. chairman man of the Northern Red Cross Division, has received intimation that 59 <strong>returning<\/strong> ing <strong>soldiers<\/strong> will arrive ive by the Loongana at Launceston on Wednesday.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/12399456?searchTerm=returning+soldiers"},{"id":"60544746","url":"\/newspaper\/60544746","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"89","value":"The Register (Adelaide, SA : 1901 - 1929)"},"date":"1919-01-02","page":4,"pageSequence":4,"relevance":{"score":"7.327562","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> The <strong>returning<\/strong> <strong>soldiers,<\/strong> whose names appeared in list F. will arrive from Melbourne bourne at the North Terrace Railway Station tion at 12.55 p.m. to-day, instead of at a quarter past 12, as advised Drevioni,!^.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/60544746?searchTerm=returning+soldiers"},{"id":"92987037","url":"\/newspaper\/92987037","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"81","value":"Northern Star (Lismore, NSW : 1876 - 1954)"},"date":"1919-04-26","page":5,"pageSequence":5,"relevance":{"score":"7.327562","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> SYDNEY, <strong>Friday.-Returning<\/strong> <strong>soldiers<\/strong> will no longer \"be compelled to undergo quarantine in Sydney if the vessels , on which they are travelling have been free of influenza from Fremantle.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/92987037?searchTerm=returning+soldiers"},{"id":"212647431","url":"\/newspaper\/212647431","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"185","value":"The Ballarat Star (Vic. : 1865 - 1924)"},"date":"1919-07-22","page":2,"pageSequence":2,"relevance":{"score":"7.327562","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> HENDERSON.-Driver A. N. Benderson, son, who was taken on to Adelaide with the <strong>returning<\/strong> <strong>soldiers<\/strong> special train on Thursday last, is leaving by the express ( \/n W«Hinpsday next, and will arrivo on Fhnrsday morning, duo at 7.27 a in.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/212647431?searchTerm=returning+soldiers"},{"id":"120557396","url":"\/newspaper\/120557396","heading":"SOLDIERS RETURNING.","category":"Article","title":{"id":"378","value":"Queensland Times (Ipswich, Qld. : 1909 - 1954)"},"edition":"DAILY.","date":"1919-08-02","page":6,"pageSequence":"6 S","relevance":{"score":"7.314649","value":"very relevant"},"snippet":"... <strong>Themistocl<\/strong>es.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/120557396?searchTerm=returning+soldiers"},{"id":"92973880","url":"\/newspaper\/92973880","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"81","value":"Northern Star (Lismore, NSW : 1876 - 1954)"},"date":"1919-01-10","page":5,"pageSequence":5,"relevance":{"score":"7.314318","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> MELBOURNE,' Thursday.-Between the ''tW middle and the end of January .13 transports ports are due [?] 1 Australia with about 14,000 returned <strong>soldiers.<\/strong>                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/92973880?searchTerm=returning+soldiers"},{"id":"146434881","url":"\/newspaper\/146434881","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"714","value":"The Mount Barker Courier and Onkaparinga and Gumeracha Advertiser (SA : 1880 - 1954)"},"date":"1919-06-06","page":4,"pageSequence":4,"relevance":{"score":"7.3069053","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> Among the <strong>soldiers<\/strong> who have returned during the week are Private Gordon Pike,  M.M., McAuliffe and Garner, the two latter  of Monteith.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/146434881?searchTerm=returning+soldiers"},{"id":"189267410","url":"\/newspaper\/189267410","heading":"RETURNING SOLDIERS.","category":"Article","title":{"id":"983","value":"The Armidale Chronicle (NSW : 1894 - 1929)"},"date":"1919-01-22","page":4,"pageSequence":4,"relevance":{"score":"7.304634","value":"very relevant"},"snippet":"... <strong>RETURNING<\/strong> <strong>SOLDIERS.<\/strong> Six transports, carrying Australian <strong>soldiers,<\/strong> are now approaching the Australian tralian Coast. Wireless messages state that all are well on hoard.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/189267410?searchTerm=returning+soldiers"}]}}]}}
        

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