---
title: "Facet Goodreads authors dataset"
method: GET
path: "/datasets/goodreads-authors/facets"
tags: ["Datasets"]
---

# Facet Goodreads authors dataset

`GET /datasets/goodreads-authors/facets`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/datasets/goodreads-authors/facets`
- Auth: API key in header `x-api-key`

Returns value counts over the Goodreads authors dataset for the required `facet`, either `genres` or `run_id`. Filters `q`, `name`, `genre`, `run_id`, `min_rating` (0 to 5) and `min_ratings_count` narrow the result, which lists the top 50 values with their counts.

## Query parameters

- `facet` 'genres' | 'run_id', required
- `q` string
- `name` string
- `genre` string
- `run_id` string
- `min_rating` number
- `min_ratings_count` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsGoodreadsAuthorsFacetResponseDoc
  - `code` integer
  - `data` DatasetsGoodreadsAuthorFacetResponse
    - `dataset` string
    - `facet` string
    - `items` EsGoodreadsAuthorDatasetFacetItem[]
      - `count` integer
      - `value` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
