Developer Tools
Build on 194 free classics. Public JSON API, OPDS feed, embeddable widgets. Zero keys, zero auth, CORS-enabled.
1. JSON API
Full library as JSON. CORS headers set. Cached 1 hour.
GET https://mybookpdf.com/books.json
Each book includes: id, title, author, year, genre, description, gutenbergId, coverUrl, epubUrl, readUrl.
2. OPDS catalog (for e-readers)
OPDS 1.2 Atom feed. Add to KOReader, Moon+ Reader, Aldiko, FBReader, or Thorium to browse and download the full library directly on your device.
https://mybookpdf.com/catalog.atom
3. "Read free" badge
Embed in your blog post, GitHub README, or docs. Dark and light styles, three sizes.
<a href="https://mybookpdf.com/read/dracula">
<img src="https://mybookpdf.com/api/badge?style=dark&size=md"
alt="Read free on MyBookPDF">
</a>
Preview:
4. Embeddable book widget
Drop any classic into a blog post with one iframe.
<iframe src="https://mybookpdf.com/embed/dracula"
width="340" height="140" frameborder="0" loading="lazy">
</iframe>
5. OG image generator
1200×630 SVG social card for any book. Cache: 30 days, immutable.
GET /api/og?title=Dracula&author=Bram+Stoker&cover=...
6. Quote card generator
Turn any classic quote into a shareable 1200×630 image.
GET /api/quote-card?quote=...&author=...&book=...
7. RSS & Sitemap
- /feed.xml — RSS 2.0
- /sitemap.xml — 500+ URLs
- /sitemap-images.xml — Cover images for Google Images
- /opensearch.xml — OpenSearch 1.1
License: the content is public domain. Attribution appreciated but not required. No rate limits. If you build something cool with this, let us know.