Explore the workings of the Trove API (v3)
parameter | value |
---|---|
q | wragge has:tags |
category | newspaper |
encoding | json |
include | tags |
{
"query" : "wragge has:tags",
"category" : [ {
"code" : "newspaper",
"name" : "Newspapers & Gazettes",
"records" : {
"s" : "*",
"n" : 20,
"total" : 9836,
"next" : "https://api.trove.nla.gov.au/v3/result?q=wragge+has%3Atags&category=newspaper&encoding=json&include=tags&s=AoIIQ29QNig2MzgxNDA2OA%3D%3D",
"nextStart" : "AoIIQ29QNig2MzgxNDA2OA==",
"article" : [ {
"id" : "61389505",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/61389505",
"heading" : "MR. WRAGGE'S \"WRAGGE.\"",
"category" : "Article",
"title" : {
"id" : "64",
"title" : "Clarence and Richmond Examiner (Grafton, NSW : 1889 - 1915)"
},
"date" : "1902-07-15",
"page" : "4",
"pageSequence" : "4",
"relevance" : {
"score" : 282.6947326660156,
"value" : "very relevant"
},
"snippet" : "Mr. Wragge is going to issue a \"Wragge.\" This is the title of his paper to be, as Mr. Wragge, having weathered Sproule, Drake and other extraordinarily named storms on",
"troveUrl" : "https://nla.gov.au/nla.news-article61389505?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2022-11-17T03:54:21Z",
"value" : "wd:Q3680435"
}, {
"lastupdated" : "2013-02-08T13:12:15Z",
"value" : "Wragge's Meteorological Publication - Wragge's Wragge"
} ]
}, {
"id" : "70068753",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/70068753",
"heading" : "'WRAGGE.'",
"category" : "Article",
"title" : {
"id" : "202",
"title" : "The Sunbury News (Vic. : 1900 - 1927"
},
"date" : "1903-02-07",
"page" : "4",
"pageSequence" : "4",
"relevance" : {
"score" : 269.3473205566406,
"value" : "very relevant"
},
"snippet" : "We have received a copy of the above which is a journal devoted chiefly to the science of meteorology. It is owned and conducted by Mr. Clement",
"troveUrl" : "https://nla.gov.au/nla.news-article70068753?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T12:30:40Z",
"value" : "Meteorology Journal - Clement Wragge"
} ]
}, {
"id" : "83156754",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/83156754",
"heading" : "\"WRAGGE.\"",
"category" : "Article",
"title" : {
"id" : "275",
"title" : "The Daily News (Perth, WA : 1882 - 1955)"
},
"date" : "1903-02-05",
"page" : "3",
"pageSequence" : "3",
"relevance" : {
"score" : 266.8609313964844,
"value" : "very relevant"
},
"snippet" : "We have received from the editor, Mr. Clement L. \"Wragge, the current issue of his meteorological periodical, which contains \"many cheerful facts.\"",
"troveUrl" : "https://nla.gov.au/nla.news-article83156754?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T12:52:30Z",
"value" : "Clement Wragge's Meteorological Periodical"
} ]
}, {
"id" : "112264191",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/112264191",
"heading" : "CLEMENT WRAGGE.",
"category" : "Article",
"title" : {
"id" : "455",
"title" : "The Tumut Advocate and Farmers and Settlers' Adviser (NSW : 1903 - 1925)"
},
"date" : "1912-03-05",
"page" : "3",
"pageSequence" : "3",
"relevance" : {
"score" : 242.74075317382812,
"value" : "very relevant"
},
"snippet" : "IT was a large and enthusiastic audience which greeted Mr. Clement Wragge. the renowned astronomer and lecturer, in",
"troveUrl" : "https://nla.gov.au/nla.news-article112264191?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2016-08-25T13:47:00Z",
"value" : "Clement Wragge Astronomy lecture"
}, {
"lastupdated" : "2016-08-25T13:47:00Z",
"value" : "Radium display"
} ]
}, {
"id" : "85691508",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/85691508",
"heading" : "Wragge's Lament.",
"category" : "Article",
"title" : {
"id" : "351",
"title" : "The Cumberland Argus and Fruitgrowers Advocate (Parramatta, NSW : 1888 - 1950)"
},
"date" : "1903-02-14",
"page" : "8",
"pageSequence" : "8",
"relevance" : {
"score" : 242.4182586669922,
"value" : "very relevant"
},
"snippet" : "We have received a copy of \"Wragge,\" the inclement one's journal. Wragge has a lot to say about the action of Sir John See in shutting down on the Mount Koseiusko ",
"troveUrl" : "https://nla.gov.au/nla.news-article85691508?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2014-12-25T14:22:09Z",
"value" : "Meteorology"
}, {
"lastupdated" : "2014-12-25T14:22:09Z",
"value" : "Mount Kosciusko Observatory closure"
} ]
}, {
"id" : "70931862",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/70931862",
"heading" : "INCLEMENT WRAGGE.",
"category" : "Article",
"title" : {
"id" : "191",
"title" : "Worker (Brisbane, Qld. : 1890 - 1955)"
},
"date" : "1897-05-08",
"page" : "7",
"pageSequence" : "7",
"relevance" : {
"score" : 242.19195556640625,
"value" : "very relevant"
},
"snippet" : "ED WORKER,-Is it not time Wragge was put under some official restraint?. It would appear that he can do as he darn well pleases. He can travel the Iength and",
"troveUrl" : "https://nla.gov.au/nla.news-article70931862?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T14:08:05Z",
"value" : "And his criticism of Southern Scientists"
}, {
"lastupdated" : "2013-02-08T14:08:05Z",
"value" : "Letter criticising Clement Wragge's travelling"
} ]
}, {
"id" : "146714372",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/146714372",
"heading" : "Clement Wragge.",
"category" : "Article",
"title" : {
"id" : "713",
"title" : "Table Talk (Melbourne, Vic. : 1885 - 1939)"
},
"date" : "1902-12-25",
"page" : "10",
"pageSequence" : "10",
"relevance" : {
"score" : 242.17288208007812,
"value" : "very relevant"
},
"snippet" : "Mr. Henry Palmer is still pegging away at his Imperial Review. His sketch of Mr. Clement Wraggo is interesting. Anybody, who-knows Wragge will know that his",
"troveUrl" : "https://nla.gov.au/nla.news-article146714372?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2017-01-02T02:18:33Z",
"value" : "Henry Palmer - Imperial Review"
}, {
"lastupdated" : "2017-01-02T02:18:33Z",
"value" : "Wragge's Almanac"
} ]
}, {
"id" : "52744838",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/52744838",
"heading" : "MR. WRAGGE.",
"category" : "Article",
"title" : {
"id" : "77",
"title" : "Morning Bulletin (Rockhampton, Qld. : 1878 - 1954)"
},
"date" : "1901-10-19",
"page" : "6",
"pageSequence" : "6",
"relevance" : {
"score" : 242.17288208007812,
"value" : "very relevant"
},
"snippet" : "The Government Meteorologist (Mr. C. L. Wragge) informs me that he has made arrangements to experiment with bis Stiger vortex gun on the vacant piece of",
"troveUrl" : "https://nla.gov.au/nla.news-article52744838?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T13:19:24Z",
"value" : "Meteorology"
}, {
"lastupdated" : "2013-02-08T13:19:24Z",
"value" : "Stiger Vortex Gun Test Rockhampton"
} ]
}, {
"id" : "84400543",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/84400543",
"heading" : "WRAGGE—CAMPBELL.",
"category" : "Article",
"title" : {
"id" : "336",
"title" : "Queensland Figaro (Brisbane, Qld. : 1901 - 1936)"
},
"date" : "1916-06-24",
"page" : "10",
"pageSequence" : "10",
"relevance" : {
"score" : 241.94932556152344,
"value" : "very relevant"
},
"snippet" : "A wedding of interest to a large circle of friends was celebrated at St. Andrew's Anglican Church, on June 7. The bride, Miss Maibry Campbell,",
"troveUrl" : "https://nla.gov.au/nla.news-article84400543?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T14:16:48Z",
"value" : "Lindley Egerton Wragge"
}, {
"lastupdated" : "2013-02-08T14:16:48Z",
"value" : "Maibry Campbell"
}, {
"lastupdated" : "2013-02-08T14:16:48Z",
"value" : "Wedding"
} ]
}, {
"id" : "137404276",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/137404276",
"heading" : "CLEMENT WRAGGE.",
"category" : "Article",
"title" : {
"id" : "660",
"title" : "Wellington Times (NSW : 1899 - 1954)"
},
"date" : "1922-04-10",
"page" : "2",
"pageSequence" : "2",
"relevance" : {
"score" : 241.87474060058594,
"value" : "very relevant"
},
"snippet" : "What has become of Wragge? That is what people who still swear by him as a weather prophet ask, Here is how a former N.S.W. resident, now",
"troveUrl" : "https://nla.gov.au/nla.news-article137404276?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2016-11-11T00:29:54Z",
"value" : "Mrs Edris Wragge - Birkenhead New Zealand"
} ]
}, {
"id" : "68256276",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/68256276",
"heading" : "MR. WRAGGE.",
"category" : "Article",
"title" : {
"id" : "186",
"title" : "The Capricornian (Rockhampton, Qld. : 1875 - 1929)"
},
"date" : "1901-10-26",
"page" : "29",
"pageSequence" : "29",
"relevance" : {
"score" : 241.735107421875,
"value" : "very relevant"
},
"snippet" : "The Government Meteorologist (Mr. C. L. Wragge) informs me that he has made arrangements to experiment with his Stig[?] run the vacant pic[?] of",
"troveUrl" : "https://nla.gov.au/nla.news-article68256276?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T13:26:23Z",
"value" : "At Rockhampton"
}, {
"lastupdated" : "2013-02-08T13:26:23Z",
"value" : "Clement Wragge"
}, {
"lastupdated" : "2013-02-08T13:26:23Z",
"value" : "Meteorology"
}, {
"lastupdated" : "2013-02-08T13:26:23Z",
"value" : "Stiger Vortex Gun Experiment"
} ]
}, {
"id" : "63090358",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/63090358",
"heading" : "WRAGGE—FUTCHER",
"category" : "Article",
"title" : {
"id" : "108",
"title" : "Gippsland Times (Vic. : 1861 - 1954)"
},
"date" : "1938-11-21",
"page" : "2",
"pageSequence" : "2",
"relevance" : {
"score" : 241.3352813720703,
"value" : "very relevant"
},
"snippet" : "Pastel-colored flowers decorated St. Mary's Church of England, Caulfield, on Thursday evening last, for the wedding of Miss Ada Kathleen",
"troveUrl" : "https://nla.gov.au/nla.news-article63090358?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2011-07-04T13:55:21Z",
"value" : "Ada Kathleen FUTCHER - Murray Stewart WRAGGE - marriage"
} ]
}, {
"id" : "136436186",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/136436186",
"heading" : "CLEMENT WRAGGE.",
"category" : "Article",
"title" : {
"id" : "667",
"title" : "Huon Times (Franklin, Tas. : 1910 - 1933)"
},
"date" : "1914-02-21",
"page" : "7",
"pageSequence" : "7",
"relevance" : {
"score" : 240.688232421875,
"value" : "very relevant"
},
"snippet" : "On Tuesday night, in the Franklin Town Hall, Mr Clement Wragge, the world-famed astronomer, will give a lantern lecture on \"The Mighty",
"troveUrl" : "https://nla.gov.au/nla.news-article136436186?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2014-05-22T06:27:38Z",
"value" : "Clement Wragge lecture on Radium"
}, {
"lastupdated" : "2014-05-22T06:27:38Z",
"value" : "Geology"
} ]
}, {
"id" : "170829860",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/170829860",
"heading" : "Wragge's Arrangements.",
"category" : "Article",
"title" : {
"id" : "834",
"title" : "Darling Downs Gazette (Qld. : 1881 - 1922)"
},
"date" : "1890-06-07",
"page" : "2",
"pageSequence" : "2",
"relevance" : {
"score" : 240.4932861328125,
"value" : "very relevant"
},
"snippet" : "Mr. Clement L. Wragge, Government Meteorologist, has just completed the erection of a private astronomical observatory at his residence, Capemba, Swan's-road, Indooroopilly.",
"troveUrl" : "https://nla.gov.au/nla.news-article170829860?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2016-12-23T13:18:02Z",
"value" : "Astronomy"
}, {
"lastupdated" : "2016-12-23T13:18:02Z",
"value" : "Capemba at Indooroopilly Qld"
}, {
"lastupdated" : "2016-12-23T13:18:02Z",
"value" : "Clement Wragge's new astronomical observatory"
} ]
}, {
"id" : "215656817",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/215656817",
"heading" : "CLEMENT WRAGGE.",
"category" : "Article",
"title" : {
"id" : "1070",
"title" : "The Bundaberg Mail and Burnett Advertiser (Qld. : 1892 - 1917)"
},
"date" : "1911-09-08",
"page" : "2",
"pageSequence" : "2",
"relevance" : {
"score" : 240.3195037841797,
"value" : "very relevant"
},
"snippet" : "Few names (says the Sydney \"Sun\") are as well known throughout the Commonwealth as that of Clement Wragge. whoso picturesque",
"troveUrl" : "https://nla.gov.au/nla.news-article215656817?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2017-01-02T02:46:49Z",
"value" : "Meteorologist - Clement Wragge"
}, {
"lastupdated" : "2017-01-02T02:46:49Z",
"value" : "Novelist - Marie Corelli"
} ]
}, {
"id" : "152508879",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/152508879",
"heading" : "MR WRAGGE.",
"category" : "Article",
"title" : {
"id" : "742",
"title" : "Daily Telegraph (Launceston, Tas. : 1883 - 1928)"
},
"date" : "1914-02-25",
"page" : "6",
"pageSequence" : "6",
"relevance" : {
"score" : 240.1713104248047,
"value" : "very relevant"
},
"snippet" : "Mr Clement L. Wragge, the astronomer, opens a short series of lectures at the Albert Hall on Monday next, and, according to advertisement, promises the",
"troveUrl" : "https://nla.gov.au/nla.news-article152508879?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2014-09-04T11:15:51Z",
"value" : "Clement Wragge lecture"
}, {
"lastupdated" : "2014-09-04T11:15:51Z",
"value" : "Radium"
} ]
}, {
"id" : "116958721",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/116958721",
"heading" : "Mr. Wragge.",
"category" : "Article",
"title" : {
"id" : "448",
"title" : "The Cobar Herald (NSW : 1899 - 1914)"
},
"date" : "1912-05-17",
"page" : "3",
"pageSequence" : "3",
"relevance" : {
"score" : 240.1406707763672,
"value" : "very relevant"
},
"snippet" : "As Mr. Wragge, the eminent astronomer and meterologist, cannot come to Cobar at present, owing to indisposition, we reprint from",
"troveUrl" : "https://nla.gov.au/nla.news-article116958721?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2016-08-25T14:20:34Z",
"value" : "Meteorologist - Clement Wragge - displays radium"
}, {
"lastupdated" : "2016-08-25T14:20:34Z",
"value" : "Radium"
} ]
}, {
"id" : "5415037",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/5415037",
"heading" : "WRAGGE WEATHER.",
"category" : "Article",
"title" : {
"id" : "34",
"title" : "The Advertiser (Adelaide, SA : 1889 - 1931)"
},
"date" : "1913-06-18",
"page" : "19",
"pageSequence" : "19",
"relevance" : {
"score" : 240.1406707763672,
"value" : "very relevant"
},
"snippet" : "The following weather report has been received from Mr. Clement Wragge, dated Nairne, June 16:—\"The great Antarctic disturbance named \"King Priam,' the",
"troveUrl" : "https://nla.gov.au/nla.news-article5415037?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2010-03-02T06:42:14Z",
"value" : "C L Wragge"
} ]
}, {
"id" : "61628890",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/61628890",
"heading" : "Clement Wragge.",
"category" : "Article",
"title" : {
"id" : "64",
"title" : "Clarence and Richmond Examiner (Grafton, NSW : 1889 - 1915)"
},
"date" : "1914-05-09",
"page" : "4",
"pageSequence" : "4",
"relevance" : {
"score" : 240.1406707763672,
"value" : "very relevant"
},
"snippet" : "Next Tuesday night, 12th May, in the Theatre Royal, the renowned astronomer, meteorologist, and traveller, Clement Wragge, will give a grand scientific",
"troveUrl" : "https://nla.gov.au/nla.news-article61628890?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T13:33:24Z",
"value" : "Clement Wragge Lecture - Grafton"
}, {
"lastupdated" : "2013-02-08T13:33:24Z",
"value" : "Meteorology"
} ]
}, {
"id" : "63814068",
"url" : "https://api.trove.nla.gov.au/v3/newspaper/63814068",
"heading" : "MR. WRAGGE.",
"category" : "Article",
"title" : {
"id" : "56",
"title" : "Bathurst Free Press and Mining Journal (NSW : 1851 - 1862; 1872; 1882; 1885 - 1897; 1899 - 1904)"
},
"date" : "1903-10-16",
"page" : "2",
"pageSequence" : "2",
"relevance" : {
"score" : 239.31332397460938,
"value" : "very relevant"
},
"snippet" : "Mr. Clemenk Wragge is so much travelled a man that it in only to be expected be finds old acquaintance everywhere, or at all events, friends of",
"troveUrl" : "https://nla.gov.au/nla.news-article63814068?searchTerm=wragge+has%3Atags",
"tag" : [ {
"lastupdated" : "2013-02-08T13:51:29Z",
"value" : "At Tow Law Durham Scotland"
}, {
"lastupdated" : "2013-02-08T13:51:29Z",
"value" : "Ben Nevis 1882"
}, {
"lastupdated" : "2013-02-08T13:51:53Z",
"value" : "Clement Lindley Wragge"
}, {
"lastupdated" : "2013-02-08T13:51:29Z",
"value" : "Meteorology"
}, {
"lastupdated" : "2013-02-08T13:51:29Z",
"value" : "Mr H C Slade - Bathurst NSW"
}, {
"lastupdated" : "2013-02-08T13:51:29Z",
"value" : "Rev Harry Poole Slade - Presbyterian Minister"
} ]
} ]
}
} ]
}
Version 3 of the API was made available in July 2023. For more information about the changes made in version 3 see the official release notes. I've also created a summary of breaking changes for users wanting to update their code from version 2 to version 3.
Click on any of the examples below to open them in this console, then modify them to suit. If you want to use them in your own code you'll need to get an API key and add the key to your request either using the key
parameter, or setting X-API-KEY
in the request headers.
See the Trove API v3 documentation for a full list of available parameters and detailed information on constructing queries.
For more examples, tools, and hacks using the Trove API see the GLAM Workbench.
See the Trove API v3 status page to check for problems.
https://api.trove.nla.gov.au/v3/result?q=wragge&category=all&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
all
|
possible values are 'all', 'newspaper', 'magazine', 'image', 'research', 'book', 'diary', 'music', 'people', 'list' |
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=book,newspaper&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
book,newspaper
|
separate multiple categorys with commas |
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query |
wragge
|
|
category
|
category(ies) to search in |
newspaper
|
|
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&n=100
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query |
wragge
|
|
category
|
category(ies) to search in |
newspaper
|
|
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
n
|
number of results |
100
|
possible values are 0 to 100 (default is 20) |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&sortby=dateasc
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query |
wragge
|
|
category
|
category(ies) to search in |
newspaper
|
|
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
sortby
|
order of results |
dateasc
|
possible values are 'relevance' (default), 'dateasc', 'datedesc' |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&reclevel=full
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
reclevel
|
request additional article metadata |
full
|
Adding reclevel=full
adds a number of additional fields to the article metadata, the actual fields added depends on the category. In newspapers and gazettes it adds illustrated
, wordCount
, correctionCount
, tagCount
, commentCount
, listCount
, trovePageUrl
, and pdf
(which is a link to a PDF of the whole page on which the article is published). In works it adds tagCount
, commentCount
, and listCount
.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query |
wragge
|
|
category
|
category(ies) to search in |
newspaper
|
|
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
include
|
include extra information |
tags
|
possible values include 'tags', 'comments', and 'lists'; repeat parameter for multiple values |
include
|
include extra information |
comments
|
possible values include 'tags', 'comments', and 'lists'; repeat parameter for multiple values |
The accepted values for the include
parameter differ across categorys, but some values, like 'tags' and 'comments', are consistent. Other examples are included below.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query |
wragge
|
|
category
|
category(ies) to search in |
newspaper
|
you can only harvest from one category at a time, so this must be set to a single category such as 'newspaper' |
encoding
|
format of results |
json
|
possible values are 'xml' (default) or 'json' |
bulkHarvest
|
setting this to 'true' ensures that results will stay in the same order when you request subsequent pages; without it results might be duplicated or missing |
true
|
|
s
|
supply a resumption token to get the next page of results |
*
|
use '*' for the first request, then replace with the value of |
Three parameters are important when harvesting a complete result set: category
must be set to a single category, bulkHarvest
set to 'true', and s
must be updated after each request with the value of nextStart
. Note that the nextStart
value will only appear if there is another page of results to download, so you can use it in your loop as a check to see if you've finished.
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&l-category=Article
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-category
|
category to include |
Article
|
see Trove help documentation, or use the |
This parameter can be used multiple times, however, this will behave like an AND
query and only those articles in all of the specified categories will be returned. So adding &l-category=Article&l-category=Advertising
will return zero results, as no articles are in both the 'Article' and 'Advertising' categories.
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&l-state=Victoria
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-state
|
place in which articles were published |
Victoria
|
possible values are 'ACT', 'International', 'National', 'New South Wales', 'Northern Territory', 'Queensland', 'South Australia', 'Tasmania', 'Victoria' |
This parameter can be used multiple times. Unlike the category
facet, this will behave like an OR
query, returning articles published in any of the specified places. So adding &l-state=Victoria&l-state=ACT
will return articles published in either Victoria or the ACT.
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&l-decade=192
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-decade
|
limit to articles from this decade |
192
|
192 includes the years 1920 to 1929 |
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-decade
|
limit to articles from this decade |
192
|
|
l-year
|
limit to articles from this year ( |
1924
|
limit the results to articles from 1924, the |
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-decade
|
limit to articles from this decade |
192
|
|
l-year
|
limit to articles from this year ( |
1924
|
limit the results to articles from 1924 |
l-month
|
limit to articles from this month ( |
3
|
limit the results to articles from March 1924, possible values are numbers from 1 to 12 |
https://api.trove.nla.gov.au/v3/result?q=firstpageseq:1&category=newspaper&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
firstpageseq:1
|
use the |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
date:[1942-10-31T00:00:00Z TO 1942-11-30T00:00:00Z]
|
use the |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge date:[1942-11-01T00:00:00Z TO 1942-11-02T00:00:00Z]
|
use the |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&l-illustrated=true
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-illustrated
|
limit to articles with illustrations |
true
|
accepted values are 'true' or 'false' |
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-illustrated
|
limit to articles with illustrations |
true
|
accepted values are 'true' or 'false' |
l-illustrationType
|
limit to articles with this type of illustration |
Photo
|
the |
This parameter can be used multiple times, however, this will behave like an AND
query and only those articles with all of the specified illustration types will be returned.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
l-wordCount
|
filter by number of words in the article |
<100 Words
|
accepted values are '<100 Words', '100 - 1000 Words', or '1000+ Words' |
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge has:tags
|
add |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
include
|
tags
|
you need to specifically |
https://api.trove.nla.gov.au/v3/result?q=wragge&category=newspaper&encoding=json&include=articletext
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
include
|
add additional information to the record |
articletext
|
this adds the full OCRd text to the record, other possible values are 'tags', 'comments' |
The OCRd text is return as HTML, so depending on you use you might need to strip the tags out.
https://api.trove.nla.gov.au/v3/result?q=%00&category=newspaper&encoding=json&facet=category&n=0
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
%00
|
'%00' is an empty search, so will return everything |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
n
|
0
|
we don't need results, just the facets, so we can set |
|
facet
|
include facet data |
category
|
break down results by category; see the Trove API documentation for a full list of facets |
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
%00
|
'%00' is an empty search, so will return everything |
category
|
category(ies) to search in (required) |
newspaper
|
|
encoding
|
format of results |
json
|
|
n
|
number of results |
0
|
we don't need results, just the facets, so we can set |
l-decade
|
set the decade |
192
|
needs to be set to find the totals by year |
facet
|
include facet data |
year
|
break down results by year in the given decade; see the Trove API documentation for a full list of facets |
For more examples using the year
facet see Visualise Trove newspaper searches over time in the GLAM Workbench.
https://api.trove.nla.gov.au/v3/result?q=weather&category=book&encoding=json&l-format=Thesis
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather
|
|
category
|
category(ies) to search in (required) |
book
|
|
encoding
|
format of results |
json
|
|
l-format
|
format or type of work |
Thesis
|
see the Trove help documentation for a list of formats |
This parameter can be used multiple times, however, this will behave like an AND
query and only those articles in all of the specified formats will be returned.
https://api.trove.nla.gov.au/v3/result?q=weather NOT format:Book &category=image&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather NOT format:Book
|
by adding |
category
|
category(ies) to search in (required) |
image
|
|
encoding
|
format of results |
json
|
You can use the format
index in both the query and as a facet, that means you can say that you don't want works with particular formats. This is handy for filtering out noise.
https://api.trove.nla.gov.au/v3/result?q=weather date:[* TO 1900]&category=book&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather date:[* TO 1900]
|
using the |
category
|
category(ies) to search in (required) |
book
|
|
encoding
|
format of results |
json
|
https://api.trove.nla.gov.au/v3/result?q=weather imageInd:thumbnail &category=image&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather imageInd:thumbnail
|
set |
category
|
category(ies) to search in (required) |
image
|
|
encoding
|
format of results |
json
|
The actual thumbnail link is included in the identifier
field with a linktype
of 'thumbnail'. To ensure you get all the possible values for identifier
you can also add &include=links
to your query.
https://api.trove.nla.gov.au/v3/result?q=wragge&category=image&encoding=json&include=workversions
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
wragge
|
|
category
|
category(ies) to search in (required) |
image
|
|
encoding
|
format of results |
json
|
|
include
|
format of results |
workversions
|
include the metadata for each individual version of this work |
The way that versions are grouped as works in Trove can be quite confusing. The work level metadata is generally quite consistent, but it can leave out useful metadata that's attached to an individual version. The version metadata is richer, but is also less consistent, so you have to be prepared for some trial and error if you want to extract information from it.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather fullTextInd:y
|
set |
category
|
category(ies) to search in (required) |
magazine
|
|
encoding
|
format of results |
json
|
|
include
|
workversions
|
the full text is buried down in the version-level metadata, so you need to add this parameter if you want to actually get to it |
The fullTextInd
index seems quite misleading as it includes articles from commercial databases where only a truncated sample of the full text is actually available, and electronic legal deposit works where access to the text is restricted. It would seem better to combine this indicator with a search for "nla.obj" or nuc:ANL:DL
to try and limit to resources digitised by the NLA and partners.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather
|
|
category
|
category(ies) to search in (required) |
magazine
|
|
encoding
|
format of results |
json
|
|
l-title
|
limit to this journal title |
The bulletin
|
There's no controlled list of journal titles to use with this facet, so you probably need to get the values from the web interface.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
weather "https://nla.gov.au/nla.obj-68375465"
|
|
category
|
category(ies) to search in (required) |
magazine
|
|
encoding
|
format of results |
json
|
|
l-format
|
limit to this format |
Article
|
limit the results to articles so we don't get the records for the periodicals themselves |
An alternative to using the title
facet is to include the identifier of the parent journal in the q
parameter. This is how the Trove Digitised Journals app works.
parameter | parameter note | value | value note |
---|---|---|---|
q
|
the search query (optional) |
rights:Free
|
see the Trove help documentation for a full list of possible values for |
category
|
category(ies) to search in (required) |
image
|
|
encoding
|
format of results |
json
|
|
l-format
|
format of work |
Photo
|
|
include
|
workversions
|
the rights statements are attached to versions, so to see them you need to ask for the full versions data |
This facet only works with records where the copyright status is specified in the record. Some out-of-copyright photographs might be missing from results because their status has not been identified. A search for photos created before 1955 using date[* TO 1954]
might find additional out-of-copyright images.
Facets break the result set into sections and can provide a useful overview. Note that there are limits on the number of facets returned, so they might not include the whole result set.
https://api.trove.nla.gov.au/v3/result?category=all&facet=decade&n=0&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
category
|
category(ies) to search in (required) |
all
|
|
encoding
|
format of results |
json
|
|
facet
|
facet to return |
decade
|
|
n
|
number of results |
0
|
We just want facets, not the list of results. |
https://api.trove.nla.gov.au/v3/result?category=all&facet=partnerNuc&n=0&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
category
|
category(ies) to search in (required) |
all
|
|
encoding
|
format of results |
json
|
|
facet
|
facet to return |
partnerNuc
|
|
n
|
number of results |
0
|
We just want facets, not the list of results. |
Contributors are identified by NUC identifiers.
Article or work identifiers are supplied as part of the url rather than as a query parameter. For example, https://api.trove.nla.gov.au/v3/newspaper/41697877
returns the details of the article with the identifier 41697877
.
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
reclevel
|
amount of detail in record |
full
|
|
include
|
include extra information |
articletext,tags,comments
|
include the OCRd text, as well as any tags or comments, in the record |
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
reclevel
|
amount of detail in record |
full
|
|
include
|
include extra information |
workversions,tags,comments
|
include metadata from all grouped versions, as well as any tags or comments |
https://api.trove.nla.gov.au/v3/list/43805?encoding=json&reclevel=full&include=listitems
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
reclevel
|
amount of detail in record |
full
|
|
include
|
include extra information |
listitems
|
include details of all items in the list |
You only get the brief record version for each of the list items, so to get extra information, such as OCRd text for a newspaper article, you'll have to request each article individually. Also, the list items are not paginated, so if you have a long list this will return a lot of data.
There's a bug in the API so that a request for newspaper titles also returns the gazette titles. See the GLAM Workbench for a workaround.
https://api.trove.nla.gov.au/v3/newspaper/titles?encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
https://api.trove.nla.gov.au/v3/gazette/titles?encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
https://api.trove.nla.gov.au/v3/newspaper/titles?encoding=json&state=vic
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
state
|
limit to this state |
vic
|
possible values are 'nsw', 'act', 'qld', 'tas', 'sa', 'nt', 'wa', 'vic', 'national' |
https://api.trove.nla.gov.au/v3/newspaper/title/35?encoding=json&include=years
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
include
|
years
|
list the years available on Trove, with the number of issues per year |
The newspaper identifier is included in the url as indicated. This example will return details of the Sydney Morning Herald which has an identifier of '35'.
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
include
|
years
|
this needs to be included to retrieve the full issue information |
|
range
|
date range of issues to return |
18420101-18421231
|
dates are in YYYYMMDD format; this example will return details of all issues of the Sydney Morning Herald published in 1842 |
The issue details include a publication date and a url which redirects to the first page of the issue.
Although this endpoint is included in the technical documention, as of 23 May 2023 it was returning no results. Hopefully it'll start working soon!
https://api.trove.nla.gov.au/v3/magazine/titles?encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
Organisations can be nested under other organisations (as children
), this makes the data structure a bit complex.
https://api.trove.nla.gov.au/v3/contributor?q=&encoding=json
parameter | parameter note | value | value note |
---|---|---|---|
q
|
search query (optional) |
|
leave blank for everything |
encoding
|
format of results |
json
|
https://api.trove.nla.gov.au/v3/contributor/ANL?encoding=json&reclevel=full
parameter | parameter note | value | value note |
---|---|---|---|
encoding
|
format of results |
json
|
|
reclevel
|
amount of detail to return |
full
|
The organisation's identifier is included in the url as indicated. This example retrieves details for the National Library of Australia, whose identifier is 'ANL'.