---
title: "quotes-scraper"
method: POST
path: "/api/works/quotes"
tags: ["works"]
---

# quotes-scraper

`POST /api/works/quotes`

## Quotes Scraper

Scrapes quotes associated with a specific book work from its Goodreads quotes page. Returns a list of quotes with attribution and like counts.

---

## Request

**Method:** `POST`  
**URL:** `{{Instance Domain}}/api/works/quotes`

### 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 work quotes page URL (e.g. `https://www.goodreads.com/work/quotes/1540236`) |

**Example Body:**

```json
{
  "queryURL": "https://www.goodreads.com/work/quotes/1540236"
}
```

---

## Response

### 200 Success

Returns a JSON object containing the scraped quotes.

```json
{
  "status": "Received",
  "statusCode": 200,
  "scrapeURL": "string",
  "quotes": [
    {
      "quote": "string",
      "author": "string",
      "likes": "string",
      "tags": ["string"]
    }
  ]
}
```

### Response Field Descriptions

| Field | Type | Description |
| --- | --- | --- |
| status | string | Human-readable status message |
| statusCode | number | HTTP status code of the scrape operation |
| scrapeURL | string | The Goodreads URL that was scraped |
| quotes | array | List of quotes from the book |
| quotes[].quote | string | The quote text |
| quotes[].author | string | The author attributed to the quote |
| quotes[].likes | string | Number of likes the quote has received |
| quotes[].tags | array | List of tags associated with the quote |

## Request body

- object
  - `queryURL` string, uri, required

## Response `200`

OK

- object
  - `status` string, required
  - `source` string, uri, required
  - `scrapeURL` string, uri, required
  - `bookURL` string, required
  - `image` string, uri, required
  - `name` string, required
  - `quotes` object[], required
    - `id` integer, required
    - `text` string, required
    - `author` string, required
    - `book` string, required
    - `likes` 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

[Change history](https://skmtc.dev/nesaku/apis/api-endpoints/changes/api/works/quotes/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)
