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

# author-scraper

POST https://biblioreads.eu.org/api/author/info
Content-Type: application/json

## Author Info Scraper

Retrieves profile information for a Goodreads author, including their biography, genres, follower count, and aggregate ratings.

---

### Request

**Method:** `POST`  
**URL:** `{{Localhost URL}}/api/author/info`  
**Headers:**

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

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

```json
{
  "queryURL": "https://www.goodreads.com/author/show/3389.Stephen_King"
}
```

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

---

### Response

**Success `200 OK`:**

```json
{
  "name": "string",
  "url": "string",
  "image": "string",
  "rating": "string",
  "ratingsCount": "string",
  "reviewsCount": "string",
  "genres": ["string"],
  "bio": "string",
  "followersCount": "string"
}
```

| Field | Type | Description |
|---|---|---|
| `name` | string | Author's full name |
| `url` | string | Goodreads profile URL |
| `image` | string | URL of the author's profile photo |
| `rating` | string | Average rating across all works |
| `ratingsCount` | string | Total number of ratings |
| `reviewsCount` | string | Total number of reviews |
| `genres` | array of strings | List of genres the author is known for |
| `bio` | string | Author biography |
| `followersCount` | string | Number of Goodreads followers |

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

## OpenAPI Specification

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


        Retrieves profile information for a Goodreads author, including their
        biography, genres, follower count, and aggregate ratings.


        ---


        ### Request


        **Method:** `POST`  

        **URL:** `{{Localhost URL}}/api/author/info`  

        **Headers:**


        | Key | Value |

        |---|---|

        | Content-Type | application/json |


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


        ```json

        {
          "queryURL": "https://www.goodreads.com/author/show/3389.Stephen_King"
        }

        ```


        | Field | Type | Required | Description |

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

        | `queryURL` | string | Yes | The full Goodreads author profile URL
        (format: `https://www.goodreads.com/author/show/<id>.<Name>`) |


        ---


        ### Response


        **Success `200 OK`:**


        ```json

        {
          "name": "string",
          "url": "string",
          "image": "string",
          "rating": "string",
          "ratingsCount": "string",
          "reviewsCount": "string",
          "genres": ["string"],
          "bio": "string",
          "followersCount": "string"
        }

        ```


        | Field | Type | Description |

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

        | `name` | string | Author's full name |

        | `url` | string | Goodreads profile URL |

        | `image` | string | URL of the author's profile photo |

        | `rating` | string | Average rating across all works |

        | `ratingsCount` | string | Total number of ratings |

        | `reviewsCount` | string | Total number of reviews |

        | `genres` | array of strings | List of genres the author is known for |

        | `bio` | string | Author biography |

        | `followersCount` | string | Number of Goodreads followers |
      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/author/show/3389.Stephen_King"
}
```

**SDK Code**

```python
import requests

url = "https://biblioreads.eu.org/api/author/info"

payload = { "queryURL": "https://www.goodreads.com/author/show/3389.Stephen_King" }
headers = {"Content-Type": "application/json"}

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

print(response.json())
```

```javascript
const url = 'https://biblioreads.eu.org/api/author/info';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"queryURL":"https://www.goodreads.com/author/show/3389.Stephen_King"}'
};

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/author/info"

	payload := strings.NewReader("{\n  \"queryURL\": \"https://www.goodreads.com/author/show/3389.Stephen_King\"\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/author/info")

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/author/show/3389.Stephen_King\"\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/author/info")
  .header("Content-Type", "application/json")
  .body("{\n  \"queryURL\": \"https://www.goodreads.com/author/show/3389.Stephen_King\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://biblioreads.eu.org/api/author/info', [
  'body' => '{
  "queryURL": "https://www.goodreads.com/author/show/3389.Stephen_King"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

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

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["queryURL": "https://www.goodreads.com/author/show/3389.Stephen_King"] as [String : Any]

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

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