# library.forgemesh.io Book Quotes

> library.forgemesh.io Book Quotes is a paid API for AI agents from library.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Retrieves real notable passages from a specific public-domain book by Gutenberg ID, with optional keyword/theme filtering within that book.

## Facts

- Endpoint: POST https://library.forgemesh.io/book-quotes
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/library-forgemesh-io-book-quotes-3f933d40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__SuOOrts39J29qvV_QgVi

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 library-forgemesh-io-book-quotes-3f933d40 -d '<json body>'
```

Example prompt: Pull up to 10 notable passages from Crime and Punishment (Gutenberg book ID 2554) that relate to the theme of guilt.

## When to prefer this

Use this endpoint when you need real verbatim passages from a specific known Gutenberg book and optionally want to filter by a theme or keyword within that book. Prefer this over the full-corpus search endpoint when you already know the exact book_id and want targeted in-book retrieval rather than cross-book search.

## Known failure modes

- Invalid or unindexed book_id returns no results or an error
- Theme keyword yields no matching passages within the specified book
- Limit exceeding max of 20 may be clamped or rejected
- Payment of 0.005 USDC not fulfilled results in 402 response

## How this service works

Get notable passages from one indexed book by book_id. Pass an optional theme to full-text search within that book, or omit it for a sample of short dialogue-bearing passages. Returns real excerpts, never generated or paraphrased. No license, no API key required.

## Output

Returns a list of real verbatim excerpts from the specified Gutenberg book — never AI-generated or paraphrased. Each passage is a notable or dialogue-bearing segment from the original text. When a theme is provided, results are filtered by full-text search within the book; otherwise a representative sample is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max passages (default 5, max 20)"
  },
  "theme": {
   "type": "string",
   "description": "Optional theme or keyword to search for within this book, e.g. \"love\" or \"death\""
  },
  "book_id": {
   "type": "integer",
   "description": "Gutenberg book id"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "theme": "pride",
  "title": "Pride and Prejudice",
  "author": "Austen, Jane, 1775-1817",
  "method": "full-text search for the theme within this book",
  "book_id": 1342,
  "passages": [
   {
    "chapter": 5,
    "passage": "…[pride] is a very common failing, I believe…",
    "chunk_index": 88
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/library-forgemesh-io-book-quotes-3f933d40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from library.forgemesh.io](https://www.zero.xyz/host/library.forgemesh.io/llms.txt)
