The `/autocomplete` endpoint can promote nearby results to the top of the list, while still allowing important matches from farther away to be visible. For example, searching `hard rock cafe` with a focus on Berlin:
"geometry": {
"type": "Point",
> /v1/autocomplete?api_key=search-XXXXXXX&focus.point.lat=52.5&focus.point.lon=13.3&text=hard rock cafe
"coordinates": [
-73.99027,
with `focus.point` you will find the Berlin restaurant first:
40.73624
```
]
1) Hard Rock Cafe Berlin, Berlin, Germany
}
2) Hard Rock Café, San Giljan, Malta
}
```
```
The `/autocomplete` endpoint can promote nearby results to the top of the list, while still allowing important matches from farther away to be visible. For example, searching `McDonalds` with a focus on Berlin may result in other global locations being returned.
without `focus.point` you will find the most popular restaurants first: