# Trustpilot Businesses

Search for businesses on Trustpilot with filters. Filters are applied after fetch; pagination counts reflect Trustpilot results.

- **Documentation:** [https://scrappa.co/docs/trustpilot-api/trustpilot_businesses](https://scrappa.co/docs/trustpilot-api/trustpilot_businesses)
- **API group:** Trustpilot API
- **Endpoint:** `GET https://scrappa.co/api/trustpilot/businesses`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `category` | string | Yes | Category slug from the Categories endpoint (e.g. electronics_technology). Use the slug field from /api/trustpilot/categories response |
| `page` | integer | No | Page number (1-999) |
| `sort` | string | No | reviews_count or latest_review |
| `claimed` | boolean | No | Filter claimed businesses |
| `country` | string | No | Country code (ISO-2) |
| `limit` | integer | No | Max results per page (1-50) |
| `trustscore` | float | No | Minimum trustscore (3.0, 4.0, 4.5) |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/trustpilot/businesses?category=electronics"
```

## Example response

```json
{
    "businesses": []
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The category parameter is required and filters such as page, limit, country, sort, claimed, and trustscore must be valid. |
| 402 | Insufficient Credits | Your API key is valid, but the account has no free, subscription, or package credits available. |
| 500 | Trustpilot Service Error | The Trustpilot endpoint could not complete the current scrape attempt. |
| 503 | The upstream service is temporarily unavailable. Please retry shortly. | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
