The geocoder supports various methods for turning postcodes into locations, or locations into postcodes, using our collected data.
Look up the location that we have for a postcode. If we don't have an exact match for the postcode you request, then we will do our best. If we don't have an exact match, we will return #s where we don't have exact matches.
Look up the nearest postcode for a location. You can optionally get the n nearest postcodes to a location.
Look up the nearest postcode area (eg 'OX2') for a location. You can optionally get the n nearest postcode areas to a location.
The results can be returned as plain text (csv with header), XML, or javascript / javascript callback.
If you request the response with the format of 'js', then you can specify the name of a funtion call to wrap around the JSON response. This will call that method with the JSON as a parameter.
http://www.npemap.org.uk/cgi/geocoder.fcgi
# Easting,Northing,Matched Postcode 434807,219133,'OX7 3##'
Try out this method without writing any code.