Skip to content

Project Gutenberg API

5 endpointsEntertainment & BooksGlobalsocial:read4 real examples

Returns Project Gutenberg book records by search, id, topic or recent addition, ordered by downloads or date added.

View as Markdown
GET/gutendex/searchSearch Project Gutenberg books by title or author, most downloaded first. Without a query it lists the most downloaded books.
GET/gutendex/bookOne Project Gutenberg book by its Gutenberg id.
GET/gutendex/topicBooks filed under a subject or bookshelf, most downloaded first, 32 per page.
GET/gutendex/latestThe books most recently added to Project Gutenberg, newest first, 32 per page.
GET/gutendex/byIdsSeveral books by their Gutenberg numbers, up to 32 in one call.

book

GET/v1/gutendex/book

One Project Gutenberg book by its Gutenberg id.

scope social:read1 unitcached 24 h

Parameters

id
integer
required
Gutenberg book number, such as 1342.
e.g. 1342
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsAuthor[]
avatarUrlstring
idstring
namestring
urlstring
usernamestring
coverUrlstring
downloadCountinteger (int64)
idstring
languagesTerm[]
namestring
readUrlstring
subjectsTerm[]
namestring
titlestring
curl "https://api.hoshime.com/v1/gutendex/book?id=1342" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authors": [
      {
        "avatarUrl": "",
        "id": "",
        "name": "Austen, Jane",
        "url": "",
        "username": ""
      }
    ],
    "coverUrl": "https://www.gutenberg.org/cache/epub/1342/pg1342.cover.medium.jpg",
    "downloadCount": 208430,
    "id": "1342",
    "languages": [
      {
        "name": "en"
      }
    ],
    "readUrl": "https://www.gutenberg.org/ebooks/1342.html.images",
    "subjects": [
      {
        "name": "Courtship -- Fiction"
      },
      {
        "name": "Domestic fiction"
      }
    ],
    "title": "Pride and Prejudice"
  },
  "meta": {
    "cached": false,
    "endpoint": "book",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "gutendex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

topic

GET/v1/gutendex/topic

Books filed under a subject or bookshelf, most downloaded first, 32 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

topic
string
required
Word from a subject or bookshelf, such as mystery, children or poetry.
e.g. mystery
languages
string
Only books in these languages, comma separated, such as en or en,fr.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsAuthor[]
avatarUrlstring
idstring
namestring
urlstring
usernamestring
coverUrlstring
downloadCountinteger (int64)
idstring
languagesTerm[]
namestring
readUrlstring
subjectsTerm[]
namestring
titlestring
curl "https://api.hoshime.com/v1/gutendex/topic?topic=mystery" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Doyle, Arthur Conan",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "https://www.gutenberg.org/cache/epub/1661/pg1661.cover.medium.jpg",
      "downloadCount": 96353,
      "id": "1661",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/ebooks/1661.html.images",
      "subjects": [
        {
          "name": "Detective and mystery stories, English"
        },
        {
          "name": "Holmes, Sherlock (Fictitious character) -- Fiction"
        }
      ],
      "title": "The Adventures of Sherlock Holmes"
    },
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Stoker, Bram",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "https://www.gutenberg.org/cache/epub/345/pg345.cover.medium.jpg",
      "downloadCount": 78131,
      "id": "345",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/ebooks/345.html.images",
      "subjects": [
        {
          "name": "Dracula, Count (Fictitious character) -- Fiction"
        },
        {
          "name": "Epistolary fiction"
        }
      ],
      "title": "Dracula"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "topic",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "gutendex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

latest

GET/v1/gutendex/latest

The books most recently added to Project Gutenberg, newest first, 32 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

languages
string
Only books in these languages, comma separated, such as en or en,fr.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsAuthor[]
avatarUrlstring
idstring
namestring
urlstring
usernamestring
coverUrlstring
downloadCountinteger (int64)
idstring
languagesTerm[]
namestring
readUrlstring
subjectsTerm[]
namestring
titlestring
curl "https://api.hoshime.com/v1/gutendex/latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Hull, Helen R. (Helen Rose)",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "",
      "downloadCount": 0,
      "id": "79918",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/files/79918/79918-h/79918-h.htm",
      "subjects": [],
      "title": "Release : $b A one-act play"
    },
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Mason, David",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "",
      "downloadCount": 0,
      "id": "79917",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/files/79917/79917-h/79917-h.htm",
      "subjects": [],
      "title": "The gates of pearl"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latest",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "gutendex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

byIds

GET/v1/gutendex/byIds

Several books by their Gutenberg numbers, up to 32 in one call.

scope social:read1 unitcached 24 hpaginated

Parameters

ids
string
required
Gutenberg book numbers, comma separated, such as 1342,84.
e.g. 1342,84
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsAuthor[]
avatarUrlstring
idstring
namestring
urlstring
usernamestring
coverUrlstring
downloadCountinteger (int64)
idstring
languagesTerm[]
namestring
readUrlstring
subjectsTerm[]
namestring
titlestring
curl "https://api.hoshime.com/v1/gutendex/byIds?ids=1342%2C84" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Austen, Jane",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "https://www.gutenberg.org/cache/epub/1342/pg1342.cover.medium.jpg",
      "downloadCount": 208430,
      "id": "1342",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/ebooks/1342.html.images",
      "subjects": [
        {
          "name": "Courtship -- Fiction"
        },
        {
          "name": "Domestic fiction"
        }
      ],
      "title": "Pride and Prejudice"
    },
    {
      "authors": [
        {
          "avatarUrl": "",
          "id": "",
          "name": "Shelley, Mary Wollstonecraft",
          "url": "",
          "username": ""
        }
      ],
      "coverUrl": "https://www.gutenberg.org/cache/epub/84/pg84.cover.medium.jpg",
      "downloadCount": 182729,
      "id": "84",
      "languages": [
        {
          "name": "en"
        }
      ],
      "readUrl": "https://www.gutenberg.org/ebooks/84.html.images",
      "subjects": [
        {
          "name": "Frankenstein's monster (Fictitious character) -- Fiction"
        },
        {
          "name": "Frankenstein, Victor (Fictitious character) -- Fiction"
        }
      ],
      "title": "Frankenstein; or, The modern Prometheus"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "byIds",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "gutendex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open