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":"\"The Somme\"","zone":[{"name":"newspaper","records":{"s":"0","n":"20","total":"32356","next":"\/result?l-category=Article&q=%22The+Somme%22&l-decade=191&l-year=1916&encoding=json&zone=newspaper&s=20","article":[{"id":"185343925","url":"\/newspaper\/185343925","heading":"THE SOMME.","category":"Article","title":{"id":"904","value":"The Inverell Times (NSW : 1899 - 1954)"},"date":"1916-11-03","page":4,"pageSequence":4,"relevance":{"score":"5.2545347","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME.<\/strong> ??-..A Paris communique says: North of <strong>the<\/strong> <strong>Somme<\/strong> we made importa[?]t gains ?during the day after night successes. North-east of Leshou[?] 'we capaured wo enemy trenches and 125 prisoners.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/185343925?searchTerm=%22The+Somme%22"},{"id":"185343317","url":"\/newspaper\/185343317","heading":"THE SOMME.","category":"Article","title":{"id":"904","value":"The Inverell Times (NSW : 1899 - 1954)"},"date":"1916-11-17","page":4,"pageSequence":4,"relevance":{"score":"5.247283","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME.<\/strong> A Paris communique says: A battle has been proceeding all day on <strong>the<\/strong> <strong>Somme<\/strong> front simultaneously. The Germans were baffled by the French resistance, and only gained very limit ed advantages, which cost heavy losses. An attack north of <strong>the<\/strong> <strong>Somme<\/strong> was made afler an intense bombardment from ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/185343317?searchTerm=%22The+Somme%22"},{"id":"155687415","url":"\/newspaper\/155687415","heading":"THE SOMME","category":"Article","title":{"id":"717","value":"Benalla Standard (Vic. : 1901 - 1925)"},"date":"1916-10-27","page":3,"pageSequence":3,"relevance":{"score":"5.2048445","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> [BY REUTER.] Sir Douglas Haig reports that the  enemy artillery has been active north east of Courcellette and Pozieres-Bapaume road. [PUBLISHED IN THE \"TIMES,\"] Sir Douglas Haig reports:-\"South of  Ancre the enemy artillery has been active, north-east in the neighbornood of ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/155687415?searchTerm=%22The+Somme%22"},{"id":"136020407","url":"\/newspaper\/136020407","heading":"THE SOMME.","category":"Article","title":{"id":"643","value":"Dungog Chronicle : Durham and Gloucester Advertiser (NSW : 1894 - 1954)"},"date":"1916-09-05","page":2,"pageSequence":2,"relevance":{"score":"5.1969748","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME.<\/strong>    Great artillery activity prevails;   gas was liberated on the Ypres salient sali- ent with good results. French raiding  ing continues with the capture of many prisoners. The enemy shot 38  out of 40 prisoners who were taken by the ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/136020407?searchTerm=%22The+Somme%22"},{"id":"60615660","url":"\/newspaper\/60615660","heading":"THE SOMME.","category":"Article","title":{"id":"89","value":"The Register (Adelaide, SA : 1901 - 1929)"},"date":"1916-08-23","page":6,"pageSequence":6,"relevance":{"score":"5.187754","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME.<\/strong> <strong>The<\/strong> <strong>Somme,<\/strong> which is eo much in our minds just now, is not one of the great rivers even of Europe, for it is little more than 100 miles long. Away from the sea and in the district where the fighting is going on it is a pleasant stream with, in places like Abbeville, pleasant walks along ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/60615660?searchTerm=%22The+Somme%22"},{"id":"92967560","url":"\/newspaper\/92967560","heading":"THE SOMME.","category":"Article","title":{"id":"81","value":"Northern Star (Lismore, NSW : 1876 - 1954)"},"date":"1916-08-28","page":6,"pageSequence":6,"relevance":{"score":"5.185941","value":"very relevant"},"snippet":"... <strong>THE':<\/strong> <strong>SOMME.<\/strong> \"Where the - \"Wlibre' fh^ French and *the British' are gradually forcing .the ...  lillod with water froih. the anus of( <strong>the<\/strong>   <strong>Somme,<\/strong> and the town has • defied, so many assaults in th0 ...  farmers'coun try-good fat land and rich soil, and watered by <strong>the<\/strong> <strong>Somme<\/strong> and its numerous small tribu ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/92967560?searchTerm=%22The+Somme%22"},{"id":"1038680","url":"\/newspaper\/1038680","heading":"THE SOMME.","category":"Article","title":{"id":"10","value":"The Mercury (Hobart, Tas. : 1860 - 1954)"},"date":"1916-07-28","page":5,"pageSequence":5,"relevance":{"score":"5.185169","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME.<\/strong> Now that Pozieres is in the hands of the British, the next positions to be attacked are Theipval, to the west, Martinpuich, to the north-east, and Guillemont. The Territorials and Australians have already captured trenches on the Thiepval road. Advancing from Flers, the Germans have m ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/1038680?searchTerm=%22The+Somme%22"},{"id":"1614851","url":"\/newspaper\/1614851","heading":"THE SOMME FRONT.","category":"Article","title":{"id":"13","value":"The Argus (Melbourne, Vic. : 1848 - 1957)"},"date":"1916-07-12","page":9,"pageSequence":9,"relevance":{"score":"4.384239","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> FRONT.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/1614851?searchTerm=%22The+Somme%22"},{"id":"114368638","url":"\/newspaper\/114368638","heading":"THE SOMME BATTLE PICTURE:","category":"Article","title":{"id":"508","value":"Evening News (Sydney, NSW : 1869 - 1931)"},"date":"1916-10-17","page":3,"pageSequence":3,"relevance":{"score":"4.2897983","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> BATTLE PICTURE: [?] *ThT'fllm'l.''|l1l'.'V. .'., ;ii ?'?..'». - i                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/114368638?searchTerm=%22The+Somme%22"},{"id":"112998089","url":"\/newspaper\/112998089","heading":"ON THE SOMME.","category":"Article","title":{"id":"494","value":"Moree Gwydir Examiner and General Advertiser (NSW : 1901 - 1940)"},"date":"1916-08-08","page":2,"pageSequence":2,"relevance":{"score":"4.265956","value":"very relevant"},"snippet":"... ON <strong>THE<\/strong> <strong>SOMME.<\/strong> There is no change In the position tion on <strong>the<\/strong> <strong>somme<\/strong>                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/112998089?searchTerm=%22The+Somme%22"},{"id":"26991514","url":"\/newspaper\/26991514","heading":"THE SOMME CAMPAIGN.","category":"Article","title":{"id":"30","value":"The West Australian (Perth, WA : 1879 - 1954)"},"date":"1916-09-15","page":7,"pageSequence":7,"relevance":{"score":"4.2583175","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> CAMPAIGN. SCENE OF THE LATEST FRENCH ADVANCE.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/26991514?searchTerm=%22The+Somme%22"},{"id":"73920365","url":"\/newspaper\/73920365","heading":"THE SOMME BATTLE.","category":"Article","title":{"id":"227","value":"Warrnambool Standard (Vic. : 1914 - 1918)"},"edition":"DAILY.","date":"1916-11-07","page":4,"pageSequence":"4 S","relevance":{"score":"4.2436957","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> BATTLE. Star Pictures will -show by special arrangement the official film of <strong>the<\/strong> <strong>Somme<\/strong> une Battle on Wednesday night.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/73920365?searchTerm=%22The+Somme%22"},{"id":"154286234","url":"\/newspaper\/154286234","heading":"On the Somme.","category":"Article","title":{"id":"754","value":"Ararat Chronicle and Willaura and Lake Bolac Districts Recorder (Vic. : 1914 - 1918)"},"date":"1916-10-10","page":2,"pageSequence":2,"relevance":{"score":"4.2436957","value":"very relevant"},"snippet":"... On <strong>the<\/strong> <strong>Somme.<\/strong> A \/Paris communique states that the night was quiet north of <strong>the<\/strong> <strong>Somme..<\/strong> There have been reciprocal cal bombardments south of the Soiuine.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/154286234?searchTerm=%22The+Somme%22"},{"id":"154289612","url":"\/newspaper\/154289612","heading":"On the Somme.","category":"Article","title":{"id":"754","value":"Ararat Chronicle and Willaura and Lake Bolac Districts Recorder (Vic. : 1914 - 1918)"},"date":"1916-09-26","page":2,"pageSequence":2,"relevance":{"score":"4.243478","value":"very relevant"},"snippet":"... On <strong>the<\/strong> <strong>Somme,<\/strong> A Paris communique states that violent artillery fire is being experienced ienced on <strong>the<\/strong> <strong>Somme<\/strong> A. German attack on Vaux wood has been easily repulsed.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/154289612?searchTerm=%22The+Somme%22"},{"id":"156924060","url":"\/newspaper\/156924060","heading":"ON THE SOMME.","category":"Article","title":{"id":"657","value":"The Scone Advocate (NSW : 1887 - 1954)"},"date":"1916-09-08","page":5,"pageSequence":5,"relevance":{"score":"4.2334194","value":"very relevant"},"snippet":"... ON <strong>THE SOMME.<\/strong> Carl World.\" is appalling , devastation and M desolation for miles . behind the German line man lino on <strong>the<\/strong> <strong>Somme.<\/strong> The Allies are wk. not shelling the towns mare than is noc-. |j essary, . and yet Royo is partially in '?M ruins, Poronno is. burning, andBaupaumo M ' a picture of ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/156924060?searchTerm=%22The+Somme%22"},{"id":"15698023","url":"\/newspaper\/15698023","heading":"ON THE SOMME.","category":"Article","title":{"id":"35","value":"The Sydney Morning Herald (NSW : 1842 - 1954)"},"date":"1916-12-06","page":7,"pageSequence":7,"relevance":{"score":"4.226837","value":"very relevant"},"snippet":"... O\/N <strong>THE<\/strong> <strong>SOMME.'<\/strong> OFFICERS WATCHING GERMAN MOVEMENTS FROM A CAREFULL.Y-SCREENBD SHELTER BY THE RIVERSIDE. I                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/15698023?searchTerm=%22The+Somme%22"},{"id":"95359946","url":"\/newspaper\/95359946","heading":"ON THE SOMME.","category":"Article","title":{"id":"348","value":"Port Pirie Recorder and North Western Mail (SA : 1898 - 1918)"},"date":"1916-11-07","page":3,"pageSequence":3,"relevance":{"score":"4.221436","value":"very relevant"},"snippet":"... ON <strong>THE<\/strong> <strong>SOMME.<\/strong> North of <strong>the<\/strong> <strong>Somme<\/strong> the enemy did not attempt to renew its attacks on our trenches. In a wood at Saint Pierre Vaast about fifty prisoners were taken, and in that sector yesterday there was an, intermittent artillery duel.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/95359946?searchTerm=%22The+Somme%22"},{"id":"119133904","url":"\/newspaper\/119133904","heading":"THE SOMME BATTLE.","category":"Article","title":{"id":"510","value":"The Manaro Mercury, and Cooma and Bombala Advertiser (NSW : 1862 - 1931)"},"date":"1916-07-03","page":2,"pageSequence":2,"relevance":{"score":"4.221436","value":"very relevant"},"snippet":"... <strong>THE<\/strong> <strong>SOMME<\/strong> BATTLE. There was further force fight at <strong>the<\/strong> <strong>Somme<\/strong> on Saturday night.' German violet counter attack tucks were repulsed. The French have capturad over' 3UO0 prisouers.                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/119133904?searchTerm=%22The+Somme%22"},{"id":"152776135","url":"\/newspaper\/152776135","heading":"ON THE SOMME.","category":"Article","title":{"id":"742","value":"Daily Telegraph (Launceston, Tas. : 1883 - 1928)"},"date":"1916-07-15","page":7,"pageSequence":7,"relevance":{"score":"4.221436","value":"very relevant"},"snippet":"... ON <strong>THE<\/strong> <strong>SOMME.<\/strong> PARIS, Friday Morning. - -f- Last night's communique' -states that, there is no important event <strong>the<\/strong> <strong>Somme.<\/strong>                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/152776135?searchTerm=%22The+Somme%22"},{"id":"160724266","url":"\/newspaper\/160724266","heading":"ON THE SOMME FRONT","category":"Article","title":{"id":"775","value":"Graphic of Australia (Melbourne, Vic. : 1916 - 1918)"},"date":"1916-11-10","page":12,"pageSequence":12,"relevance":{"score":"4.221436","value":"very relevant"},"snippet":"... ON <strong>THE<\/strong> <strong>SOMME<\/strong> FRONT RONT The hardships are made a pleasure when the Hun is being pushed back. This photo was taken just before a final rush by the French troops on <strong>the<\/strong> <strong>Somme.<\/strong>                     ...","troveUrl":"http:\/\/trove.nla.gov.au\/ndp\/del\/article\/160724266?searchTerm=%22The+Somme%22"}]}}]}}
        

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