Skip to content
OSINTtools.io

Open Library API

Internet Archive's open, editable catalogue of books, with free borrowing of digitised copies and public APIs.

Base URL
https://openlibrary.org
Sign-in
No key
Free tier
Free tier
Format
REST, Bulk files
Endpoints
2

Compiled by OSINTtools.io editors from openlibrary.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Open Library is an open catalogue of books, authors and editions. Its API is plain URLs on https://openlibrary.org: add .json to a search or item URL to get JSON. An investigator can use it to look up an author's works or a book by title.

No key is needed. The docs ask applications to send a User-Agent with the app name and a contact email or phone number: unidentified clients get 1 request per second, identified ones 3 per second. Cache responses, do not scrape HTML, and use search.json rather than many single lookups. Monthly data dumps cover bulk use.

Only the search endpoints are described here. The docs also list work, edition, ISBN, subject, covers, lists and recent changes endpoints, and an interactive OpenAPI page at https://openlibrary.org/docs. The search docs say the result schema is not guaranteed to be stable.

Quick start

  1. No key needed

    The Open Library API answers without an account or key.

  2. Make your first request

    Search works by free text or by field such as title and author.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://openlibrary.org/search.json'
  3. Read the response

    A 200 response looks like this.

    {
      "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
        }
      ]
    }

Authentication

No key or account: every endpoint answers without one.

Rate limits and pricing

1 request per second by default; 3 per second when a User-Agent with app name and contact details is sent

Free tier.

Results are works by default. Add editions to fields to include matching editions. Paginate with offset and limit, or page and limit.

Query parameters

qstringtakes your name

Solr query string

Example: the lord of the rings
titlestring

Search the title field

Example: the lord of the rings
authorstring

Search the author field

Example: tolkien
fieldsstring

Fields to return; * returns everything (use sparingly); add availability for archive.org availability

Example: key,title,author_name
sortstring

Sort order; relevance by default

Example: newOne of: new, old, random, key
langstring

Two-letter ISO 639-1 code that boosts matching editions

Example: en
pageinteger

Page number, starting at 1

Example: 1
limitinteger

Results per page

Example: 10
Response fields · 11Show

startinteger

Offset of the first result

keystring

Work key

titlestring

Title

author_name[]string

Author names

author_key[]string

Author keys

first_publish_yearinteger

First publication year

edition_countinteger

Number of editions

has_fulltextboolean

Whether full text is available

cover_iinteger

Cover ID

ia[]string

archive.org identifiers

public_scan_bboolean

Whether a public scan exists

curl 'https://openlibrary.org/search.json'
No key needed
Response
{
  "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
    }
  ]
}

Search authors by name.

GET/search/authors.json

Returns author records with birth date, top work and subjects. Single authors are read by appending .json to the author key.

Query parameters

qstringrequiredtakes your name

Author name query

Example: example author
Response fields · 10Show

numFoundinteger

Number of matches

startinteger

Offset of the first result

numFoundExactboolean

Whether the count is exact

keystring

Author key

namestring

Author name

alternate_names[]string

Other names

birth_datestring

Birth date

top_workstring

Best-known work

work_countinteger

Number of works

top_subjects[]string

Main subjects

curl 'https://openlibrary.org/search/authors.json?q=example%20author'
No key needed
Response
{
  "numFound": 1,
  "start": 0,
  "numFoundExact": true,
  "docs": [
    {
      "key": "OL1A",
      "type": "author",
      "name": "Example Author",
      "alternate_names": [
        "E. Author"
      ],
      "birth_date": "1 January 1900",
      "top_work": "Example Book",
      "work_count": 12,
      "top_subjects": [
        "Fiction"
      ]
    }
  ]
}