# Search companies

Free-text company search, 10 results per page with TrustScore, rating, location and contact details. Requires `query`. `data` is null only when Trustpilot serves no results page; a query matching nothing returns an empty `results` array.

- Platform: Trustpilot
- Request: `GET https://api.toolzerhub.com/v1/trustpilot/search`
- 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-search

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Company name, brand or keyword. Use this when you have a name rather than a domain or category. 1-200 characters. |
| `page` | query | no | integer | Which page of results, 10 per page — not 20 like other listings. Walk by has_more, not Trustpilot's raw hasMore (measured false on page 1 of 978 pages). Pages overlap; deduplicate on business_unit_id — see pages_overlap. Default: 1. |

## Example request

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