Unify and manage your data

Search addresses with the Address autocomplete Search API

Learn more about how to use the Address autocomplete Search API to retrieve real-time address suggestions.

Use the Address autocomplete search to retrieve candidate addresses for entered text or for a selected container. The response returns formatted address suggestions that an application displays in a suggestion list. For more information, see Address autocomplete.

HTTP method and endpoint

Use the following HTTP method and endpoint path to submit the request:

GET {TenantURL}/address/search

Replace {TenantURL} with your tenant base URL.

Request headers

Include the following headers in each request:

NameRequiredDescription
AuthorizationYesBearer access token in the format Bearer <accessToken>. For authentication details, see Authentication API.
Content-TypeYesSet to application/json.

Query parameters

The following table describes the supported query parameters.

NameTypeRequiredDescription
TextStringNoFree-text input used to search for matching addresses.
ContainerStringNoContainer identifier used to restrict the search to a selected building or apartment container.
CountriesStringNoComma-separated country codes used to restrict results.
LanguageStringNoPreferred language for returned results.
LimitIntegerNoMaximum number of suggestions to return.

Request body

This operation does not require a request body.

Example request

The following example searches for addresses by text:

GET {TenantURL}/address/search?Text=Reltio&Countries=US,IN&Limit=10
Authorization: Bearer <accessToken>
Content-Type: application/json

Example response

The following example shows address suggestions returned by the API:

[
  {
    "Id": "IN|LP|B|14161031|_ENG",
    "Type": "Address",
    "Text": "Reltio 17th Cross Road HSR Layout Bengaluru 560102",
    "Highlight": "0-6",
    "Description": ""
  },
  {
    "Id": "IN|LP|B|55231200|_ENG",
    "Type": "Address",
    "Text": "Reltio Hongasandra Bengaluru 560068",
    "Highlight": "0-6",
    "Description": ""
  }
]

Response fields

The following table describes the fields returned for each address suggestion in the response array.

FieldTypeDescription
IdStringUnique identifier of the returned address suggestion.
TypeStringClassification of the returned suggestion, for example Address.
TextStringFormatted suggestion text that an application can display in an address list.
HighlightStringHighlight information returned for the matching text.
DescriptionStringAdditional context returned for the suggestion.