Dataspryva

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.

FieldTypeRequiredDescription
modestringrequiredWhat to scrape. Auto runs every non-empty input you provide.
bookUrlsarrayoptionalGoodreads book URLs, bare book IDs, or ISBNs. Used by books, reviews, editions, similar, and bookLists. (mode=books, reviews, editions, similar, bookLists, auto)
searchQueriesarrayoptionalTitles, authors, or keywords to search for. (mode=search, auto)
isbnsarrayoptionalISBN-10 or ISBN-13 values. Hyphens and spaces are accepted. (mode=isbns, auto)
authorUrlsarrayoptionalGoodreads author URLs or bare author IDs. (mode=authors, auto)
seriesUrlsarrayoptionalGoodreads series URLs or bare series IDs. (mode=series, auto)
listUrlsarrayoptionalListopia /list/show/ URLs or bare list IDs. (mode=lists, auto)
shelfNamesarrayoptionalPopular shelf names such as mystery, fantasy, or historical-fiction. (mode=shelves, auto)
genreNamesarrayoptionalGenre slugs such as fantasy, romance, or science-fiction. (mode=genres, auto)
maxItemsintegeroptionalHard cap on every record emitted in the run, including review, edition, quote, list, and summary records.
detailLevelstringoptionalFull returns complete book records. Listing returns lighter row records for search, author, series, list, shelf, and genre results.
includeMetadatabooleanoptionalAlso emit one author, series, or Listopia summary record alongside the books.
includeRelatedbooleanoptionalIn auto mode, also collect reviews, editions, similar books, and lists for each book URL.
minRatingnumberoptionalDrop books rated below this value. Decimals such as 4.5 are supported.
minRatingsCountintegeroptionalDrop books with fewer ratings than this.
publishYearMinintegeroptionalDrop books first published before this year.
publishYearMaxintegeroptionalDrop books first published after this year.
languagestringoptionalKeep books whose language starts with this text, for example en, English, or fre.
containsGenrestringoptionalKeep books with a genre containing this text.
containsAuthorstringoptionalKeep books with an author name containing this text.
maxReviewsPerBookintegeroptionalReviews to collect for each book. (mode=reviews)
reviewSortstringoptionalOrder reviews by Goodreads default, newest first, or oldest first. (mode=reviews)
reviewLanguagestringoptionalOnly collect reviews written in this language. (mode=reviews)
reviewRatingMinintegeroptionalOnly collect reviews with at least this star rating. (mode=reviews)
reviewRatingMaxintegeroptionalOnly collect reviews with at most this star rating. (mode=reviews)
excludeSpoilersbooleanoptionalSkip reviews Goodreads marks as containing spoilers. (mode=reviews)
maxEditionsPerBookintegeroptionalEditions to collect for each book. (mode=editions)
quoteTagsarrayoptionalQuote tag pages to scrape, such as love, life, or wisdom. (mode=quotes)
quoteAuthorUrlsarrayoptionalAuthor quote pages as Goodreads URLs or bare author IDs. (mode=quotes)
quoteWorkUrlsarrayoptionalWork quote pages as Goodreads URLs or bare work IDs. (mode=quotes)
maxQuotesPerSourceintegeroptionalQuotes to collect from each tag, author, or work. (mode=quotes)
maxSimilarPerBookintegeroptionalSimilar books to collect for each input book. (mode=similar)
maxListsPerBookintegeroptionalListopia lists to collect for each input book. (mode=bookLists)
releaseYearintegeroptionalYear of the new-releases chart. (mode=newReleases)
releaseMonthstringoptionalMonth 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.