# ISBN Lookup & Book Scraper: Open Library Metadata, Covers (`best_celerytop/book-metadata-scraper`) Actor

Bulk ISBN lookup and book metadata scraper. Search books by title, author, subject, publisher, language and year or look up ISBNs in bulk. One row per book: authors, publishers, year, pages, ISBNs, subjects, ratings, cover, description, Goodreads and OCLC ids. Official Open Library API, no key.

- **URL**: https://apify.com/best_celerytop/book-metadata-scraper.md
- **Developed by:** [Konstantin Semin](https://apify.com/best_celerytop) (community)
- **Categories:** E-commerce, Education, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 books

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Book Metadata & ISBN Lookup: Open Library Books Scraper

Look up books by ISBN in bulk, or search [Open Library](https://openlibrary.org), the open catalogue of 40+ million books, by title, author, subject, publisher, language and year. Every book comes back as one clean row: title, authors, first publication year, publishers, page count, ISBN-10 and ISBN-13, subjects, reader ratings, cover image, description and external identifiers (Goodreads, LCCN, OCLC, LibraryThing).

The Actor uses the official Open Library API. No login, no browser, no proxies, no API key.

### What you can do with it

- **Catalogue a book inventory**: paste a list of ISBNs from a bookshop, library or warehouse and get titles, authors, publishers, years, pages and covers for all of them in one run.
- **Enrich product listings**: add covers, descriptions and subjects to books in an online store or marketplace feed.
- **Build reading lists and datasets**: all books on a subject, by an author or from a publisher, with ratings and popularity counts.
- **Match identifiers**: convert ISBNs to Goodreads, LCCN, OCLC and Open Library IDs.
- **Research**: publication history of an author or topic by year and language.

### Input

| Field | Type | Description |
|---|---|---|
| `isbns` | array | ISBN-10 or ISBN-13 numbers, with or without hyphens. One row per number, marked `found` true or false. |
| `queries` | array | Free-text searches over titles, authors and subjects, one search per line. |
| `title` | string | Words that must appear in the title. |
| `author` | string | Author name. |
| `subject` | string | Subject or genre, for example `science fiction`, `cookbooks`. |
| `publisher` | string | Publisher name. |
| `language` | string | Three-letter code of the edition language: `eng`, `ger`, `fre`, `spa`, `rus`, `vie`... |
| `yearFrom`, `yearTo` | integer | Range of the first publication year. |
| `sortBy` | string | `relevance` (default), `newest`, `oldest`, `topRated`, `mostEditions`, `mostWanted`. |
| `includeDescription` | boolean | Add description, detailed subjects, ratings and links from the work record. Default `true`. |
| `maxItems` | integer | Maximum number of books saved. Default `100`. |

ISBN lookups and searches can be combined in one run. Filters combine with AND: `author` plus `subject` gives that author's books on that subject.

#### Example input

```json
{
    "isbns": ["978-0-8129-1730-7", "9780140328721"],
    "subject": "chess",
    "language": "eng",
    "yearFrom": 2000,
    "sortBy": "topRated",
    "maxItems": 200
}
```

### Output

One dataset item per book. A search returns **works** (one row per book, all its editions summarised); an ISBN lookup returns **editions** (one specific printing).

```json
{
    "type": "work",
    "key": "/works/OL8354082W",
    "url": "https://openlibrary.org/works/OL8354082W",
    "title": "How Life Imitates Chess",
    "subtitle": null,
    "authors": ["G. K. Kasparov"],
    "authorKeys": ["OL461536A"],
    "firstPublishYear": 2007,
    "publishYears": [2007],
    "publishers": ["Macmillan Audio", "A.W. Bruna", "Bloomsbury USA"],
    "languages": ["dut", "eng"],
    "editionsCount": 3,
    "pagesMedian": 240,
    "isbn13": ["9781596913875", "9789022991572", "9781427202284"],
    "isbn10": ["1596913878", "9022991571", "1427202281"],
    "lccn": ["2007019706"],
    "oclc": [],
    "goodreadsIds": ["749622", "1414985"],
    "amazonIds": [],
    "subjects": ["Biography", "Chess players", "Chess", "Decision making", "Strategy"],
    "firstSentence": null,
    "ratingAverage": 4.5,
    "ratingCount": 2,
    "wantToReadCount": 8,
    "alreadyReadCount": 2,
    "currentlyReadingCount": 0,
    "coverUrl": "https://covers.openlibrary.org/b/id/1998231-L.jpg",
    "coverEditionKey": "/books/OL9710203M",
    "description": "Garry Kasparov was the highest-rated chess player in the world for over twenty years ...",
    "subjectPlaces": [],
    "subjectTimes": [],
    "subjectPeople": [],
    "links": [],
    "scrapedAt": "2026-11-12T07:30:00.000Z"
}
```

An edition row from an ISBN lookup additionally has `requestedIsbn`, `found`, `publishDate`, `publishYear`, `publishPlaces`, `numberOfPages`, `pagination`, `byStatement`, `deweyDecimal`, `lcClassification`, `librarythingIds`, `weight` and `ebookUrls`. An ISBN that Open Library does not know gives a row with `found: false` and empty fields, so your list stays aligned.

A `RUN_SUMMARY` record in the key-value store says how many ISBNs were found and how many books each search returned.

### Good to know

- **Scale and speed.** ISBNs are looked up 100 per request and searches page 100 books at a time. With `includeDescription` on, the work record of every book is fetched too, which takes about one second per book; switch it off for large runs and you get thousands of books in a minute or two.
- **Descriptions.** Open Library has descriptions for popular books, not for all of them; the field is `null` when the catalogue has none.
- **Ratings** come from Open Library readers and are sparse. Goodreads IDs are included so you can join to other sources.
- **Covers.** `coverUrl` is a direct link to the large cover image; replace `-L` with `-M` or `-S` for smaller sizes.
- **Polite by design.** Requests go to the public API with small pauses and a plain user agent, as Open Library asks.
- **Price.** $1.50 per 1,000 books, no start fee; platform usage is included.
- **Works with n8n, Make, Zapier and AI agents.** The official Apify node for n8n runs this Actor and returns the rows inside a workflow, Make and Zapier use the Apify integration, and AI agents call it as a tool through the Apify MCP server.

### FAQ

**Can I look up a book by ASIN or Goodreads ID?**
Not directly. Search by title and author, then use the `amazonIds` and `goodreadsIds` fields of the result.

**Why does a known book show `found: false`?**
Open Library is a community catalogue. Very new or very local editions may be missing. Try the ISBN-13 if you used ISBN-10, or search by title.

**How do I look up book details by ISBN in bulk?**
Paste the ISBNs into `isbns`, one per line. They are resolved 100 per request and every number gets a row, found or not.

**Is there a free ISBN lookup API?**
Yes, Open Library's API is free and needs no key. The Actor uses it for ISBN lookups and searches.

**How do I get book cover images by ISBN?**
Every row has `coverUrl`, a direct link to the large cover; change `-L` to `-M` or `-S` for smaller sizes.

**Can I use it from n8n or an AI agent?**
Yes. Start it through the official Apify node for n8n, the Make or Zapier integration, or the Apify MCP server, and read the rows back from the dataset.

**Something is missing or broken?**
Open an issue on the Issues tab and include the input you used.

### Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Open Library or the Internet Archive. Catalogue data is provided by Open Library under its open data terms.

# Actor input Schema

## `isbns` (type: `array`):

ISBN-10 or ISBN-13 numbers, one per line, with or without hyphens. One row per number, marked found or not found.

## `queries` (type: `array`):

Free-text searches over titles, authors and subjects, one per line, for example `chess openings` or `Tolkien hobbit`.

## `title` (type: `string`):

Words that must appear in the title.

## `author` (type: `string`):

Author name, for example `Agatha Christie`.

## `subject` (type: `string`):

Subject or genre, for example `science fiction`, `cookbooks`, `machine learning`.

## `publisher` (type: `string`):

Publisher name, for example `Penguin` or `O'Reilly`.

## `language` (type: `string`):

Three-letter language code of the editions, for example `eng`, `ger`, `fre`, `spa`, `rus`, `vie`.

## `yearFrom` (type: `integer`):

Keep books first published in this year or later.

## `yearTo` (type: `integer`):

Keep books first published in this year or earlier.

## `sortBy` (type: `string`):

Order of search results.

## `includeDescription` (type: `boolean`):

Add the book description, detailed subjects (places, times, people), ratings and external links. One or two extra requests per book.

## `maxItems` (type: `integer`):

Maximum number of books saved in the run.

## Actor input object example

```json
{
  "queries": [
    "chess openings"
  ],
  "sortBy": "relevance",
  "includeDescription": true,
  "maxItems": 20
}
```

# Actor output Schema

## `books` (type: `string`):

Books with authors, publishers, ISBNs, subjects, ratings, covers and descriptions.

## `runSummary` (type: `string`):

How many ISBNs were found and how many books each search returned.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "chess openings"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("best_celerytop/book-metadata-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["chess openings"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("best_celerytop/book-metadata-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "chess openings"
  ],
  "maxItems": 20
}' |
apify call best_celerytop/book-metadata-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,best_celerytop/book-metadata-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FasQhnKf4blIjL40Z/builds/ylCvIPyundklk8th3/openapi.json
