Gutendex Project Gutenberg Books Search
Search Project Gutenberg public-domain books via Gutendex with authors, subjects, download counts, and full-text URLs.
curl -sG "https://api.agentapigate.ai/v1/books/gutendex/search" \ --data-urlencode "search=marcus aurelius" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Gutendex Project Gutenberg Books Search (`books.gutendex.search`) **count**: 10 ### 1. Meditations - id=2680 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Ethics, Life, Stoics | languages=en | copyright=false | media_type=Text | download_count=53383 ### 2. Thoughts of Marcus Aurelius Antoninus - id=15877 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Ethics, Life, Marcus Aurelius, Emperor of Rome, 121-180, Stoics | languages=en | copyright=false | media_type=Text | download_count=13728 ### 3. The Meditations of the Emperor Marcus Aurelius Antoninus: A new rendering based on the Foulis translation of 1742 - id=55317 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Ethics, Life, Stoics | bookshelves=Category: Classics of Literature, Category: Philosophy & Ethics | languages=en | copyright=false | media_type=Text | download_count=5093 ### 4. Thoughts of Marcus Aurelius - id=6920 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Ethics, Life, Marcus Aurelius, Emperor of Rome, 121-180, Stoics | bookshelves=Category: Classics of Literature, Category: Philosophy & Ethics | languages=en | copyright=false | media_type=Text | download_count=3295 ### 5. Selbstbetrachtungen - id=15028 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Ethics, Life, Stoics | bookshelves=Category: Biographies, Category: Philosophy & Ethics, DE Sachbuch | languages=de | copyright=false | media_type=Text | download_count=1893 ### 6. The Emperor Marcus Aurelius : $b A study in ideals - id=78320 | authors=name: Joy, John C. (John Chrisentia), birth_year: 1884, death_year: 1950 | subjects=Marcus Aurelius, Emperor of Rome, 121-180 | languages=en | copyright=false | media_type=Text | download_count=1829 ### 7. Index of the Project Gutenberg Works of Marcus Aurelius Antoninus - id=59784 | authors=name: Marcus Aurelius, Emperor of Rome, birth_year: 121, death_year: 180 | subjects=Indexes | bookshelves=Category: Classics of Literature, Category: Philosophy & Ethics | languages=en | copyright=false | media_type=Text | download_count=1093 ### 8. Roman Society from Nero to Marcus Aurelius - id=34122 | authors=name: Dill, Samuel, birth_year: 1844, death_year: 1924 | subjects=Rome -- Religion, Rome -- Social life and customs | bookshelves=Category: History - Ancient | languages=en | copyright=false | media_type=Text | download_count=1070 ### 9. English Conferences of Ernest Renan: Rome and Christianity. Marcus Aurelius - id=42865 | authors=name: Renan, Ernest, birth_year: 1823, death_year: 1892 | bookshelves=Category: History - Ancient, Category: History - Religious, Category: Philosophy & Ethics | languages=en | copyright=false | media_type=Text | download_count=779 ### 10. The History of Roman Literature: From the Earliest Period to the Death of Marcus Aurelius - id=7525 | authors=name: Cruttwell, Charles Thomas, birth_year: 1847, death_year: 1911 | subjects=Latin literature -- History and criticism | bookshelves=Category: History - Ancient | languages=en | copyright=false | media_type=Text | download_count=682
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:books.gutendex.search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| search | string | optional | marcus aurelius | Author or title search words (e.g. "marcus aurelius", "shakespeare", "pride prejudice") |
| topic | string | optional | — | Optional subject or bookshelf topic filter (e.g. "philosophy", "science fiction") |
| languages | string | optional | — | Optional comma-separated 2-letter language codes (e.g. "en", "en,fr") |
| book_id | number | optional | — | Optional exact Project Gutenberg numeric book ID lookup (e.g. 2680 for Meditations) |
| limit | number | optional | 10 | Maximum books returned (1-32, default 10) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | books_gutendex_search | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1273 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 8486t → 864t (-90%) | Partner credit: eligible |
| Data Attribution | Source: Gutendex Project Gutenberg Public-Domain Catalog API (gutendex.com — Public Domain Metadata) | |
More Search & Web Real-Time APIs
Real-time Google organic search results with ranked URLs, titles, snippets, and knowledge metadata.
Search breaking news articles and publisher headlines across Google News with unwrapped publisher article URLs, publisher_name, publisher_domain, and publisher_url.
Search high-resolution web images with source page URLs, dimensions, and alt titles.
Sub-100ms Google Suggest autocomplete queries for intent discovery and agent query expansion.
Fetch surging Google Search topics and approximate search traffic volume by country.
Compare search interest over time across up to 5 keywords using Google Trends data.
Frequently Asked Questions
How do I call Gutendex Project Gutenberg Books Search (books.gutendex.search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/books/gutendex/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool books_gutendex_search on https://mcp.agentapigate.ai/mcp.
What does books.gutendex.search cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on books.gutendex.search?
Passing ?format=md transforms the response into normalized Markdown (~864 tokens vs ~8486 raw tokens, saving 90% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only search endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["books.gutendex.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.