# La Centrale Autocomplete API Documentation

Retrieve prefix suggestions for make, model, and version strings. Returns raw referential strings, not IDs. A valid empty list is a successful response.

- **Documentation:** [https://scrappa.co/docs/lacentrale-api/lacentrale_autocomplete](https://scrappa.co/docs/lacentrale-api/lacentrale_autocomplete)
- **API group:** La Centrale API
- **Endpoint:** `GET https://scrappa.co/api/lacentrale/v1/autocomplete`

## 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 | Prefix to search (1-32 chars). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/lacentrale/v1/autocomplete?q=REN"
```

## Example response

```json
{
    "success": true,
    "data": {
        "query": "REN",
        "suggestions": [
            "renforce",
            "renault",
            "rendu",
            "renfort"
        ]
    },
    "meta": {
        "endpoint_family": "autocomplete"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Missing or invalid query parameter |  |
|  | Upstream service error |  |

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