v1
latestOpenAPI 3.1.02026-08-046039.9 KBFulltext Search
Fulltext search across the Internet Archive's entire corpus of texts
get/search/books
Query parameters
textstring
A string literate to search within the specified (or all) book collection(s)
collectionsstring
CSV of the names of the archive.org collections to limit search within
fieldsstring
A CSV of fields' (options: ids, names) to limit the values returned back
Response
200
Example response
{
"hits": {
"hits": [
{
"_type": "book",
"_index": "books_index",
"_score": 0.029042399,
"fields": {
"creator": [
"Quintus Horatius Flaccus, Horace , Theodore Martin"
],
"title": [
"The Odes, Epodes and Satires of Horace"
],
"page_num": [
438
],
"collection": [
"europeanlibraries"
],
"filename": [
"odesepodesandsa00martgoog_abbyy.gz"
],
"identifier": [
"odesepodesandsa00martgoog"
],
"date_int": [
"1870"
]
},
"highlight": {
"text": [
",—and the delights of this agreeable retreat, and the {{{charm}}} of the poet's society, were doubtless more than a compensation for the plain fare or the thin home-grown wine, Vile Sahinum, with which its resources alone enabled him to regale them.\nThe life of Horace, from the time of his intimacy with"
]
},
"_id": "odesepodesandsa00martgoog|ca70b52d4bcf1222505802e659ef5e13e74d0277"
}
],
"total": 35,
"max_score": 0.029042399
},
"took": 851,
"_shards": {
"successful": 5,
"total": 5
}
}