Developer documentation

One of the strengths of the Postcode Anywhere web service platform is its versatility. We don’t just provide robust and secure ways for you to access data; we also give you the tools to enable you to integrate and work with the data in as many different environments as you care to mention.

Such is the strength of our web service platform that we can turn around new web services along with different code environments in hours, rather than the weeks or months you would typically expect.

We like to think that nothing is a challenge for us - so if you can’t find what you want below, simply contact us and we’ll do what we can to help.

Most Commonly Used Web Services

Web Service Description
DistancesAndDirections Interactive Directions
v2.00
Returns the directions between two or more points.
Version 2.00 includes support for Speed Profiles data, for more accurate timings based on start time and historic traffic speed data.
DistancesAndDirections Interactive Distance
v1.00
Returns the distance between two or more points.
DistancesAndDirections Interactive FreightDirections
v2.00
Returns the directions between two or more points. Allows input of vehicle size parameters to ensure the route avoids restrictions if possible.
Version 2.00 includes support for Speed Profiles data, for more accurate timings based on start time and historic traffic speed data.
DistancesAndDirections Optimisation FreeDirections
v2.00
Returns the directions between two or more points. This version of the Directions service does not consume credits. However, the input must be an ID that is returned by the Optimise web service, which would have consumed credits.
DistancesAndDirections Optimisation Optimise
v3.00
Optimises a set of waypoints so that they are sequenced in a way that tries to minimise total journey time or distance. Supports multiple vehicles, timeslots, capacities, pause times, vehicle dimensions for avoiding road restrictions and TomTom-derived speed profiles data for avoiding rush hour traffic. Read the route optimisation technical document on the website for full details.
Version 3.00 includes support for Speed Profiles data, for more accurate timings based on start time and historic traffic speed data.
DistancesAndDirections Optimisation VerifyLocation
v1.00
Determines whether or not each entry in a batch of postcodes, OS coordinates or latitude / longitude coordinates maps to the road network of the UK, Europe, USA or Canada. This free service can be used to pre-validate postcodes and location strings before passing into any of the Distances and Directions web services, and should always be used before calling the Optimise method.
Geocoding International Geocode
v1.00
Returns the WGS84 latitude and longitude for the given location. Supports most international locations.
Geocoding UK Geocode
v2.00
Returns the OS easting + northing along with WGS84 latitude and longitude for the given postcode. Supports UK only.
Now supports property level geocoding in urban areas. Please supply a full address for this
Geocoding UK RetrieveNearestPlaces
v1.00
Calculates the nearest places of interest of a given category to a given location.

Other Web Services

Web Service Description
DistancesAndDirections Conversion OS2LatLong
v1.00
Converts Ordnance Survey easting and northing to WGS84 latitude and longitude.
DistancesAndDirections Conversion OSNI2LatLong
v1.00
Converts Ordnance Survey NI easting and northing to WGS84 latitude and longitude.
DistancesAndDirections Interactive CongestionCharge
v1.00
Determines whether or not a given postcode, OS Coordinate or Lat/Long pair is in the London congestion charging zone.
DistancesAndDirections Interactive DirectionsAndLines
v2.00
Returns the directions with polylines between two or more points.
Version 2.00 includes support for Speed Profiles data, for more accurate timings based on start time and historic traffic speed data.
DistancesAndDirections Interactive FreightDirectionsAndLines
v2.00
Returns the directions with polylines between two or more points. Allows input of vehicle size parameters to ensure the route avoids restrictions if possible.
Version 2.00 includes support for Speed Profiles data, for more accurate timings based on start time and historic traffic speed data.
DistancesAndDirections Optimisation FreeDirectionsAndLines
v2.00
Returns the directions with polylines between two or more points. This version of the Directions service does not consume credits. However, the input must be an ID that is returned by the Optimise web service, which would have consumed credits.
DistancesAndDirections Vehicles ListManufacturers
v1.00
Lists cars manufacturers.
DistancesAndDirections Vehicles ListModels
v1.00
Lists car models.
DistancesAndDirections Vehicles ListVariants
v1.00
Lists car model variants.
DistancesAndDirections Vehicles RetrieveDataByVariantId
v1.00
Returns the emission and vehicle data for a given model variant.
Geocoding UK ReverseGeocode
v1.00
Returns the nearest address or location to the given coordinates. Currently only supports the UK.

Deprecated Web Services

Web Service Description
DistancesAndDirections Interactive Directions
v1.00
Returns the directions between two or more points.
DistancesAndDirections Interactive DirectionsAndLines
v1.10
Returns the directions with polylines between two or more points.
DistancesAndDirections Interactive DirectionsAndLines
v1.00
Returns the directions with polylines between two or more points.
DistancesAndDirections Interactive FreightDirections
v1.00
Returns the directions between two or more points. Allows input of vehicle size parameters to ensure the route avoids restrictions if possible.
DistancesAndDirections Interactive FreightDirectionsAndLines
v1.10
Returns the directions with polylines between two or more points. Allows input of vehicle size parameters to ensure the route avoids restrictions if possible.
DistancesAndDirections Interactive FreightDirectionsAndLines
v1.00
Returns the directions with polylines between two or more points. Allows input of vehicle size parameters to ensure the route avoids restrictions if possible.
DistancesAndDirections Optimisation FreeDirections
v1.00
Returns the directions between two or more points. This version of the Directions service does not consume credits. However, the input must be an ID that is returned by the Optimise web service, which would have consumed credits.
DistancesAndDirections Optimisation FreeDirectionsAndLines
v1.00
Returns the directions with polylines between two or more points. This version of the Directions service does not consume credits. However, the input must be an ID that is returned by the Optimise web service, which would have consumed credits.
DistancesAndDirections Optimisation Optimise
v2.00
Optimises a set of waypoints so that they are sequenced in a way that tries to minimise total journey time or distance. Supports multiple vehicles, timeslots, capacities, pause times, vehicle dimensions for avoiding road restrictions and TomTom-derived speed profiles data for avoiding rush hour traffic. Read the route optimisation technical document on the website for full details.
Version 2.00 now supports vehicle height, weight, width, length and axle weight parameters for an additional 5 credits, as well as a code to redeem for free turn by turn directions.
DistancesAndDirections Optimisation Optimise
v1.00
Optimises a set of waypoints so that they are sequenced in a way that tries to minimise total journey time or distance. Supports multiple vehicles, timeslots, capacities, pause times, vehicle dimensions for avoiding road restrictions and TomTom-derived speed profiles data for avoiding rush hour traffic. Read the route optimisation technical document on the website for full details.
Geocoding UK Geocode
v1.00
Returns the OS easting + northing along with WGS84 latitude and longitude for the given postcode. Supports UK only.
Geocoding UK RetrieveNearestPlaces
v1.00
Calculates the nearest places of interest of a given category to a given location.