(Translated by https://www.hiragana.jp/)
Open Library Search Tips | Open Library
It looks like you're offline.
Open Library logo
additional options menu
Last edited by Drini
2024ねん3がつ27にち | History

Open Library Search Tips

Some of these tips are demonstrated in this instructional video.

You can also blend them together:

Or use date ranges (there's no UI for this yet):

You can also search the special field that has everything dumped into it without any stemming:

Other interesting searches, mainly useful for librarians looking for data

Classifications

You can also search by classification; this feature was introduced recently (Aug 2020), so there might still be some kinks to work out, and there might be changes to how things work. It currently support both dewey decimal and library of congress classifications. Found an issue? Let us know by creating an issue on GitHub!

Dewey Decimal Classification (DDC)

See the index of DDC classes

Library of Congress Classification (LCC)

See the index of LCC classes

Author Search

Subject Search

There are multiple ways to search for books by a subject. The primary way is to use the subject: field which will do a fuzzy search for any books with subjects containing your search (e.g. subject:happy would match a subject of "happy feet"). This is also the case for place, time, and person.

An exact subject match can be performed using the subject_key: field. Presently, this value needs to be normalized such that spaces and special characters like / become underscores and the entire term becomes lowercased. For instance (a subject like "Metropolitan Museum of Art (New York, N.Y.)" becomes metropolitan_museum_of_art_(new_york_n.y.)). Here's the code behind the scenes for those who need more details. Note that _key can be added to place, time, and person to achieve the same exact matching capabilities.

To do a negative search on Open Library, you can use the -subject_key operator. For example, to find all the books that show up for the word "solr" that don't have the subject "Apache Solr", you would use the following search query:

https://openlibrary.org/search?q=solr+-subject_key%3A%22apache_solr%22&mode=everything

Note that the subject key is the subject name with some normalization applied (lower case, spaces converted to underscores).

Here is an example of a negative search in action:

https://openlibrary.org/search?q=machine+learning+-subject_key%3A%22python%22&mode=everything

This search will return all the books about machine learning that do not have the subject "Python".

Negative searches can be useful for finding books on a specific topic that are not limited to a particular programming language or framework. They can also be used to find books that are more general in nature.

Perform an exact search for subject using the subject_key field, e.g:
subject_key:fantasy

Search API

Are you interested in getting back JSON data? Just change /search? to /search.json? in your url! Learn more about the Open Library Search API.

Filter by Availability

One may use the ebook_access field to filter for books that are readable, whose values are no_ebook, printdisabled only, borrowable, and public.

ebook_access:no_ebook AND -ia:* will let you search a range spanning anything borrowable or public.

If you're interested in finding highly requested books that the Internet Archive doesn't have:

ebook_access:no_ebook AND -ia:* AND readinglog_count:[25 TO *]

You can try it here

FAQs

Q: Can I limit my search to books with a single word title? For example, books with the title "hands"

A: It is not possible to do this currently but you could try excluding some words from the title and using alphabetical search (see this alphabetical search issue) like this.

History

2024ねん3がつ27にち Edited by Drini Edited without comment.
2023ねん10がつ25にち Edited by Mek Edited without comment.
2023ねん10がつ19にち Edited by Mek Edited without comment.
2023ねん10がつ19にち Edited by Mek Edited without comment.
2010ねん4がつ14にち Created by George New page for Edward to list the various syntax bits