Open Library Books Scraper avatar

Open Library Books Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Open Library Books Scraper

Open Library Books Scraper

Extract book and author metadata from Open Library. Search by keyword, title, author, subject, or ISBN to collect records, editions, descriptions, and cover URLs.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Open Library Scraper: Book Search, ISBN Lookup, Authors, Ratings and Covers

Open Library Scraper

Collect book and author metadata for catalogs, research, reading lists, and recommendation datasets. Search by keyword, title, author, subject, or ISBN. Depending on the selected mode, results can include editions, publishers, page counts, ISBNs, subjects, ratings, reading-shelf counts, author biographies, and cover image URLs.

Cover images are provided as URLs. The actor does not download image files.

What This Actor Extracts

  • Book Search: Titles, authors, publication years, edition counts, ISBNs, publishers, and cover information.
  • Subject Search: Book records associated with subjects such as science_fiction.
  • ISBN Lookup: Edition details associated with ISBN-10 or ISBN-13 values.
  • Work Details: Descriptions, subjects, ratings, reading-shelf counts, and optional edition lists.
  • Author Records: Names, biographies, birth and death dates, external identifiers, and photo URLs.
  • Error Records: Information about invalid inputs, missing records, and failed requests.

Search and subject results represent works, while ISBN lookups return edition-level records. Author mode returns author records and can optionally include a page of the author's works.

The bookTitle field is also available as title. Similarly, bookDescription is duplicated into description when available.

Use Cases

  • Bookstore Catalogs: Enrich ISBN records with titles, publishers, page counts, and cover links.
  • Publisher Research: Compare editions, ratings, and reading-shelf activity.
  • Libraries and Education: Build reading lists around specific subjects.
  • Recommendation Systems: Create datasets containing book identifiers, subjects, and author references.
  • Author Research: Collect biographies, publication references, and external identifiers.

Input Parameters

ParameterTypeDefaultDescription
modestringsearchOperation mode: search, isbn, works, authors, or subjects.
querystringthe lord of the ringsSearch keyword or author name in author mode.
titlestringEmptyTitle filter for book searches.
authorstringEmptyAuthor filter for book searches.
subjectstringEmptySearch filter or subject slug, such as science_fiction.
languagestringEmptyThree-letter language code, such as eng.
sortstringEmptySort order: new, old, random, or key. Blank preserves relevance order.
isbnsarrayEmptyISBN-10 or ISBN-13 values. Dashes are removed.
idsarrayEmptyWork or author identifiers, such as OL45804W or OL26320A, or supported Open Library URLs.
includeEditionsbooleanfalseAttach up to 20 editions to each work.
includeRatingsbooleantrueInclude ratings and reading-shelf counts where supported.
includeAuthorWorksbooleanfalseAttach one page of an author's works.
maxItemsinteger100Maximum number of output rows.
requestsPerSecondnumber2Controls the request rate.
timeoutSecsinteger300Maximum run duration in seconds.
requestTimeoutSecsinteger30Maximum duration for an individual request.

Example Inputs

Search for Books

{
"mode": "search",
"query": "the lord of the rings",
"maxItems": 20,
"includeRatings": true,
"requestsPerSecond": 2,
"timeoutSecs": 300,
"requestTimeoutSecs": 30
}

Look Up an ISBN

{
"mode": "isbn",
"isbns": ["9780441172719"]
}

Retrieve Work Details

{
"mode": "works",
"ids": ["OL893414W"],
"includeEditions": true,
"includeRatings": true
}

Search for an Author

{
"mode": "authors",
"query": "Frank Herbert",
"includeAuthorWorks": true,
"maxItems": 20
}

Search by Subject

{
"mode": "subjects",
"subject": "science_fiction",
"maxItems": 100
}

Output Examples

Results are saved to the default dataset. The following examples illustrate the available output structure.

Book Search Result

{
"recordKind": "book",
"workKey": "/works/OL893414W",
"workId": "OL893414W",
"url": "OPEN_LIBRARY_WORK_URL",
"bookTitle": "Dune",
"title": "Dune",
"authors": ["Frank Herbert"],
"firstPublishYear": 1965,
"editionCount": 101,
"isbns": ["9780441172719"],
"publishers": ["Ace Books"],
"coverId": 980253,
"coverUrl": "BOOK_COVER_IMAGE_URL",
"query": "dune"
}

Work Details

A work-detail record can include bookDescription, subjects, ratings, and reading-shelf counts, along with an optional edition list.

ISBN Lookup

An edition record can include:

  • editionKey
  • isbn10
  • isbn13
  • publishDate
  • numberOfPages
  • identifiers

Author Record

An author record can include:

  • authorKey
  • name
  • bio
  • remoteIds
  • photoUrl
  • Birth and death dates, when available

External identifiers may include Wikidata, VIAF, ISNI, Goodreads, and Amazon identifiers when present in the source record.

Output Fields

FieldTypeDescription
recordKindstringRecord type, such as book, author, or error.
workKeystringWork key, such as /works/OL45804W.
workIdstringWork identifier without the path prefix.
bookTitlestringBook title; also stored in title.
titlestringDuplicate title field for convenient dataset access.
authorsarrayAuthor names associated with a work.
firstPublishYearintegerFirst publication year, when available.
editionCountintegerNumber of editions associated with the work.
isbnsarrayUp to 20 ISBNs from a search record.
publishersarrayPublisher names, capped at 10 in search results.
subjectsarrayAssociated subjects, capped at 30 in search results.
coverIdintegerCover identifier. Invalid cover IDs such as -1 are discarded.
coverUrlstringCover image URL. The image file is not downloaded.
bookDescriptionstringWork description; also stored in description when available.
ratingsobjectAverage rating, rating count, and star-count breakdown, when available.
shelvesobjectCounts for want-to-read, currently-reading, and already-read shelves.
authorKeystringAuthor identifier.
biostring or objectAuthor biography, when available.
remoteIdsobjectExternal identifiers, such as Wikidata, VIAF, ISNI, Goodreads, and Amazon IDs.
photoUrlstringAuthor photo URL, when available.
urlstringReference URL for the associated work or record.
errorstringError type, such as NOT_FOUND, HTTP_<code>, or INVALID_INPUT.
statusCodeintegerHTTP status code for a failed request, when available.

The exact fields depend on the selected mode and the information available for each record.

FAQ

What types of book information can I collect?

Depending on the selected mode, results can include titles, authors, publication years, ISBNs, publishers, editions, descriptions, ratings, reading-shelf counts, and cover URLs.

Can I search for books by ISBN?

Yes. Select isbn mode and provide one or more ISBN-10 or ISBN-13 values in the isbns array.

What is the difference between work and edition records?

A work represents the overall book, while an edition represents a particular published version. Search and subject modes return work records; ISBN lookups return edition-level records.

Can I collect author biographies and their books?

Yes. Use authors mode with an author name in query. Set includeAuthorWorks to true to include one page of that author's works.

Are book cover images downloaded?

No. The dataset includes cover image URLs, not the actual image files.

What happens when an ISBN or book cannot be found?

The actor can return an error record containing the input, error type, and available status code. It can continue processing the remaining inputs.

Why are some metadata fields missing?

Not every work, edition, or author has complete information. Missing values reflect information unavailable in the source records and are not fabricated.

What does iaIdentifiers mean?

Some book records include Internet Archive identifiers that can reference scanned material. These identifiers are metadata references; the actor does not automatically download scanned books.

Trademark Notice

Open Library and Internet Archive are names associated with their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, endorsement, or partnership with either organization.

Disclaimer

This actor is provided as an independent data collection tool. Users are responsible for verifying collected information and ensuring their use complies with applicable laws, licences, and website policies.

This actor collects publicly accessible book and author metadata without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source's policies.

  • Personal Data: Author biographies, names, and related identifiers may contain personal information. Handle such data in accordance with applicable privacy laws, including GDPR or CCPA where relevant.
  • Copyright and Licensing: Book descriptions, biographies, cover images, and other creative content may be protected by copyright. Avoid unauthorized reproduction or redistribution, and check the applicable licences before reuse.
  • Platform Terms and Rate Limits: Respect the source's policies and request limits when collecting or using information.
  • Disclaimer: This information is general guidance, not legal advice. Consult a qualified legal professional if you need advice about a specific use case.

Is web scraping legal?