{
  "openapi": "3.0.1",
  "info": {
    "title": "Goodreads Scraper: Books, Reviews, Ratings, Lists & Editions",
    "description": "Goodreads books, ratings and reviews as clean rows: 1-5 star counts, ISBN, genres, series, awards, every review with star, language and keyword filters, plus lists, shelves, authors, editions and Choice Awards. By URL, ISBN or title. Pay per row.",
    "version": "0.0",
    "x-build-id": "ihPnZnC7Zv1orjnNg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapebench~goodreads-books-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapebench-goodreads-books-reviews-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/scrapebench~goodreads-books-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapebench-goodreads-books-reviews-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/scrapebench~goodreads-books-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapebench-goodreads-books-reviews-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": "What to get",
            "enum": [
              "book",
              "reviews",
              "list",
              "shelf",
              "author",
              "editions",
              "awards",
              "search"
            ],
            "type": "string",
            "description": "Book: one full book record per query (add reviews with Include reviews). Reviews: the reviews of each book, filtered. List: a Listopia list's ranked books. Shelf: a shelf or genre's top books. Author: the author's profile and books. Editions: every edition of a book. Awards: Goodreads Choice Awards nominees and winners by year. Search: the best title matches for each query.",
            "default": "book"
          },
          "queries": {
            "title": "Books, lists, shelves or authors",
            "type": "array",
            "description": "One per line. Books: a Goodreads URL, book id, ISBN-10/13 or title. List: its URL or id (1.Best_Books_Ever). Shelf: a shelf or genre name (fantasy) or URL. Author: a name, URL or id. Search: any words. Not needed for Awards.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Query (single)",
            "type": "string",
            "description": "One query, for saved tasks and API calls that send a single value. Use the list above for several."
          },
          "maxResults": {
            "title": "Maximum results per query",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on rows for EACH query: reviews per book in Reviews mode, books per list or author, editions per book, nominees per award category. Search returns at most 5 best matches; a shelf at most 50 books.",
            "default": 100
          },
          "includeReviews": {
            "title": "Include reviews (Book mode)",
            "type": "boolean",
            "description": "Also return each book's reviews as rows, using the review filters below. Charged per review.",
            "default": false
          },
          "maxReviewsPerBook": {
            "title": "Reviews per book (Book mode)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on reviews per book when Include reviews is on.",
            "default": 20
          },
          "includeBookDetails": {
            "title": "Full book record for each list row",
            "type": "boolean",
            "description": "List, Shelf, Author, Awards and Search modes: after each ranked row, also return the book's full record (star counts, ISBN, genres, series, description). Charged as a book record.",
            "default": false
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "popular",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Popular first (Goodreads' default), newest first or oldest first.",
            "default": "popular"
          },
          "reviewMinStars": {
            "title": "Minimum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews rated at least this many stars (1-5)."
          },
          "reviewMaxStars": {
            "title": "Maximum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews rated at most this many stars (1-5). Set both to 1 for 1-star reviews only."
          },
          "reviewLanguage": {
            "title": "Review language",
            "type": "string",
            "description": "Only reviews in this language, as a two-letter code: en, es, de, fr, it, pt ..."
          },
          "reviewSearchText": {
            "title": "Reviews mentioning",
            "type": "string",
            "description": "Only reviews whose text contains this word or phrase (dragon, ending, audiobook). Combines with stars and language."
          },
          "reviewsNewerThan": {
            "title": "Reviews newer than",
            "type": "string",
            "description": "Only reviews posted after this date (2026-01-31) or within this period (7 days, 3 months). Reads newest first."
          },
          "awardsYear": {
            "title": "Choice Awards year",
            "minimum": 2011,
            "maximum": 2100,
            "type": "integer",
            "description": "Awards mode: the year of the Goodreads Choice Awards (2011 onward).",
            "default": 2025
          },
          "awardsCategory": {
            "title": "Choice Awards categories",
            "type": "string",
            "description": "Awards mode: one or more categories, comma-separated (Fiction, Fantasy, Romance). Empty means every category."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: leave off. Turn on a proxy only if your runs are refused.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}