100 free credits. No credit card required. Get a key

Search Goodreads books API

Search Goodreads books by title, author or ISBN (20 a page).

GET /v1/goodreads/searchBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/goodreads/search?query=dune",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "dune",
"books": [
{
"legacyId": 44767458,
"title": "Dune",
"webUrl": "https://www.goodreads.com/book/show/44767458",
"imageUrl": "https://m.media-amazon.com/images/S/compressed.photo.goodreads.com/books/1555447414i/44767458.jpg",
"authors": [
{
"legacyId": 58,
"name": "Frank Herbert",
"webUrl": "https://www.goodreads.com/author/show/58.Frank_Herbert"
}
],
"averageRating": 4.29,
"ratingsCount": 1700000,
"reviewsCount": 91100,
"publicationYear": 2019,
"editionsCount": 524,
"series": {
"title": "Dune (Series #1)",
"webUrl": "https://www.goodreads.com/series/45935-dune"
}
},
{
"legacyId": 44492285,
"title": "Dune Messiah",
"webUrl": "https://www.goodreads.com/book/show/44492285",
"imageUrl": "https://m.media-amazon.com/images/S/compressed.photo.goodreads.com/books/1577043824i/44492285.jpg",
"authors": [
{
"legacyId": 58,
"name": "Frank Herbert",
"webUrl": "https://www.goodreads.com/author/show/58.Frank_Herbert"
},
{
"legacyId": 56,
"name": "Brian Herbert",
"webUrl": "https://www.goodreads.com/author/show/56.Brian_Herbert"
}
],
"averageRating": 3.9,
"ratingsCount": 457000,
"reviewsCount": 31500,
"publicationYear": 2019,
"editionsCount": 274,
"series": {
"title": "Dune (Series #2)",
"webUrl": "https://www.goodreads.com/series/45935-dune"
}
},
"… 18 more"
],
"pagination": {
"next_cursor": "2",
"has_more": true
}
}

Parameters

NameTypeDescription
queryquery · requiredstringWhat to search for. Example: dune.
limitqueryinteger1 to 20, default 20.
afterquerystringCursor: the previous page’s pagination.next_cursor (pass the same filters).
Response fields

200 with a GoodreadsSearchResponse, in Goodreads’s own JSON.

FieldTypeDescription
querystring
booksGoodreadsBookCard[]
paginationGoodreadsPagination
Status codes
StatusMeaning
200A page of books.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Goodreads book, author, series or list by that id, link or ISBN.
429Too many requests. Wait for Retry-After seconds.
503Goodreads is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Goodreads is a trademark of its owner. We are not affiliated with or endorsed by it.