Public Domain Books API logo

Public Domain Books API

|
Entertainment
|
1 tokens / call

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.

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Path Parameters

id

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' }
});