---
title: AutocompleteResult
framework: applemapsserverapi
role: symbol
role_heading: Object
path: applemapsserverapi/autocompleteresult
---

# AutocompleteResult

An object that contains information you can use to suggest addresses and further refine search results.

## Declaration

```data
object AutocompleteResult
```

## Properties

completionUrl: The relative URI to the search endpoint to use to fetch more details pertaining to the result. If available, the framework encodes opaque data about the autocomplete result in the completion URL’s metadata parameter. If clients need to fetch the search result in a certain language, they’re responsible for specifying the lang parameter in the request. displayLines: A JSON string array to use to create a long form of display text for the completion result. location: A Location object that specifies the location of the result in terms of its latitude and longitude. structuredAddress: A StructuredAddress object that describes the detailed address components of a place.

## Discussion

Discussion If available, the service encodes opaque data about the autocomplete result in the completion URL’s metadata parameter. If you need to fetch the search result in a certain language, you need to specify it in the lang parameter in the request.

## See Also

### Getting common object information

- [DirectionsResponse](applemapsserverapi/directionsresponse.md)
- [EtaResponse](applemapsserverapi/etaresponse.md)
- [Location](applemapsserverapi/location.md)
- [MapRegion](applemapsserverapi/mapregion.md)
- [Place](applemapsserverapi/place.md)
- [PlaceResults](applemapsserverapi/placeresults.md)
- [SearchAutocompleteResponse](applemapsserverapi/searchautocompleteresponse.md)
- [SearchMapRegion](applemapsserverapi/searchmapregion.md)
- [SearchResponse](applemapsserverapi/searchresponse.md)
- [StructuredAddress](applemapsserverapi/structuredaddress.md)
