# 2s.io Open Library Book Metadata Search

> 2s.io Open Library Book Metadata Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Search Open Library's book catalog by free-text query, title, author, or ISBN to retrieve rich bibliographic metadata including cover images, subjects, and ebook access tiers.

## Facts

- Endpoint: GET https://2s.io/api/book/search
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-ec8b3712
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eccjv12zGwL2wDRJxmutR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-ec8b3712
```

Example prompt: Search Open Library for books by Ursula K. Le Guin titled 'The Left Hand of Darkness' and tell me the first publish year, edition count, available ebook access tier, cover image URL, and subject tags.

## When to prefer this

Choose this endpoint when you need structured bibliographic metadata from Open Library — especially cover images, ebook access tiers, subject tags, or author keys — and you want to search by free text, title, author, or ISBN. Prefer over generic web search when you need machine-readable, CC0-licensed book data with consistent field structure.

## Known failure modes

- No results found for obscure or misspelled queries — returns empty results list
- ISBN not recognized if formatted incorrectly (though hyphens are allowed)
- Pagination beyond available results returns empty page
- Rate limiting or payment failure returns 402 error
- Very broad free-text queries may return loosely related results

## How this service works

Open Library book metadata search. Lookup by free-text query (matches title + author), or by individual title / author / ISBN (10 or 13 digit). Each record includes Open Library work key, title, author names + Open Library author keys, first publish year, edition count, cover image URL, sample ISBNs, publishers, languages, subject tags, fulltext flag, ebook access tier (public/borrowable/printdisabled/no_ebook), and canonical openlibrary.org URL. CC0 public-domain metadata.

## Output

Returns a paginated list of book records from Open Library, each containing: work key, title, author names and author keys, first publish year, edition count, cover image URL, sample ISBNs, publishers, languages, subject tags, fulltext availability flag, ebook access tier (public/borrowable/printdisabled/no_ebook), and a canonical openlibrary.org URL. Metadata is CC0 public domain.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "page": 1,
   "limit": 10,
   "title": "The Great Gatsby",
   "author": "F. Scott Fitzgerald"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "q": {
       "type": "string",
       "description": "Free-text query (matches title + author)."
      },
      "isbn": {
       "type": "string",
       "description": "ISBN-10 or ISBN-13 (with or without hyphens)."
      },
      "page": {
       "type": "integer",
       "default": 1,
       "minimum": 1
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1
      },
      "title": {
       "type": "string",
       "description": "Title-only search."
      },
      "author": {
       "type": "string",
       "description": "Author-only search."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-ec8b3712/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
