# library.forgemesh.io – Alice's Adventures in Wonderland Passage Retrieval

> library.forgemesh.io – Alice's Adventures in Wonderland Passage Retrieval is a paid API for AI agents from library.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Retrieves the most relevant passages from Alice's Adventures in Wonderland based on a natural-language question, returning full-text excerpts with chapter and location citations.

## Facts

- Endpoint: POST https://library.forgemesh.io/ask-alice-in-wonderland
- Price: $0.01/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-alice-s-adventures-in-wonderland-passage-retrieval-c2b3fdbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HaIv6pcGP9gm1J5CS7MGs

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-alice-s-adventures-in-wonderland-passage-retrieval-c2b3fdbf -d '<json body>'
```

Example prompt: Search Alice's Adventures in Wonderland for passages about what the Cheshire Cat says regarding madness — give me up to 8 of the most relevant excerpts with their chapter locations.

## When to prefer this

Choose this endpoint when you need verbatim, cited passages from Alice's Adventures in Wonderland rather than a summarized or generated answer. It is ideal for fact-checking quotes, supporting literary analysis with source references, or any workflow that requires grounding claims in the original public-domain text. Prefer it over a general LLM when citation accuracy and source fidelity matter. It is scoped only to this one title — use sibling endpoints on library.forgemesh.io for other works like Dracula or Frankenstein.

## Known failure modes

- Question too vague or unrelated to the book's content — may return low-relevance passages
- Limit parameter exceeds 15 — likely returns an error or is capped
- Missing 'question' field — validation error returned
- Payment of $0.01 USDC not received — 402 response blocking access
- Extremely long or malformed question strings may cause a parsing error

## How this service works

Ask a question about Alice's Adventures in Wonderland for a tutoring agent, quiz generator, or reading app — get back the most relevant passages from the book itself, with chapter and location citations. Retrieval only, full-text search over the real book, not a generated summary or answer. No license, no API key required.

## Output

Returns a ranked list of up to 15 text passages from Alice's Adventures in Wonderland that are most semantically relevant to the submitted question. Each passage includes the full excerpt text, the chapter it appears in, and its location within the book. No AI-generated summaries or paraphrased answers are provided — only direct quotes from the source text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max passages (default 5, max 15)"
  },
  "question": {
   "type": "string",
   "description": "Your question about the book, e.g. \"what does the Cheshire Cat say about madness?\""
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 4,
  "title": "Alice's Adventures in Wonderland",
  "author": "Carroll, Lewis, 1832-1898",
  "method": "full-text retrieval — returns the most relevant passages from the book for your question; no summarization or generation",
  "book_id": 11,
  "passages": [
   {
    "text": "…\"We're all mad here. I'm mad. You're mad.\"…",
    "chapter": 6,
    "location": "chapter 6, passage #110"
   }
  ],
  "question": "what does the Cheshire Cat say"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/library-forgemesh-io-alice-s-adventures-in-wonderland-passage-retrieval-c2b3fdbf/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)
