Skip to content

Open Library API: Search books

Finds Open Library books by search words, optionally narrowed by author and subject, sorted by relevance or publication age. Returns work-level results; free_online means at least one edition is marked public or borrowable, not that a loan is available now.

openlibrary.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Open Library.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Sort optionalsort

Order results by relevance or publication age, for example newest.

relevance (default)

One of relevance, newest, oldest.

Query, requiredquery

Words to search for, for example Dune.

Dune

Author optionalauthor

Narrow results to an author, for example Frank Herbert.

Frank Herbert

Default .

Subject optionalsubject

Narrow results to a subject, for example gardening.

(default)

Max Results optionalmax_results

Maximum number of books to return, for example 10.

3

Whole number from 1 to 100. Default 10.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "books": [    {      "isbns": [        "9780340839935",        "9782266320481",        "9788497596824"      ],      "title": "Dune",      "authors": [        "Frank Herbert"      ],      "work_key": "/works/OL893414W",      "languages": [        "Hebrew",        "Dutch",        "Romanian"      ],      "free_online": true,      "edition_count": 155,      "cover_image_url": "https://covers.openlibrary.org/b/id/11481354-L.jpg",      "open_library_url": "https://openlibrary.org/works/OL893414W",      "first_published_year": 1965    },    {      "isbns": [        "8418037679",        "9788466372015",        "8373017259"      ],      "title": "Dune Messiah",      "authors": [        "Frank Herbert"      ],      "work_key": "/works/OL893461W",      "languages": [        "Spanish",        "Polish",        "Dutch"      ],      "free_online": true,      "edition_count": 101,      "cover_image_url": "https://covers.openlibrary.org/b/id/980253-L.jpg",      "open_library_url": "https://openlibrary.org/works/OL893461W",      "first_published_year": 1969    },    {      "isbns": [        "1427202915",        "9789759971342",        "9780425071793"      ],      "title": "Children of Dune",      "authors": [        "Frank Herbert"      ],      "work_key": "/works/OL893516W",      "languages": [        "Dutch",        "Chinese",        "Portuguese"      ],      "free_online": true,      "edition_count": 77,      "cover_image_url": "https://covers.openlibrary.org/b/id/6976407-L.jpg",      "open_library_url": "https://openlibrary.org/works/OL893516W",      "first_published_year": 1976    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
openlibrary.org/search_books
Returns
title, authors, first publication year, edition count, ISBNs, languages, cover image, free online flag, Open Library URL

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method openlibrary.org/search_books with the inputs above.

Ask your agent

  • Find books matching the words dune by frank herbert, sorted newest first
  • Show me public domain books about gardening, 20 results
  • Search Open Library for science fiction from the 1960s oldest first
  • List free online editions of books on cooking by Julia Child
  • Look up Dune and related titles, relevance order, max 5 results
  • Finds an Open Library author by name, link or key and lists their works with first publication year, edition count, cover and an author profile.

    openlibrary.org/list_author_books
  • Gets a book's catalog details from Open Library by its title, with an optional author or ISBN to identify the right book. Reading availability reflects listed editions; details may be missing when the catalog has none.

    openlibrary.org/get_book
  • Searches Google Books by words, author, subject or ISBN, with language, free-ebook and newest-first options. Ratings counts are not shown by the public book feed; newest sorts the available matches by publication date.

    books.google.com/search_books
  • Finds free public-domain Project Gutenberg books by title, author or topic, with authors, languages, subjects, recent downloads, and reading and download links. Public-domain status is based on the United States.

    gutenberg.org/search_free_books
  • Searches Library of Congress digital collections by keywords, material format and date range, in Library search relevance order. Rights notes may be unavailable for some records.

    loc.gov/search_collections
  • Finds ebook and audiobook editions a public library owns on OverDrive, with copies, holds and estimated wait when unavailable.

    overdrive.com/check_library_availability
  • Searches public Bluesky posts for words, optionally ordered by latest or top and filtered by date, author or language. Search indexing may lag behind new posts.

    bsky.app/search_posts
  • Searches OpenAlex scholarly works by topic, with optional institution, publication-year and open-access filters, ranked by relevance, citations or newest date.

    openalex.org/search_papers