Skip to main content
POST
/
places
/
autocomplete
Address autocomplete
curl --request POST \
  --url https://admin.aeoliancms.com/api/v1/places/autocomplete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": "<string>",
  "country": "<string>"
}
'
{
  "suggestions": [
    {
      "placeId": "<string>",
      "description": "<string>",
      "matches": [
        {}
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in format ak_<48-hex-chars>

Body

application/json
input
string
required
Minimum string length: 3
country
string
required

2-letter country code

Response

Address suggestions

suggestions
object[]