# List trending videos

Returns the trending chart for required `region_code`. Optional `trend_category` and `language_code` select the category and language.

- Platform: YouTube V2
- Request: `GET https://api.toolzerhub.com/v2/youtube/trending`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/youtube-v2/search/get-you-tube-trending

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `region_code` | query | yes | string | Two-letter country code used to localize the results. |
| `trend_category` | query | no | enum: now, music, games, movies | Trending chart category. |
| `language_code` | query | no | string | Language code used to localize text and audio results. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/youtube/trending?region_code=<region_code>" \
  -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.
