# List top websites

Returns the 100 most visited websites for a country and industry, with visits, desktop and mobile split, month-on-month and year-on-year change and the leading traffic source. Defaults to every industry worldwide.

- Platform: Semrush
- Request: `GET https://api.toolzerhub.com/v1/semrush/trending`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/semrush/get-semrush-trending

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `country` | query | no | string | Two-letter lowercase country code (e.g. us, de) or global. Every response lists valid codes in available_countries. An unknown code returns null. Default: global. |
| `category` | query | no | string | An industry slug, e.g. finance, travel-and-tourism, retail, or all for every industry. Semrush publishes 111 of them and every response lists the whole set in available_categories. An unknown slug has no page and returns null. Default: all. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/semrush/trending" \
  -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.
