Shelf

Free Book API

Search 3.1 million books and 1.3 million authors in 18 languages with one open JSON API. No API key, no sign-up, no paid tier. Titles, authors, series in reading order, ISBNs, editions, descriptions, tags, covers and similar books come from Open Library, Wikidata and national libraries.

API reference · OpenAPI spec

Endpoints

RequestAnswer
GET /api/v1/search?q=duneBooks matching a title, author or ISBN
GET /api/v1/suggest?q=harryAutocomplete for books and authors
GET /api/v1/works/{id}?language=enA book: authors, year, description, tags, series, editions, other languages
GET /api/v1/isbn/{isbn}The book behind an ISBN-10 or ISBN-13
GET /api/v1/series/{id}Every book of a series in reading order
GET /api/v1/authors/{id}An author with dates, bio and all their books
GET /api/v1/similar/{id}Recommendations: books like this one
GET /api/v1/catalogue/{language}Most read books in a language
GET /api/v1/languagesEvery catalogue language
GET /b/{id}/{language}/{160,320,640}.avifBook cover
GET /a/{id}/{96,192}.avifAuthor photo

Example

curl https://shlf.bid/api/v1/works/82563?language=en
{"id": 82563, "language": "en", "title": "Harry Potter and the Philosopher's Stone",
 "authors": [{"id": 23919, "name": "J. K. Rowling"}], "year": 1997,
 "cover": "/b/82563/en/320.avif", "series": {"name": "Harry Potter", "position": 1},
 "languages": [{"language": "de", "title": "Harry Potter und der Stein der Weisen"}],
 "tags": [{"slug": "fantasy", "label": "Fantasy"}]}

Compared with other book APIs

API keyPriceSeries in orderCoversLanguages
ShelfNoneFreeYesYes18 catalogues
Google BooksFor most useFree with quotaNoYesMany
Open LibraryNoneFreeNoYesMostly English
ISBNdbRequiredPaidNoYesMany
GoodreadsClosed to new developers since 2020

Questions

Is the book API really free?

Yes. No API key, no account and no paid plan. Please keep to a few requests per second.

Where does the data come from?

Open Library, Wikidata, Project Gutenberg, the Library of Congress and national libraries, merged into one catalogue that updates every month. The same catalogue runs offline in the Shelf app.

Can I use it in my app or website?

Yes. Answers are JSON, covers are AVIF, and every book, author and series also has a page on shlf.bid/books you can link to.