v1

latestOpenAPI 3.0.0UNLICENSED2026-07-26178479713.7 KB
addresses

aid_search_external_validate_address

Validate the given address and return close matching alternative suggestions if the provided address was most likely wrong.

scopes:

  • public
post/accounts/{aid}/search/external/address/{country}/validate

Path parameters

aidstring ^[PT]{1}\d{8}$ required

An id that uniquely identifies the account.

countrystring required

ISO 3166-1 country code

Request body

address_linestring required
address_line_2string
postal_codestring required
postal_placestring required
countrystring iso-3166-1 required

ISO 3166-1 country code

Example request

{
  "address_line": "Sommerkroveien 34",
  "address_line_2": "PB 123",
  "postal_code": "0349",
  "postal_place": "Oslo",
  "country": "NO"
}

Response

Result with close matching alternative addresses if found.

validboolean required

If the address was valid or not.

Example response

{
  "alternatives": [
    {
      "address_line": "Sommerkroveien 34",
      "address_line_2": "PB 123",
      "postal_code": "0349",
      "postal_place": "Oslo",
      "country": "NO"
    }
  ]
}