Skip to main content
POST
/
search-autocomplete
/
addresses
Autocomplete Swedish addresses
curl --request POST \
  --url https://lens-api.tic.io/search-autocomplete/addresses \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "q": "<string>",
  "page": 1073741824,
  "per_page": 123
}
'
{
  "found": 123,
  "page": 123,
  "outOf": 123,
  "searchTimeMs": 123,
  "hits": [
    {
      "id": "<string>",
      "addressId": 123,
      "addressUuid": "<string>",
      "propertyId": 123,
      "propertyUuid": "<string>",
      "fullAddress": "<string>",
      "streetName": "<string>",
      "streetNumber": "<string>",
      "postalCode": 123,
      "city": "<string>",
      "municipalityCode": 123,
      "municipalityName": "<string>",
      "districtCode": "<string>",
      "districtName": "<string>",
      "position": [
        123
      ],
      "buildingArea": 123,
      "livingArea": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tic.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Body

q
null | string
page
integer<int32>
Required range: 1 <= x <= 2147483647
per_page
null | integer<int32>

Response

Slim autocomplete response

found
integer<int32>
page
integer<int32>
outOf
integer<int32>
searchTimeMs
integer<int32>
hits
null | object[]