{"uid":"cap__IYUhz1aQFrltIyDEDHRW","slug":"forgemesh-library-book-chapter-retrieval-5f326705","name":"ForgeMesh Library Book Chapter Retrieval","description":"Retrieve the full text of one chapter from an indexed book by book_id and chapter number. Chapter 0 is front matter before the first detected heading. Use /book-metadata first to see a book's valid chapter range. No license, no API key required.","url":"https://library.forgemesh.io/book-chapter","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"book_id":{"type":"integer","description":"Gutenberg book id"},"chapter":{"type":"integer","description":"Chapter number — see chapter_range from /book-metadata"}}},"responseSchema":{"type":"json","example":{"text":"Alice was beginning to get very tired of sitting by her sister on the bank...","title":"Alice's Adventures in Wonderland","author":"Carroll, Lewis, 1832-1898","book_id":11,"chapter":1,"chunk_count":8,"chapter_detection":"heading"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XnEVXHw7vENj5BBOfGYYt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the full text of a specific chapter from a Project Gutenberg public-domain book by book ID and chapter number","exampleAgentPrompt":"Can you fetch chapter 4 of Moby Dick — that's Gutenberg book ID 2701 — so I can read it?","exampleUseCases":[{"title":"Reading classic novel chapter by chapter","prompt":"I want to read Pride and Prejudice one chapter at a time — fetch chapter 1 from Gutenberg book 1342 for me."},{"title":"Extracting philosophy text for analysis","prompt":"Pull the full text of chapter 2 from Nietzsche's Beyond Good and Evil — that's Gutenberg book 4363 — so I can analyze the arguments."},{"title":"Accessing play front matter","prompt":"Get me the front matter (chapter 0) of Hamlet from the Gutenberg library — book ID 1524 — I want to see the preface and cast list."}],"resultDescription":"The full plain text of the requested chapter from the specified Gutenberg book, enabling reading, analysis, or further processing of public-domain literary content.","failureModes":["Invalid book_id returns an error — use /book-metadata first to confirm the book exists","Chapter number out of valid range returns an error — use /book-metadata to check chapter_range before calling","Chapter 0 may be empty or minimal if no front matter exists before the first heading","Network or service errors may return HTTP 5xx responses","Payment failure via x402 protocol may block access if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need the full text of a specific chapter from a public-domain Gutenberg book and already know (or can look up) the book_id and valid chapter range. It is ideal for sequential reading, chapter-by-chapter analysis, or extracting a targeted portion of a long work. Prefer /book-metadata first to discover valid chapter numbers. Use the full-text search sibling endpoint instead if you want passages matching a query rather than a specific numbered chapter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:25.911Z","isFirstParty":false}