---
title: "Autocomplete"
method: GET
path: "/api/v1/locations/autocomplete"
---

# Autocomplete

`GET /api/v1/locations/autocomplete`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/locations/autocomplete`
- Auth: none declared

## Query parameters

- `query` string, required
- `location_type` string

## Response `200`

Success

- object
  - `data` object[], required
    - `osm_id` string, required
    - `osm_type` string, required
    - `name` string, required
    - `display_name` string, required
    - `address_type` string, required

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
