Today I am releasing C# UK Post code API Wikiled.PostCode V1.0

Nuget

Also accessbile as REST service. Sample query: http://api.wikiled.com/postal/Address/CB42UE

Using this library, you can search similar post codes and retrieve related GEO information including coordinates.

It uses our REST server - free to use.

To find post codes which start with N10:

var instance = new PostCodeManagerFactory().Construct();
var result = await instance.FindPostalData("N10", CancellationToken.None);
			
 public class PostData
    {
        public string CountryGlobalCode { get; set; }

        public string PostalCode { get; set; }

        public string Ward { get; set; }

        public string Country { get; set; }

        public string CountryCode { get; set; }

        public string LocalAuthorityCode { get; set; }

        public string LocalAuthority { get; set; }

        public string Borough { get; set; }

        public string BoroughCode { get; set; }

        public double Latitude { get; set; }

        public double Longitude { get; set; }

        public int Type { get; set; }
    }