> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.biblioreads.eu.org/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.biblioreads.eu.org/_mcp/server.

# reviews-scraper

POST https://biblioreads.eu.org/api/reviews-scraper
Content-Type: application/json

## Reviews Scraper

Fetches paginated community reviews for a specific book. Use `nextPageToken` to paginate through additional pages of reviews.

---

### Request

**Method:** `POST`  
**URL:** `{{Localhost URL}}/api/reviews-scraper`  
**Headers:**

| Key | Value |
| --- | --- |
| Content-Type | application/json |

**Body** (`application/json`):

``` json
{
  "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
  "legacyBookID": 11387515,
  "nextPageToken": null
}
```

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `resourceID` | string | Yes | The Goodreads KCA resource ID for the book (format: `kca://work/...`) |
| `legacyBookID` | number | No | The legacy numeric Goodreads book ID. Optional when `resourceID` is provided |
| `nextPageToken` | string \| null | No | Pagination token from a previous response. Pass `null` for the first page |

---

### Response

**Success** **`200 OK`:**

``` json
{
  "reviews": [
    {
      "reviewer": "string",
      "reviewerURL": "string",
      "rating": "string",
      "date": "string",
      "text": "string"
    }
  ],
  "nextPageToken": "string | null"
}
```

| Field | Type | Description |
| --- | --- | --- |
| `reviews` | array | List of review objects |
| `reviews[].reviewer` | string | Display name of the reviewer |
| `reviews[].reviewerURL` | string | Goodreads profile URL of the reviewer |
| `reviews[].rating` | string | Star rating given by the reviewer |
| `reviews[].date` | string | Date the review was posted |
| `reviews[].text` | string | Full text of the review |
| `nextPageToken` | string \| null | Token to pass in the next request to fetch the following page. `null` when no more pages exist |

Reference: https://docs.biblioreads.eu.org/api-endpoints/reviews-scraper

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/reviews-scraper:
    post:
      operationId: reviews-scraper
      summary: reviews-scraper
      description: >-
        ## Reviews Scraper


        Fetches paginated community reviews for a specific book. Use
        `nextPageToken` to paginate through additional pages of reviews.


        ---


        ### Request


        **Method:** `POST`  

        **URL:** `{{Localhost URL}}/api/reviews-scraper`  

        **Headers:**


        | Key | Value |

        | --- | --- |

        | Content-Type | application/json |


        **Body** (`application/json`):


        ``` json

        {
          "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
          "legacyBookID": 11387515,
          "nextPageToken": null
        }

        ```


        | Field | Type | Required | Description |

        | --- | --- | --- | --- |

        | `resourceID` | string | Yes | The Goodreads KCA resource ID for the
        book (format: `kca://work/...`) |

        | `legacyBookID` | number | No | The legacy numeric Goodreads book ID.
        Optional when `resourceID` is provided |

        | `nextPageToken` | string \| null | No | Pagination token from a
        previous response. Pass `null` for the first page |


        ---


        ### Response


        **Success** **`200 OK`:**


        ``` json

        {
          "reviews": [
            {
              "reviewer": "string",
              "reviewerURL": "string",
              "rating": "string",
              "date": "string",
              "text": "string"
            }
          ],
          "nextPageToken": "string | null"
        }

        ```


        | Field | Type | Description |

        | --- | --- | --- |

        | `reviews` | array | List of review objects |

        | `reviews[].reviewer` | string | Display name of the reviewer |

        | `reviews[].reviewerURL` | string | Goodreads profile URL of the
        reviewer |

        | `reviews[].rating` | string | Star rating given by the reviewer |

        | `reviews[].date` | string | Date the review was posted |

        | `reviews[].text` | string | Full text of the review |

        | `nextPageToken` | string \| null | Token to pass in the next request
        to fetch the following page. `null` when no more pages exist |
      tags:
        - ''
      responses:
        '200':
          description: Successful response
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                resourceID:
                  type: string
                legacyBookID:
                  type: integer
                nextPageToken:
                  oneOf:
                    - description: Any type
                    - type: 'null'
              required:
                - resourceID
                - legacyBookID
servers:
  - url: https://biblioreads.eu.org
    description: Default

```

## Examples

**Request**

```json
{
  "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
  "legacyBookID": 11387515
}
```

**SDK Code**

```python
import requests

url = "https://biblioreads.eu.org/api/reviews-scraper"

payload = {
    "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
    "legacyBookID": 11387515
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://biblioreads.eu.org/api/reviews-scraper';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"resourceID":"kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ","legacyBookID":11387515}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://biblioreads.eu.org/api/reviews-scraper"

	payload := strings.NewReader("{\n  \"resourceID\": \"kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ\",\n  \"legacyBookID\": 11387515\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://biblioreads.eu.org/api/reviews-scraper")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"resourceID\": \"kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ\",\n  \"legacyBookID\": 11387515\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://biblioreads.eu.org/api/reviews-scraper")
  .header("Content-Type", "application/json")
  .body("{\n  \"resourceID\": \"kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ\",\n  \"legacyBookID\": 11387515\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://biblioreads.eu.org/api/reviews-scraper', [
  'body' => '{
  "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
  "legacyBookID": 11387515
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://biblioreads.eu.org/api/reviews-scraper");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"resourceID\": \"kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ\",\n  \"legacyBookID\": 11387515\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "resourceID": "kca://work/amzn1.gr.work.v1.U_UP9GjBCWvFz0W1V-A5fQ",
  "legacyBookID": 11387515
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://biblioreads.eu.org/api/reviews-scraper")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```