If you select the above result showing multiple addresses, it will further expand and enable you to select a particular unit address. For example, if you click on the result with 14 address as shown above, you will get the list of unit addresses, as shown in the screen-shot below:
GeoSearch API supports several configurable parameters like search radius, country, city, postal code, ip address, etc. to help you refine your search results and make them more relevant as per your need.
If you search for "4750 walnut st" in USA, the sample response will look like:
{
"location": [
{
"address": {
"formattedAddress": "4750 WALNUT ST, STE 100, BOULDER, CO 80301",
"mainAddressLine": "4750 WALNUT ST",
"addressLastLine": "BOULDER, CO 80301",
"placeName": "",
"areaName1": "CO",
"areaName2": "",
"areaName3": "BOULDER",
"areaName4": "",
"postCode": "80301",
"postCodeExt": "",
"country": "USA",
"addressNumber": "4750",
"streetName": "WALNUT ST",
"unitType": "",
"unitValue": ""
},
"geometry": {
"type": "Point",
"coordinates": [
-105.24718,
40.019365
]
},
"totalUnitCount": 4,
"ranges": [
{
"placeName": "",
"units": [
{
"unitInfo": "STE 100",
"formattedUnitAddress": "4750 WALNUT ST, STE 100, BOULDER, CO 80301"
},
{
"unitInfo": "STE 110",
"formattedUnitAddress": "4750 WALNUT ST, STE 110, BOULDER, CO 80301"
},
{
"unitInfo": "STE 200",
"formattedUnitAddress": "4750 WALNUT ST, STE 200, BOULDER, CO 80301"
},
{
"unitInfo": "STE 205",
"formattedUnitAddress": "4750 WALNUT ST, STE 205, BOULDER, CO 80301"
}
]
}
]
},
{
"address": {
"formattedAddress": "4750 WALNUT ST, BALDWIN PARK, CA 91706",
"mainAddressLine": "4750 WALNUT ST",
"addressLastLine": "BALDWIN PARK, CA 91706",
"placeName": "",
"areaName1": "CA",
"areaName2": "",
"areaName3": "BALDWIN PARK",
"areaName4": "",
"postCode": "91706",
"postCodeExt": "",
"country": "USA",
"addressNumber": "4750",
"streetName": "WALNUT ST",
"unitType": "",
"unitValue": ""
},
"geometry": {
"type": "Point",
"coordinates": [
-117.97573,
34.091229999999996
]
},
"totalUnitCount": 0,
"ranges": []
},
{
"address": {
"formattedAddress": "4750 S WALNUT STREET PIKE, BLOOMINGTON, IN 47401",
"mainAddressLine": "4750 S WALNUT STREET PIKE",
"addressLastLine": "BLOOMINGTON, IN 47401",
"placeName": "",
"areaName1": "IN",
"areaName2": "",
"areaName3": "BLOOMINGTON",
"areaName4": "",
"postCode": "47401",
"postCodeExt": "",
"country": "USA",
"addressNumber": "4750",
"streetName": "S WALNUT STREET PIKE",
"unitType": "",
"unitValue": ""
},
"geometry": {
"type": "Point",
"coordinates": [
-86.526185,
39.122675
]
},
"totalUnitCount": 0,
"ranges": []
}
]
}