# Pool brand autocomplete suggestions

`GET https://bemap.benomad.com/bgis/service/chargingstation/brand/autocomplete/1.0`

Part of [Charging stations](https://benomad.com/dev/doc/bemap-api/electric-mobility/charging-stations.md).

> **Suggest charging networks as the user types.** The charging network brands whose name matches what the user types.

Returns the list of pool brands matching the input.

Requires the Charging station search or EV smart routing option (Allow to get the charging station information); without it BeMap answers `400 Access Denied`.

## Query parameters

- `geoServer` (string, in query)
- `providerName` (string, required, in query)
- `input` (string, in query)

## Response

`200`, schema `TextAutocompleteResponse`.

- `suggestions` (string[]): Autocomplete suggestions.

## Errors

- `400`: Bad Request
- `302`: no credentials were sent. Do not follow the redirect.
- `401`: the account or the API key is wrong.

How to read each one: [Errors](https://benomad.com/dev/doc/bemap-api/getting-started/errors.md).

## Example

```bash
curl -X GET 'https://bemap.benomad.com/bgis/service/chargingstation/brand/autocomplete/1.0?providerName=ecoMovement&input=Tesla' \
  -u 'YOUR_ACCOUNT:YOUR_API_KEY' \
  --fail-with-body
```

Response captured from production, long arrays and strings shortened:

```json
{
  "suggestions": [
    "Tesla Supercharger",
    "Tesla Destination"
  ]
}
```

## Reference pages

- [Charging station filter v2](https://benomad.com/dev/doc/bemap-api/guides/reference/chargingstation-filter-v2.md)
- [Charging station filter v1](https://benomad.com/dev/doc/bemap-api/guides/reference/chargingstation-filter-v1.md)
