# ConsumerAffairs Company API Documentation

<p><strong>ConsumerAffairs Company API Documentation</strong> Open one public ConsumerAffairs company by its sitemap slug, for example finance/toyota-financial-services.html. The answer has the company name, rating, review count, website and url using confirmed public fields only. Categories come from the category prefix of the sitemap slug. A per-star rating breakdown and deeper fields such as company reply and verified flag are named follow-ups and are not returned. The slug is checked against the public sitemap first; an unknown slug returns 404 and is not billed. Cost: 36 credits per successful request because this route reads a public page through a paid egress tier. Failed requests are not billed. Not affiliated with ConsumerAffairs.</p>

- **Documentation:** [https://scrappa.co/docs/consumeraffairs-api/consumeraffairs_company](https://scrappa.co/docs/consumeraffairs-api/consumeraffairs_company)
- **API group:** ConsumerAffairs API
- **Endpoint:** `GET https://scrappa.co/api/consumeraffairs/company`

## 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 |
| --- | --- | --- | --- |
| `slug` | string | Yes | The sitemap path from a search result, for example finance/toyota-financial-services.html. |

## Example response

```json
{
    "data": {
        "company": {
            "url": "https://www.consumeraffairs.com/finance/toyota-financial-services.html",
            "name": "Toyota Financial Services",
            "slug": "finance/toyota-financial-services.html",
            "rating": 3.4,
            "website": null,
            "categories": [
                "finance"
            ],
            "review_count": 1220
        }
    },
    "meta": {
        "credits": 36,
        "billable": true,
        "endpoint_family": "company"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | ConsumerAffairs has no company with this sitemap slug. Not billed. |

## 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)
