Get Gutenberg Book
gutenberg_get_bookFetch complete metadata for a Project Gutenberg book by ID — title, authors (with birth/death years), translators, editors, subjects, bookshelves, languages, copyright status, and the full formats map with download URLs for each available format (plain text, HTML, EPUB, cover image, etc.). Use this before gutenberg_get_text to confirm a plain-text format is available and to get the direct download URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project Gutenberg book ID. Visible in Gutenberg URLs (e.g., gutenberg.org/ebooks/1342) and returned by gutenberg_search_books and gutenberg_browse_popular. Example: 1342 for Pride and Prejudice, 2600 for War and Peace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Gutenberg ID. | |
| error | No | Present when the call failed. Absent on success. | |
| title | No | Book title. | |
| authors | No | Primary author(s). | |
| editors | No | Editors, if any. | |
| formats | No | Map of MIME type to download URL. Key types: "text/plain; charset=utf-8" (preferred for gutenberg_get_text), "text/html", "application/epub+zip", "image/jpeg" (cover). Not every format is present for every book. | |
| summary | No | First entry of summaries — the primary auto-generated summary of the work, or null when Gutendex has none. | |
| subjects | No | Library of Congress subject headings. | |
| copyright | No | Copyright status: false = public domain in the USA, true = under copyright, null = unknown. | |
| languages | No | Two-character language codes for this edition. | |
| summaries | No | Every summary Gutendex holds for this work, in upstream order. Usually one; some records carry a long and a short variant. Empty when there are none. | |
| media_type | No | "Text" for readable books, "Sound" for audio books. Only "Text" books have plain-text content available for gutenberg_get_text. | |
| bookshelves | No | Project Gutenberg bookshelf categories (e.g., "Best Books Ever Listings", "Category: Classics of Literature"). | |
| translators | No | Translators, if this is a translated work. | |
| download_count | No | Total downloads — popularity signal. | |
| has_plain_text | No | True if media_type is "Text" AND a UTF-8 text/plain format ("text/plain; charset=utf-8") is present in formats — prerequisite for gutenberg_get_text. |