The UK Address API provides a reliable and efficient way to access accurate address data in the United Kingdom.
With a user-friendly interface, developers can integrate this API into applications,
websites, or systems, enabling seamless address validation and geocoding.
The API offers comprehensive coverage of addresses across the UK,
ensuring data precision for various purposes such as e-commerce, logistics, and customer relationship management.
It streamlines the process of capturing and verifying addresses, contributing to improved data quality and enhancing overall user experience.
The Postcode Query API - suggests locations for a given term.
Request
GEThttps://api.getAddress.io/v2/private-address?api-key={admin-key}
Response
The Private Location API - suggests locations for a given term.
Step 1.
Request
GEThttps://api.getAddress.io/v2/private-address?api-key={admin-key}
Response
Submit postcode and get address.
public async Task Autocomplete(GetAddress.Api api)
{
var autocompleteResult = await api.Autocomplete("High St");
if (autocompleteResult.IsSuccess)
{
foreach(var suggestion in autocompleteResult.Success.Suggestions)
{
var getResult = await api.Get(suggestion);
if (getResult.IsSuccess)
{
var address = getResult.Success;
var line1 = address.Line1;
var line2 = address.Line2;
var line3 = address.Line3;
var line4 = address.Line4;
var buildingName = address.BuildingName;
//....
}
}
}
else
{
var errorMessage = autocompleteResult.Failed.Message;
}
}
Submit postcode and get address.
public async Task Autocomplete(GetAddress.Api api)
{
var autocompleteResult = await api.Autocomplete("High St");
if (autocompleteResult.IsSuccess)
{
foreach(var suggestion in autocompleteResult.Success.Suggestions)
{
var getResult = await api.Get(suggestion);
if (getResult.IsSuccess)
{
var address = getResult.Success;
var line1 = address.Line1;
var line2 = address.Line2;
var line3 = address.Line3;
var line4 = address.Line4;
var buildingName = address.BuildingName;
//....
}
}
}
else
{
var errorMessage = autocompleteResult.Failed.Message;
}
}
Submit postcode and get address.
public async Task Autocomplete(GetAddress.Api api)
{
var autocompleteResult = await api.Autocomplete("High St");
if (autocompleteResult.IsSuccess)
{
foreach(var suggestion in autocompleteResult.Success.Suggestions)
{
var getResult = await api.Get(suggestion);
if (getResult.IsSuccess)
{
var address = getResult.Success;
var line1 = address.Line1;
var line2 = address.Line2;
var line3 = address.Line3;
var line4 = address.Line4;
var buildingName = address.BuildingName;
//....
}
}
}
else
{
var errorMessage = autocompleteResult.Failed.Message;
}
}
Premium items: Support is taken very seriously and is offered via email [email protected] for 12 months from the purchase date.
Free items: Because of limited resources at this point I am not able to provide support for free items but don't hesitate to send your questions at [email protected] and I will try to help and at least point you in the right direction.