F

Forgemesh · ASK Alice IN Wonderland

by Forgemesh

POSTBase

$0.01

per call · USD Coin on Base

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.

Endpoint

POST https://library.forgemesh.io/ask-alice-in-wonderland

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://library.forgemesh.io/ask-alice-in-wonderland", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "question": "what does the Cheshire Cat say"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://library.forgemesh.io/ask-alice-in-wonderland" \
  -H "Content-Type: application/json" \
  -d '{"question":"what does the Cheshire Cat say"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x85df5380debe236ad6bf49de788243924b080267
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Forgemesh & similar services