0151 355 4555



Retrieves the full formatted PAF address of an address that has already been found using the FindAddress, AddressesByLocalityKey, or AddressesByStreetKey methods.

The address to retrieve is identified by the addressKey parameter, which should be taken from the ID of a PartialAddress that has been returned from one of these methods.

The returned address can be formatted in a number of different ways. Please refer to the address formatting page for further details.

This method supports the following options:

  • IncludeUDPRN. If this is set to True, each address returned will have its UniqueReference field set to the UDPRN of the address.
  • ReturnResultCount. If this is set to True, the ResultCount field will be populated with the number of addresses included in the Results field.

View all Address validation methods

Code Samples

<!-- Import the Integr8 Ajax API -->
<!-- NOTE: Get your own API key to use in the following script tag from: -->
<!-- http://www.data-8.co.uk/integr8/Admin/Ajax.aspx -->
<script src="https://webservices.data-8.co.uk/Javascript/Loader.ashx?key=your-api-key" type="text/javascript">

<script type="text/javascript">

function loadIntegr8() {
  // Load the AddressCapture Integr8 service

function FetchAddress(licence, addressKey) {
  /// <param name="licence">string. One of the following values: WebServerFull, WebClickFull, WebClickThoroughfare, InternalUserFull, InternalUserThoroughfare, SmallUserFull, SmallUserThoroughfare, Lookup, InternalServerFull, InternalServerThoroughfare, FreeTrial, FreeTrialThoroughfare, InternalUserFullArea, InternalUserThoroughfareArea, WebServerThoroughfare</param>
  /// <param name="addressKey">string</param>
  var addresscapture = new data8.addresscapture();

function showFetchAddressResult(result) {
  // Check that the call succeeded, and show the error message if there was a problem.
  if (!result.Status.Success) {
    alert('Error: ' + result.Status.ErrorMessage);
  else {
    // TODO: Process method results here.
    // Results can be extracted from the following fields:
    // result.ResultCount
    //   Contains the number of addresses in the Results field. This field is only populated if the ReturnResultCount option is set to True
    // result.Results
    //   Contains an array of addresses that match the query.
    //   A formatted version of each address in the array is available in the Address field,
    //   and a structured version of the address is available in the RawAddress field.