# List category companies

Returns one page of a Trustpilot category directory: 20 companies with TrustScore, rating, review count, location and claim status, in Trustpilot's own ranking. Requires `slug`. `data` is null when Trustpilot has no page for that slug.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `slug` | query | yes | string | The category slug from a Trustpilot URL — the bank in /categories/bank. Lowercase words joined by underscores, so travel_insurance_company is one too. A pasted category URL is accepted and reduced to the slug for you. |
| `page` | query | no | integer | Which page of the directory. Read total_hits to size the walk — the sampled category reported 1,713 companies. Default: 1. |
| `country` | query | no | string | Two-letter country code to filter the directory, e.g. US. Omit it to let Trustpilot choose. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/trustpilot/category?slug=<slug>" \
  -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.
