# 📚 Goodreads Book Scraper (`easyapi/goodreads-book-scraper`) Actor

Extract comprehensive book data from Goodreads search results. Get detailed information about books, authors, ratings, and more. Perfect for market research, data analysis, and building book recommendation systems. 🔍📚

- **URL**: https://apify.com/easyapi/goodreads-book-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Integrations, Other
- **Features:** Limited permissions
- **Stats:** 155 total users, 9 monthly users, 98.2% runs succeeded, 4 bookmarks
- **User rating**: 4.77 out of 5 stars

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📚 Goodreads Book Scraper

Scrape detailed book information from Goodreads search results. Perfect for book researchers, publishers, and data analysts who need comprehensive book data.

### 🎯 Features

- 📖 Search books by keywords
- 🔍 Extract detailed book information including:
  - Book title and URL
  - Author details (name, profile URL, Goodreads author status)
  - Cover image URL
  - Rating information (average rating and number of ratings)
  - Publication year
  - Number of editions
- ⚡ Fast and efficient scraping with built-in pagination handling
- 🛡️ Advanced browser automation with anti-detection measures
- 🎚️ Configurable maximum items limit
- 🌐 Proxy support for reliable data collection

### 📝 Use Cases

- 📊 Market research for publishers and authors
- 📚 Building book recommendation systems
- 🔍 Competitive analysis of book ratings and popularity
- 📈 Tracking book performance metrics
- 🎯 Finding popular books in specific genres or topics

### 💡 Tips

- Use specific keywords for more accurate results
- Set appropriate maxItems limit based on your needs
- Enable proxy configuration for better success rates
- Consider rate limits and be respectful to Goodreads servers

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "keywords": [
        "shaker"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "keyword": "shaker",
        "title": "Shaker (Blackwings MC, #5)Teagan Brooks",
        "url": "https://www.goodreads.com/book/show/43999679-shaker",
        "author": {
            "name": "Teagan Brooks",
            "url": "https://www.goodreads.comhttps://www.goodreads.com/author/show/18042726.Teagan_Brooks",
            "isGoodreadsAuthor": true
        },
        "cover": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1550046473i/43999679._SY75_.jpg",
        "rating": {
            "average": 4.49,
            "count": 3196
        },
        "publishYear": 2019,
        "editions": 5
    },
    ...
]
```

### 🤝 Related Actors

Here are some other useful actors for content and social media scraping:

- 🎥 [TikTok Videos Scraper](https://apify.com/easyapi/tiktok-videos-scraper) - Extract comprehensive video metadata with advanced filtering capabilities
- 📱 [TikTok LIVE Scraper](https://apify.com/easyapi/tiktok-live-scraper) - Gather real-time data from TikTok live streams
- 👥 [TikTok Following Scraper](https://apify.com/easyapi/tiktok-following-scraper) - Extract detailed TikTok following list information
- 🔵 [Facebook Following Scraper](https://apify.com/easyapi/facebook-following-scraper) - Scrape Facebook following relationships and profile details
- 📝 [Reddit Posts Search Scraper](https://apify.com/easyapi/reddit-posts-search-scraper) - Extract Reddit posts with rich metadata and engagement metrics
- 👻 [Snapchat User Stories Scraper](https://apify.com/easyapi/snapchat-user-stories-scraper) - Scrape public Snapchat story content and details
- 🎯 [Snapchat Spotlight Detail Scraper](https://apify.com/easyapi/snapchat-spotlight-detail-scraper) - Extract Snapchat Spotlight videos metadata
- 👥 [VK Groups Scraper](https://apify.com/easyapi/vk-groups-scraper) - Comprehensive VK group data extraction
- 👤 [VK People Scraper](https://apify.com/easyapi/vk-people-scraper) - Extract detailed VK user profile information
- 📸 [Instagram Profile Scraper](https://apify.com/easyapi/instagram-profile-scraper) - Gather Instagram profile metrics and details
- 🖼️ [Instagram Post Detail Scraper](https://apify.com/easyapi/instagram-post-detail-scraper) - Extract comprehensive Instagram post data
- 📊 [Instagram Hashtag Scraper](https://apify.com/easyapi/instagram-hashtag-scraper) - Scrape Instagram hashtag posts and metrics
- 💬 [Instagram Comments Scraper](https://apify.com/easyapi/instagram-comments-scraper) - Extract Instagram post comments and engagement
- 📱 [Instagram Story Scraper](https://apify.com/easyapi/instagram-story-scraper) - Gather Instagram story content and metrics
- 🛍️ [Tokopedia Product Search Scraper](https://apify.com/easyapi/tokopedia-product-search-scraper) - Extract detailed product data from Tokopedia search results

# Actor input Schema

## `keywords` (type: `array`):

List of keywords to search for on Goodreads

## `maxItems` (type: `integer`):

Maximum number of books to scrape per keyword

## `proxyConfiguration` (type: `object`):

Proxy settings for making requests

## Actor input object example

```json
{
  "keywords": [
    "shaker"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/goodreads-book-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/goodreads-book-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/goodreads-book-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/goodreads-book-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/C7sSTF0fXxJLbArKk/builds/JxeUwTeEN07D1I16S/openapi.json
