# Veepee Brand Autocomplete API Documentation

`GET /api/veepee/brands` returns public Veepee brand names that match a search term as JSON. It needs no account and returns names only, never prices or product data.

## Credits

A successful request costs **1 credit**. Errors and blocks cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/veepee-api/veepee_brands](https://scrappa.co/docs/veepee-api/veepee_brands)
- **API group:** Veepee API
- **Endpoint:** `GET https://scrappa.co/api/veepee/brands`

## 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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Brand name or search term, up to 80 characters. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/veepee/brands?q=chocolat"
```

## Example response

```json
{
    "success": true,
    "query": "chocolat",
    "brands": [
        "Valrhona",
        "Lindt"
    ],
    "meta": {
        "endpoint_family": "veepee-brands",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Veepee could not be reached in time or answered with an unexpected shape (`upstream_unavailable`, `upstream_blocked`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

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