Geocoding API by PTV xServer

What is the purpose of geocoding?

  • Geocoding is the process of converting addresses into sets of latitude and longitude coordinates and vice versa. It’s a prerequisite for all geolocation-based applications: It enables you to search and precisely display geographic locations on digital maps. Therefore, geocoding is the foundation for all mapping and vehicle routing and optimisation tasks.

  • Why geocode with PTV Geocoding API?

    The PTV Geocoding API is a software developer component, available as a cloud-based web service or an on-premise solution. Due to its standardised interface, the component can be easily integrated into an existing software architecture. It handles geocoding requests quickly – for individual locations as well as for entire databases. The PTV Geocoding API offers maximum flexibility and highest precision: It allows you to enter address information without specific formatting requirements. We provide a highly accurate database, enabling perfect matching of geocoordinates and geolocations. Moreover, we supply detailed geocoding documentation as well as continuous training and support.


    • Enter information using either free-form or structured input

      As user of the PTV Geocoding API, you benefit from maximum flexibility: Use free-form input to enter addresses without considering the order of address elements, or use the structured input to determine the match quality of the single address elements.

    • Use forward and reverse geocoding

      In forward geocoding, you start with an address or point of interest and end up with the corresponding coordinates consisting of a latitude and longitude. In reverse geocoding, you request a geographic location based on its coordinates. Our geocoding web service matches geocoordinates and addresses with highest precision.

    • Use batch geocoding to process large amounts of data at once

      Batch geocoding enables you to group addresses and geocode them together. Due to less protocol overhead, you benefit from reduced network traffic and are able to geocode your whole database at once.  

    • Apply address verification to spot errors before they cause problems

      Address validation checks your input data and evaluates the match quality of input and output to help you choose the correct address. This way you can be sure that you’re always working with up-to-date and clean data and avoid inefficiencies.

    • Rooftop accurate geocoordinates

      The precise physical geocode of a delivery point may differ from the interpolated geocode for that same address. Thanks to rooftop geocoding with the PTV Geocoding API, you identify the exact latitude and longitude of an address, and are able to “put the pin” right in your customers’ driveway. This way, you can be certain that your drivers arrive exactly where they need to go and avoid searching for delivery entrances at their destination.

    • Postcode search API that handles all available formats

      Regardless of length and formatting: Our postcode search API reliably locates postcodes globally.

  • Geocoding API Documentation

    API Version 1 is our established solution that is widely used in the market. Your company has been a customer for a while and hasn't switched APIs recently? Then you're most likely interested in the documentation on API Version 1

    If you want to see integration samples, you can check them out in the xServer API Version 1 Code Sample Browser.


    API Version 2 is the future of PTV xServer as it's designed in a completely new framework. It is easier to understand and as a programmer, you will benefit from improved flexibility and consistency. If your company recently integrated PTV xServer into their software solution, is still in the middle of it or is planning an integration soon, you should look at API Version 2