# LocationService::autocomplete()

URL: https://chugunov.pro/api-bitrix/location/service/locationservice/autocomplete/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Location\Service\LocationService`](https://chugunov.pro/api-bitrix/location/service/locationservice/)
Модуль: Location.
Свойства элемента: method, public.

## Сигнатура

```php
public autocomplete(array<string|int, mixed> $params[, int $searchScope = \Bitrix\Location\Service\LOCATION_SEARCH_SCOPE_ALL ]) : array<string|int, mixed>
```

## Параметры

- `$params` `array<string|int, mixed>` — обязательный
- `$searchScope` `int` — необязательный, по умолчанию `\Bitrix\Location\Service\LOCATION_SEARCH_SCOPE_ALL`

## Возвращаемое значение

`array<string|int, mixed>`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Location-Service-LocationService.html
