{
  "openapi": "3.0.1",
  "info": {
    "title": "Goodreads Scraper - Books, Reviews, Authors, Lists & Shelves",
    "description": "Goodreads books by search, ISBN, URL, Listopia list, shelf, genre, series or author: ratings, star split, ISBN, ASIN, pages, publisher, genres, awards, series, Kindle price. Reviews 100 a request, author profiles, monitor mode. $0.72 per 1,000 books, no start fee.",
    "version": "0.1",
    "x-build-id": "kkGUsyqMD4w1uKW46"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~goodreads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-goodreads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/topapi~goodreads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-goodreads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/topapi~goodreads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-goodreads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "books",
              "reviews",
              "authors",
              "list"
            ],
            "type": "string",
            "description": "books = one full book row per book found (default). reviews = only review rows for every book found. authors = one author profile per author URL, or per book's author. list = the listing rows themselves (rank, rating, votes, shelved count), no book details, cheaper.",
            "default": "books"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Book titles, 'title author' pairs, author names or ISBNs, one per line. Each term returns Goodreads' own top matches (up to 5, the site's search suggestions).",
            "items": {
              "type": "string"
            }
          },
          "isbns": {
            "title": "ISBNs",
            "type": "array",
            "description": "ISBN-10 or ISBN-13 numbers, one per line (hyphens and spaces are fine). Each ISBN returns its Goodreads edition.",
            "items": {
              "type": "string"
            }
          },
          "targets": {
            "title": "Goodreads URLs",
            "type": "array",
            "description": "Any public Goodreads URL: book (/book/show/5907), Listopia list (/list/show/1.Best_Books_Ever), shelf (/shelf/show/fantasy), genre (/genres/fantasy, /genres/most_read/romance, /genres/new_releases/horror), author (/author/show/3389 or /author/list/3389), series (/series/45175) or search (/search?q=dune). You can also upload a text file of URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "bookIds": {
            "title": "Book IDs",
            "type": "array",
            "description": "Goodreads book IDs (the number in /book/show/5907), one per line.",
            "items": {
              "type": "string"
            }
          },
          "genres": {
            "title": "Shelves / genres by name",
            "type": "array",
            "description": "Shelf names such as fantasy, science-fiction or historical-romance; each reads that shelf's top 50 books (the most Goodreads shows to visitors who are not signed in).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on the rows of the chosen mode across the whole run: books (books mode), reviews (reviews mode), author profiles (authors mode) or list rows (list mode). 0 = no cap.",
            "default": 25
          },
          "maxPages": {
            "title": "Max pages per URL",
            "minimum": 0,
            "type": "integer",
            "description": "Listing pages read per list, author or series URL (Listopia and author lists: 100 books a page; series: 100). Shelf and genre URLs are one page. 0 = to the end.",
            "default": 3
          },
          "maxBooksPerListing": {
            "title": "Max books per URL / search term",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on the books taken from each URL or search term (empty = no cap beyond Max rows)."
          },
          "includeBookDetails": {
            "title": "Include book details",
            "type": "boolean",
            "description": "On (default): every book is read from Goodreads' data API for the full row (description, ISBN, ASIN, pages, publisher, dates, genres, series, awards, characters, places, rating distribution, review counts per language, buy links). Off: the listing rows only (same as list mode).",
            "default": true
          },
          "includeShelvingCounts": {
            "title": "Currently reading / want to read counts",
            "type": "boolean",
            "description": "Add currentlyReadingCount and wantToReadCount to every book row (one small extra request per 20 books, free).",
            "default": true
          },
          "includeEditions": {
            "title": "Include editions",
            "type": "boolean",
            "description": "Add an editions list to every book row: up to 20 editions with format, publisher, date, ISBN, ASIN, pages and language (free).",
            "default": false
          },
          "maxEditionsPerBook": {
            "title": "Max editions per book",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "1-20.",
            "default": 20
          },
          "includeSimilarBooks": {
            "title": "Include similar books",
            "type": "boolean",
            "description": "Add Goodreads' 'Readers also enjoyed' list to every book row (title, author, rating, ratings, URL; free).",
            "default": false
          },
          "maxSimilarPerBook": {
            "title": "Max similar books per book",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "1-20.",
            "default": 10
          },
          "includeBookLists": {
            "title": "Include the Listopia lists a book is on",
            "type": "boolean",
            "description": "Add the lists the book appears on (title, voters, books on the list, URL; free).",
            "default": false
          },
          "maxListsPerBook": {
            "title": "Max lists per book",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "1-20.",
            "default": 10
          },
          "includeAuthorProfiles": {
            "title": "Include author profiles",
            "type": "boolean",
            "description": "Also save one author row (bio, born, died, website, genres, influences, followers, average rating, ratings, reviews, works count, top books) for the primary author of every delivered book. Charged per author row.",
            "default": false
          },
          "includeMetadata": {
            "title": "Include list / series / shelf summary rows",
            "type": "boolean",
            "description": "Also save one summary row per list, series, shelf or genre URL (title, description, book count, voters) and an author profile row per author URL. Charged per row.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Also save review rows for every delivered book (reviews mode does this without the book rows). Charged per review row.",
            "default": false
          },
          "maxReviewsPerBook": {
            "title": "Max reviews per book",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on review rows per book. Goodreads' data API serves the whole review list, 100 per request.",
            "default": 30
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "default",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "default = Goodreads' popular order (as on the site); newest / oldest = by date.",
            "default": "default"
          },
          "reviewLanguage": {
            "title": "Review language",
            "type": "string",
            "description": "ISO 639-1 code (en, es, de, fr, pt, it ...) to keep only reviews in that language. Filtered by Goodreads before anything is read."
          },
          "reviewRating": {
            "title": "Review stars (exact)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with this star rating (1-5)."
          },
          "reviewRatingMin": {
            "title": "Review stars from",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews rated at least this (1-5)."
          },
          "reviewRatingMax": {
            "title": "Review stars up to",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews rated at most this (1-5)."
          },
          "reviewSearch": {
            "title": "Review text contains",
            "type": "string",
            "description": "Keep only reviews whose text matches this search (Goodreads' own review search)."
          },
          "reviewsNewerThan": {
            "title": "Only reviews newer than",
            "type": "string",
            "description": "A date (2026-10-01) or a period (7 days, 24 hours, 2 weeks). Reviews are read newest first and reading stops at the first older one."
          },
          "excludeSpoilers": {
            "title": "Skip spoiler reviews",
            "type": "boolean",
            "description": "Drop reviews the reviewer marked as containing spoilers.",
            "default": false
          },
          "minReviewLikes": {
            "title": "Min likes per review",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only reviews with at least this many likes."
          },
          "reviewsFromAllEditions": {
            "title": "Reviews of all editions",
            "type": "boolean",
            "description": "On (default): reviews of every edition of the book (as the book page shows). Off: only reviews of that exact edition.",
            "default": true
          },
          "stripHtmlFromReviews": {
            "title": "Plain text only",
            "type": "boolean",
            "description": "Leave out textHtml (the review as HTML); text (plain) is always there.",
            "default": false
          },
          "minRating": {
            "title": "Min average rating",
            "type": "number",
            "description": "Only books with at least this Goodreads average rating (e.g. 4.0)."
          },
          "maxRating": {
            "title": "Max average rating",
            "type": "number",
            "description": "Only books with at most this average rating."
          },
          "minRatingsCount": {
            "title": "Min number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Only books with at least this many ratings."
          },
          "maxRatingsCount": {
            "title": "Max number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Only books with at most this many ratings (find less-known titles)."
          },
          "minReviewsCount": {
            "title": "Min number of text reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Only books with at least this many text reviews."
          },
          "publishYearMin": {
            "title": "First published from (year)",
            "type": "integer",
            "description": "Only books first published in or after this year."
          },
          "publishYearMax": {
            "title": "First published up to (year)",
            "type": "integer",
            "description": "Only books first published in or before this year."
          },
          "language": {
            "title": "Book language contains",
            "type": "string",
            "description": "Only books whose edition language contains this text (e.g. English, Spanish)."
          },
          "containsGenre": {
            "title": "Genre contains",
            "type": "string",
            "description": "Only books with a genre containing this text (e.g. romance). Several genres one per line = any of them."
          },
          "excludeGenres": {
            "title": "Exclude genres",
            "type": "array",
            "description": "Drop books with a genre containing any of these.",
            "items": {
              "type": "string"
            }
          },
          "containsAuthor": {
            "title": "Author contains",
            "type": "string",
            "description": "Only books with an author name containing this text."
          },
          "minPageCount": {
            "title": "Min pages",
            "minimum": 0,
            "type": "integer",
            "description": "Only books with at least this many pages."
          },
          "maxPageCount": {
            "title": "Max pages",
            "minimum": 0,
            "type": "integer",
            "description": "Only books with at most this many pages."
          },
          "withIsbnOnly": {
            "title": "Only books with an ISBN",
            "type": "boolean",
            "description": "Drop editions without an ISBN-10 or ISBN-13 (e.g. Kindle-only editions).",
            "default": false
          },
          "deduplicateBooks": {
            "title": "Each book once",
            "type": "boolean",
            "description": "Save each Goodreads book once even if several searches or URLs return it.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode (only new since the last run)",
            "type": "boolean",
            "description": "Remember what this input returned before and deliver only what is new: new books on a list, shelf, genre, series, author or search, new reviews (read newest first, stopping at the last one seen), new authors. Use with a Schedule. Nothing already delivered is charged again.",
            "default": false
          },
          "monitorOutput": {
            "title": "Monitor output",
            "enum": [
              "new",
              "newAndChanged"
            ],
            "type": "string",
            "description": "new = only books not delivered before. newAndChanged = also books whose rating, number of ratings or reviews changed since the last run, with the previous values and the change.",
            "default": "new"
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Name of the key-value store that keeps the monitor memory (a dataset of the same name beside it holds each poll's changes). Use different names for separate watches.",
            "default": "goodreads-monitor"
          },
          "resetMonitor": {
            "title": "Reset monitor memory",
            "type": "boolean",
            "description": "Forget what was delivered before and start again.",
            "default": false
          },
          "csvFriendlyOutput": {
            "title": "CSV-friendly output",
            "type": "boolean",
            "description": "Flatten nested fields (authors, series, awards ...) into plain columns.",
            "default": false
          },
          "customMapFunction": {
            "title": "Custom map function",
            "type": "string",
            "description": "Optional JavaScript function that takes each row and returns the row to save, e.g. (object) => ({ title: object.title, rating: object.rating })."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Data API requests in flight (each carries up to 20 books).",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: Goodreads answers the platform directly. If a request is refused, the actor moves to Apify datacenter and then residential proxy on its own. Set your own proxy here to use it first.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}