> 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.

# series-scraper

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

## Series Scraper

Retrieves structured information about a book series, including the series title, description, and an ordered list of all books in the series.

---

### Request

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

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

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

```json
{
  "queryURL": "https://www.goodreads.com/series/45175-harry-potter"
}
```

| Field | Type | Required | Description |
|---|---|---|---|
| `queryURL` | string | Yes | The full Goodreads series URL (format: `https://www.goodreads.com/series/<id>-<series-name>`) |

---

### Response

**Success `200 OK`:**

```json
{
  "title": "string",
  "description": "string",
  "books": [
    {
      "order": "string",
      "title": "string",
      "author": "string",
      "url": "string",
      "coverImage": "string",
      "rating": "string",
      "ratingsCount": "string"
    }
  ]
}
```

| Field | Type | Description |
|---|---|---|
| `title` | string | Name of the series |
| `description` | string | Series description or synopsis |
| `books` | array | Ordered list of books in the series |
| `books[].order` | string | Position of the book within the series (e.g. `"1"`, `"2"`, `"2.5"`) |
| `books[].title` | string | Book title |
| `books[].author` | string | Author name |
| `books[].url` | string | Goodreads URL for the book |
| `books[].coverImage` | string | URL of the book cover image |
| `books[].rating` | string | Average Goodreads rating |
| `books[].ratingsCount` | string | Total number of ratings |

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

## OpenAPI Specification

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


        Retrieves structured information about a book series, including the
        series title, description, and an ordered list of all books in the
        series.


        ---


        ### Request


        **Method:** `POST`  

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

        **Headers:**


        | Key | Value |

        |---|---|

        | Content-Type | application/json |


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


        ```json

        {
          "queryURL": "https://www.goodreads.com/series/45175-harry-potter"
        }

        ```


        | Field | Type | Required | Description |

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

        | `queryURL` | string | Yes | The full Goodreads series URL (format:
        `https://www.goodreads.com/series/<id>-<series-name>`) |


        ---


        ### Response


        **Success `200 OK`:**


        ```json

        {
          "title": "string",
          "description": "string",
          "books": [
            {
              "order": "string",
              "title": "string",
              "author": "string",
              "url": "string",
              "coverImage": "string",
              "rating": "string",
              "ratingsCount": "string"
            }
          ]
        }

        ```


        | Field | Type | Description |

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

        | `title` | string | Name of the series |

        | `description` | string | Series description or synopsis |

        | `books` | array | Ordered list of books in the series |

        | `books[].order` | string | Position of the book within the series
        (e.g. `"1"`, `"2"`, `"2.5"`) |

        | `books[].title` | string | Book title |

        | `books[].author` | string | Author name |

        | `books[].url` | string | Goodreads URL for the book |

        | `books[].coverImage` | string | URL of the book cover image |

        | `books[].rating` | string | Average Goodreads rating |

        | `books[].ratingsCount` | string | Total number of ratings |
      tags:
        - ''
      responses:
        '200':
          description: Successful response
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                queryURL:
                  type: string
                  format: uri
              required:
                - queryURL
servers:
  - url: https://biblioreads.eu.org
    description: Default

```

## Examples

**Request**

```json
{
  "queryURL": "https://www.goodreads.com/series/45175-harry-potter"
}
```

**SDK Code**

```python
import requests

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

payload = { "queryURL": "https://www.goodreads.com/series/45175-harry-potter" }
headers = {"Content-Type": "application/json"}

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

print(response.json())
```

```javascript
const url = 'https://biblioreads.eu.org/api/series-scraper';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"queryURL":"https://www.goodreads.com/series/45175-harry-potter"}'
};

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/series-scraper"

	payload := strings.NewReader("{\n  \"queryURL\": \"https://www.goodreads.com/series/45175-harry-potter\"\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/series-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  \"queryURL\": \"https://www.goodreads.com/series/45175-harry-potter\"\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/series-scraper")
  .header("Content-Type", "application/json")
  .body("{\n  \"queryURL\": \"https://www.goodreads.com/series/45175-harry-potter\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://biblioreads.eu.org/api/series-scraper', [
  'body' => '{
  "queryURL": "https://www.goodreads.com/series/45175-harry-potter"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://biblioreads.eu.org/api/series-scraper");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"queryURL\": \"https://www.goodreads.com/series/45175-harry-potter\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["queryURL": "https://www.goodreads.com/series/45175-harry-potter"] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://biblioreads.eu.org/api/series-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()
```