GetAddress

Takes an input PreciselyID, Parent ID, Building ID, Parcel ID, Property Attribute ID, POI ID, or Geometry and returns the related addresses.
  • Precisely ID input returns the related addresses from the Address Fabric table.
  • Parent ID input returns the related child addresses from the Address Fabric table.
  • Building ID input returns the addresses related to the building from the Address Fabric table.
  • Parcel ID input returns the addresses related to the parcel from the Address Fabric table.
  • Property Attribute ID input returns the address related to the property attribute from the Address Fabric table.
  • POI ID returns the address related to the point of interest from the Address Fabric table.
  • Point WKT Geometry input returns the related addresses from the Address Fabric table.
  • Polygon WKT Geometry input returns the related addresses from the Address Fabric table that are within the Polygon WKT Geometry.
  • Line WKT Geometry input returns the related addresses from the Address Fabric table.

Resource URL

JSON endpoint:

https://OnDemandServer/rest/GetAddress/results.json
https://OnDemandServer/rest/GetAddress?_wadl

XML endpoint:

https://OnDemandServer/rest/GetAddress/results.xml
https://OnDemandServer/rest/GetAddress?_wadl

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.

Example with JSON Response

The following example requests a JSON response:

https://spectrum.precisely.com/rest/GetAddress/results.json?Data.POIID=D000PIY0QWRZ

The JSON returned by this request would be:

{
    "Output": [
        {
            "AddressNum": "10523",
            "StreetName": "ABIGAIL CT",
            "City": "STOCKTON",
            "State": "CA",
            "ZipCode": "95209",
            "Plus4": "4614",
            "LocCode": "P05",
            "AddressGeoid": "060770041083025",
            "AddressLat": "38.051881",
            "AddressLon": "-121.320763",
            "PropType": "R",
            "POIID.Input": "D000PIY0QWRZ",
            "GeometryWKT": "POINT (-121.32076302 38.05188102)",
            "PreciselyID": "P00002T4IHXH",
            "PBKey": "P00002T4IHXH",
            "user_fields": []
        }
    ]
}

Example with XML Response

The following example requests an XML response:

https://spectrum.precisely.com/rest/GetAddress/results.xml?Data.POIID=D000PIY0QWRZ

The XML returned by this request would be:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.GetAddressResponse xmlns="http://www.pb.com/spectrum/services/GetAddress">
    <Output>
        <Row>
            <AddressNum>10523</AddressNum>
            <StreetName>ABIGAIL CT</StreetName>
            <City>STOCKTON</City>
            <State>CA</State>
            <ZipCode>95209</ZipCode>
            <Plus4>4614</Plus4>
            <LocCode>P05</LocCode>
            <AddressGeoid>060770041083025</AddressGeoid>
            <AddressLat>38.051881</AddressLat>
            <AddressLon>-121.320763</AddressLon>
            <PropType>R</PropType>
            <POIID.Input>D000PIY0QWRZ</POIID.Input>
            <GeometryWKT>POINT (-121.32076302 38.05188102)</GeometryWKT>
            <PreciselyID>P00002T4IHXH</PreciselyID>
            <PBKey>P00002T4IHXH</PBKey>
            <user_fields/>
        </Row>
    </Output>
</xml.GetAddressResponse>