Use Goodreads Book, Author & Listopia List Scraper with Python
Look up Goodreads books by URL, search query, or ISBN, or pull every book by an author, in a series, on a Listopia list, shelf, or genre page. Filter by rating, ratings count, publish year, language, genre, or author.
1. Choose the data you need
Review the published README for supported collection modes, examples, and limits. The recipe below uses the current published input definition.
2. Prepare a source-based input
This JSON contains published prefills and required-field defaults. Review every value for your task before running it; it is not a promise of successful collection.
{
"authorUrls": [],
"bookUrls": [
"https://www.goodreads.com/book/show/4671.The_Great_Gatsby"
],
"detailLevel": "full",
"excludeSpoilers": false,
"genreNames": [],
"includeMetadata": false,
"includeRelated": false,
"isbns": [
"9780743273565"
],
"listUrls": [],
"maxEditionsPerBook": 3,
"maxItems": 1,
"maxListsPerBook": 5,
"maxQuotesPerSource": 3,
"maxReviewsPerBook": 3,
"maxSimilarPerBook": 5,
"mode": "isbns",
"quoteAuthorUrls": [],
"quoteTags": [
"love"
],
"quoteWorkUrls": [],
"releaseMonth": "all",
"releaseYear": 2026,
"reviewLanguage": "all",
"reviewSort": "DEFAULT",
"searchQueries": [],
"seriesUrls": [],
"shelfNames": []
}
Download input.example.json and save your reviewed copy as input.json.
| Field | Type | Required | Description |
|---|---|---|---|
mode | string | required | What to scrape. Auto runs every non-empty input you provide. |
bookUrls | array | optional | Goodreads book URLs, bare book IDs, or ISBNs. Used by books, reviews, editions, similar, and bookLists. (mode=books, reviews, editions, similar, bookLists, auto) |
searchQueries | array | optional | Titles, authors, or keywords to search for. (mode=search, auto) |
isbns | array | optional | ISBN-10 or ISBN-13 values. Hyphens and spaces are accepted. (mode=isbns, auto) |
authorUrls | array | optional | Goodreads author URLs or bare author IDs. (mode=authors, auto) |
seriesUrls | array | optional | Goodreads series URLs or bare series IDs. (mode=series, auto) |
listUrls | array | optional | Listopia /list/show/ URLs or bare list IDs. (mode=lists, auto) |
shelfNames | array | optional | Popular shelf names such as mystery, fantasy, or historical-fiction. (mode=shelves, auto) |
genreNames | array | optional | Genre slugs such as fantasy, romance, or science-fiction. (mode=genres, auto) |
maxItems | integer | optional | Hard cap on every record emitted in the run, including review, edition, quote, list, and summary records. |
detailLevel | string | optional | Full returns complete book records. Listing returns lighter row records for search, author, series, list, shelf, and genre results. |
includeMetadata | boolean | optional | Also emit one author, series, or Listopia summary record alongside the books. |
includeRelated | boolean | optional | In auto mode, also collect reviews, editions, similar books, and lists for each book URL. |
minRating | number | optional | Drop books rated below this value. Decimals such as 4.5 are supported. |
minRatingsCount | integer | optional | Drop books with fewer ratings than this. |
publishYearMin | integer | optional | Drop books first published before this year. |
publishYearMax | integer | optional | Drop books first published after this year. |
language | string | optional | Keep books whose language starts with this text, for example en, English, or fre. |
containsGenre | string | optional | Keep books with a genre containing this text. |
containsAuthor | string | optional | Keep books with an author name containing this text. |
maxReviewsPerBook | integer | optional | Reviews to collect for each book. (mode=reviews) |
reviewSort | string | optional | Order reviews by Goodreads default, newest first, or oldest first. (mode=reviews) |
reviewLanguage | string | optional | Only collect reviews written in this language. (mode=reviews) |
reviewRatingMin | integer | optional | Only collect reviews with at least this star rating. (mode=reviews) |
reviewRatingMax | integer | optional | Only collect reviews with at most this star rating. (mode=reviews) |
excludeSpoilers | boolean | optional | Skip reviews Goodreads marks as containing spoilers. (mode=reviews) |
maxEditionsPerBook | integer | optional | Editions to collect for each book. (mode=editions) |
quoteTags | array | optional | Quote tag pages to scrape, such as love, life, or wisdom. (mode=quotes) |
quoteAuthorUrls | array | optional | Author quote pages as Goodreads URLs or bare author IDs. (mode=quotes) |
quoteWorkUrls | array | optional | Work quote pages as Goodreads URLs or bare work IDs. (mode=quotes) |
maxQuotesPerSource | integer | optional | Quotes to collect from each tag, author, or work. (mode=quotes) |
maxSimilarPerBook | integer | optional | Similar books to collect for each input book. (mode=similar) |
maxListsPerBook | integer | optional | Listopia lists to collect for each input book. (mode=bookLists) |
releaseYear | integer | optional | Year of the new-releases chart. (mode=newReleases) |
releaseMonth | string | optional | Month of the new-releases chart, or all for the yearly chart. (mode=newReleases) |
3. Start an Actor run
Set APIFY_TOKEN in your environment. Python 3.10 or newer is sufficient; this recipe uses no third-party packages.
Execution may incur charges. Review current pricing on Apify. The request asks for a 120-second timeout and a charge limit; these settings are subject to Apify’s pricing and do not guarantee an all-inclusive spending cap.
import json
import os
import urllib.request
# Save the schema-derived example as input.json; review and edit it first.
with open("input.json", encoding="utf-8") as stream:
actor_input = json.load(stream)
token = os.environ["APIFY_TOKEN"]
request = urllib.request.Request(
"https://api.apify.com/v2/acts/G16n73DmJWBnyen2O/runs?timeout=120&maxTotalChargeUsd=0.50",
data=json.dumps(actor_input).encode("utf-8"),
headers={"Authorization": "Bearer " + token, "Content-Type": "application/json"},
method="POST",
)
# This starts a potentially billable run. Do not automatically retry this POST.
with urllib.request.urlopen(request, timeout=40) as response:
run = json.load(response)["data"]
print("Run ID:", run["id"])
print("Status:", run["status"])
# Inspect and download results in Apify Console once the run succeeds.
4. Inspect the actual results
Open the run in Apify Console and wait for a successful completion. Use the published output schema to locate results and the dataset schema to understand declared views. Missing or optional record fields must not be treated as guaranteed values.
One dataset of Goodreads records identified by recordType: books, reviews, editions, quotes, authors, series, Listopia lists, listing rows, and release-chart entries.
Questions before you run
Which inputs are required?
The published required fields are mode
What does this guide verify?
The fields, prefills, and schema links are rendered from the published build. This is a usage recipe, not a paid live extraction test. Source availability and collection results can vary.
What if the run request times out?
Check Apify Console before retrying. The first request may already have created a run. Do not automatically repeat a run-creation POST.
Generated from source build SE0siaqd22MLHJstA and its README and schemas. Source changes regenerate this guide; no third-party editorial claims are inferred.