---
title: "author-books-scraper"
method: POST
path: "/api/author/books"
tags: ["author"]
---

# author-books-scraper

`POST /api/author/books`

## Author Books Scraper

Scrapes the list of books written by a specific Goodreads author using a direct author books page URL. Returns structured metadata for all books listed on the author's Goodreads profile.

---

## Request

**Method:** `POST`  
**URL:** `{{Instance Domain}}/api/author/books`

### Headers

| Key | Value | Description |
| --- | --- | --- |
| Content-Type | application/json | Indicates the request body is JSON |

### Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| queryURL | string | Yes | The full Goodreads author books list URL to scrape (e.g. `https://www.goodreads.com/author/list/1077326.J_K_Rowling`) |

**Example Body:**

```json
{
  "queryURL": "https://www.goodreads.com/author/list/1077326.J_K_Rowling"
}
```

---

## Response

### 200 Success

Returns a JSON object containing the list of books by the specified author.

```json
{
  "status": "Received",
  "statusCode": 200,
  ...
}
```

### Response Field Descriptions

| Field | Type | Description |
| --- | --- | --- |
| status | string | Human-readable status message |
| statusCode | number | HTTP status code of the response |
| author | string | Name of the author whose books were scraped |
| books | array | List of books by the author, each with title, cover image, rating, and Goodreads URL |

## Request body

- object
  - `page` integer, required
  - `queryURL` string, uri, required

## Response `200`

OK

- object
  - `status` string, required
  - `source` string, uri, required
  - `scrapeURL` string, uri, required
  - `title` string, required
  - `desc` string, required
  - `books` object[], required
    - `id` integer, required
    - `cover` string, uri, required
    - `title` string, required
    - `bookURL` string, required
    - `author` string, required
    - `authorURL` string, uri, required
    - `rating` string, required
  - `nextPage` string, required
  - `lastScraped` string, date-time, required

## Changes

- **2026-06-15** `6ef082114b12` — 1 info
  - endpoint added
- **2026-06-15** `9188f0ce7be6` — 1 breaking
  - api path removed without deprecation
- **2026-06-15** `6ef082114b12` — 1 info
  - endpoint added
- **2026-06-14** `539ea0e4fa2a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nesaku/apis/api-endpoints/changes/api/author/books/post.md)

---

[API](https://skmtc.dev/nesaku/apis/api-endpoints.md) · [All operations](https://skmtc.dev/nesaku/apis/api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nesaku/api-endpoints/revisions/182d9252d879/schema)
