# List board categories

Returns the category tags for a board, for use as the `tag` filter elsewhere.

- Platform: Douyin V2
- Request: `GET https://api.toolzerhub.com/v2/douyin/billboard/categories`
- Auth: `x-api-key` header
- Cost: 2 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/douyin-v2/billboard/get-douyin-billboard-categories

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `billboard_type` | query | no | enum: total, city, rise | Which board's categories to list: total, city or rise. Note that hot is not accepted by Douyin. Default: total. |
| `snapshot_time` | query | no | string | Moment to read categories at, as yyyyMMddHHmmss. |
| `start_date` | query | no | string | Range start as yyyyMMdd. |
| `end_date` | query | no | string | Range end as yyyyMMdd. |
| `keyword` | query | no | string | Optional term to filter the list by. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/douyin/billboard/categories" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
