Gutendex API

Beginner's Pick Books / No Auth Required Beginner HTTPS
Free to Use
83 A
Measured Score 0 50 100 Speed 27/30 Consistency 13/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

Gutendex exposes the full Project Gutenberg catalogue—over 70,000 free ebooks—as a clean JSON API. Search by title, author, or language with no sign-up required.

Beginner Tip

Start with https://gutendex.com/books/?search=shakespeare to browse results instantly. The response is paginated; follow the "next" URL to get more books.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://gutendex.com/books/?search=twain&languages=en
Result
HTTP 200 · application/json · 51,929 bytes · compressed
Response time
38 ms (median of 3) · fastest 33 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
count integer 230
next string (url) https://gutendex.com/books/?languages=en&page…
previous null null
results array [1 item]

Captured Response

Captured from a real request to https://gutendex.com/books/?search=twain&languages=en on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "count": 230,
  "next": "https://gutendex.com/books/?languages=en&page=2&search=twain",
  "previous": null,
  "results": [
    {
      "id": 245,
      "title": "Life on the Mississippi",
      "authors": [
        {
          "…": "(3 more fields)"
        }
      ],
      "summaries": [
        "\"Life on the Mississippi\" by Mark Twain is a memoir and travel book published in 1883. It recounts Twain's experiences as a young steamboat pilot's apprentic…"
      ],
      "editors": [],
      "translators": [],
      "subjects": [
        "Authors, American -- 19th century -- Biography"
      ],
      "bookshelves": [
        "Category: American Literature"
      ],
      "languages": [
        "en"
      ],
      "copyright": false,
      "media_type": "Text",
      "formats": {
        "…": "(8 more fields)"
      },
      "download_count": 71674
    }
  ]
}

Field Reference

count Total number of books matching the query.
next URL of the next page of results, or null on the last page.
results Array of book objects matching the search.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://gutendex.com/books/?search=twain&languages=en";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist application/json
{
  "detail": "Not found."
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Empty results array Misspelled search term or language code (e.g. "en" not "english")
Check spelling and use ISO 639-1 two-letter language codes in the languages= parameter.
CORS error in browser Gutendex does not advertise CORS headers on all endpoints
Proxy the request through your backend or use a CORS-friendly fetch wrapper during development.
"next" page returns 404 Manually editing the page= query param to a page that does not exist
Always follow the exact "next" URL returned in the response instead of incrementing the page number manually.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 27/30
Consistency 13/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 38ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Books
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Alternatives to Gutendex

Technical alternatives for different use cases.

Free public domain books from Project Gutenberg

Better For

Modern book metadata and cover images

Trade-off

Accessing full-text public domain ebooks

Similar APIs

View All →