
Public Domain Books API
The world's free library, searchable. The complete Project Gutenberg catalog — 78,037 public-domain ebooks in 56 languages — with full-text search over titles, authors AND Library of Congress subjects ('pride and prejudice' → Gutenberg #1342; 'detective fiction' → 1,190 books), author and language filters (Jules Verne in French: 47 works), parsed display authors ('Austen, Jane, 1775-1817' becomes 'Jane Austen'), subjects, LoC classes and curated bookshelves. Every book ships with ready-to-use links: the Gutenberg landing page, plain-text and EPUB downloads, and a cover image — all from Gutenberg's stable cache layout (verified live). A random endpoint (optionally per language) powers book-of-the-day features, and detail responses include more works by the same author (Moby Dick → Typee, and the rest of Melville). Reading apps, e-ink devices, education platforms, language-learning tools, literary games and AI training corpora — the classics, one API call away.
{
"ok": true,
"book": {
"id": 2701,
"title": "Moby Dick; Or, The Whale",
"authors": "Melville, Herman, 1819-1891",
"first_author": "Herman Melville",
"language": "en",
"issued": "2001-07-01",
"subjects": "Whaling -- Fiction; Sea stories; Psychological fiction; Ship captains -- Fiction; Adventure stories; Mentally ill -- Fiction; Ahab, Captain (Fictitious character) -- Fiction; Whales -- Fiction; Whaling ships -- Fiction",
"locc": "PS",
"bookshelves": "Best Books Ever Listings; Category: Adventure; Category: Novels; Category: Classics of Literature; Category: American Literature",
"links": {
"gutenberg_url": "https://www.gutenberg.org/ebooks/2701",
"text": "https://www.gutenberg.org/cache/epub/2701/pg2701.txt",
"epub": "https://www.gutenberg.org/cache/epub/2701/pg2701-images.epub",
"cover": "https://www.gutenberg.org/cache/epub/2701/pg2701.cover.medium.jpg"
}
},
"more_by_author": [
{
"id": 15,
"title": "Moby-Dick; or, The Whale",
"language": "en"
},
{
"id": 1900,
"title": "Typee: A Romance of the South Seas",
"language": "en"
},
{
"id": 2489,
"title": "Moby Dick; Or, The Whale",
"language": "en"
},
{
"id": 2694,
"title": "I and My Chimney",
"language": "en"
},
{
"id": 4045,
"title": "Omoo: Adventures in the South Seas",
"language": "en"
},
{
"id": 8118,
"title": "Redburn. His First Voyage Being the Sailor Boy Confessions and Reminiscences of the Son-Of-A-Gentleman in the Merchant Navy",
"language": "en"
},
{
"id": 10712,
"title": "White Jacket; Or, The World on a Man-of-War",
"language": "en"
},
{
"id": 11231,
"title": "Bartleby, the Scrivener: A Story of Wall-Street",
"language": "en"
},
{
"id": 12384,
"title": "Battle-Pieces and Aspects of the War",
"language": "en"
},
{
"id": 12841,
"title": "John Marr and Other Poems",
"language": "en"
}
],
"note": "Download links are constructed from Gutenberg's stable cache layout; a rare title may lack a given format."
}Why developers pick this API
Production-ready
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 20+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.
Code snippets
One install. Every endpoint.
No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.
- Fully typed responses — auto-completion in your IDE
- Tracks the API in lockstep — new endpoints land same day
- One key works across 20+ APIs on the platform
import axios from 'axios';
const { data } = await axios.get(
'{API_URL}',
{ headers: { 'X-Api-Key': process.env.API_KEY } }
);🔒 Subscribe to unlock the live API URL
Developer playground
Explore the endpoints
Browse request parameters and inspect live example responses.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
Path Parameters
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});Pricing
One subscription. Every API.
Tokens unlock this API and 20+ others on DataAndAPIs. Switch APIs any time — we promote.
STARTER
25,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Email support
PRO
100,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Priority email support
ULTRA
1,000,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Priority support
Need higher volume, dedicated infra, or a custom contract? Talk to sales →
Common questions
The things that actually block the upgrade.
Ship Public Domain Books API this afternoon.
500 free tokens. No card. Plus 20+ other APIs on the same key.
