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'?><article id="18342701" url="/newspaper/18342701"><heading>The Ladies' Column. Tired Mothers.</heading><category>Article</category><title id="42">The Queenslander (Brisbane, Qld. : 1866 - 1939)</title><date>1876-05-27</date><page>11</page><pageSequence>11</pageSequence><troveUrl>http://trove.nla.gov.au/ndp/del/article/18342701</troveUrl><articleText><p><span>  The  Ladies'  Column.</span></p> <p><span>  Tired  Mothers.</span></p> <p><span>  ALDINE.</span></p> <p><span>  A  LITTLE  elbow  leans  upon  your  knee</span><span>  Your  tired  knee,  that  has  so  much  to  bear  ;</span><span>  A  child's  dear  eyes  are  looking  lovingly</span><span>  From  underneath  a  thatch  of  tangled  hair.</span></p> <p><span>  Perhaps  you  do  not  heed  the  velvet  touch</span><span>  Of  warm,  moist  fingers,  folding  yours  so  tight.</span><span>  You  do  not  prize  this  blessing  over-much  ;</span><span>  You  are  almost  too  tired  to  pray,  to-night.</span><span>  But  it  is  blessedness  !  A  year  ago</span><span>  I  did  not  see  it  as  I  do  to-day  ;</span><span>  We  are  so  dull  and  thankless,  and  too  slow</span><span>  To  catch  the  sunshine  till  it  slips  away  ;</span><span>  And  ndw  it  seems  surpassing  strange  to  me,</span><span>  That,  while  I  wore  the  badge  of  motherhood</span><span>  I  did  not  kiss  more  oft,  and  tenderly,</span><span>  The  little  child  that  brought  me  only  good.</span><span>  And  if,  some  night  when  you  sit  down  to  rest,</span><span>  You  miss  the  elbow  from  your  tired  knee  ;</span><span>  This  restless,  curling  head  from  off  your  breast,</span><span>  This  lisping  tongue  that  chatters  constantly  ;</span><span>  If  from  your  own  the  dimpled  hands  had  slipped,</span><span>  And  ne'er  would  nestle  in  your  palm  again  ;</span><span>  If  the  white  feet  into  their  grave  had  tripped,</span><span>  I  could  not  blame  yon  for  your  heartache  then  !</span><span>  I  wonder  so  that  mothers  ever  fret</span><span>  At  little  children  clinging  to  their  gown  ;</span><span>  Or  that  the  foot-prints,  when  the  days  an  wet,</span><span>  Are  ever  black  enough  to  make  them  frown.</span><span>  If  I  could  find  a  little  muddy  boot,</span><span>  Or  cap,  or  jacket,  on  my  chamber  floor  ;</span><span>  If  I  could  kiss  a  rosy  restless  foot,</span><span>  And  hear  its  patter  in  my  home  once  more  ;</span><span>  If  I  could  mend  a  broken  cart  to-day,</span><span>  To-morrow  make  a  kite  to  reach  the  sky—</span><span>  There  is  no  woman  in  God's  world  could  say</span><span>  She  was  more  blissfully  content  than  I  ;</span><span>  But  ah  !  the  dainty  pillow  next  my  own</span><span>  Is  never  rumpled  by  a  shining  head  ;</span><span>  My  singing  birdling  from  its  nest  has  flown  ;</span><span>  The  little  boy  I  used  to  kiss  is  dead  !</span></p> </articleText></article>
        

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