- Takes: Name
- Passive: the target is not contacted
Results are works by default. Add editions to fields to include matching editions. Paginate with offset and limit, or page and limit.
Query parameters
qSolr query string
titleSearch the title field
authorSearch the author field
fieldsFields to return; * returns everything (use sparingly); add availability for archive.org availability
sortSort order; relevance by default
langTwo-letter ISO 639-1 code that boosts matching editions
pagePage number, starting at 1
limitResults per page
Response fields · 11ShowHide
start
Offset of the first result
key
Work key
title
Title
author_name[]
Author names
author_key[]
Author keys
first_publish_year
First publication year
edition_count
Number of editions
has_fulltext
Whether full text is available
cover_i
Cover ID
ia[]
archive.org identifiers
public_scan_b
Whether a public scan exists
curl 'https://openlibrary.org/search.json'{
"start": 0,
"docs": [
{
"key": "/works/OL1W",
"title": "Example Book",
"author_name": [
"Example Author"
],
"author_key": [
"OL1A"
],
"first_publish_year": 1999,
"edition_count": 3,
"has_fulltext": true,
"cover_i": 1234567,
"ia": [
"examplebook00exam"
],
"public_scan_b": false
}
]
}