Traffic Information API by PTV xServer

Why integrate traffic information?

  • Road work, road closures and congestion can cause delays and lead to longer trip times. Circumventing bottlenecks is therefore key in ensuring optimized route calculation and scheduling.

    Two types of traffic information should be considered in routing: historic and live traffic.

    Historic traffic information, also known as traffic patterns, represent traffic flows as static speed profiles for specific road networks. For example, a road has a speed limit of 65 mph. However, the actual average speed driven on this road on weekdays between 5:00 p.m. and 7:00 p.m. is 40 mph. Since the delay occurs regularly - at the same time each weekday – it is referred to as a traffic pattern. By factoring traffic patterns into route calculation, detours can be planned beforehand to minimize delays.

    Live traffic data, on the other hand, delivers information on traffic incidents, road closures and delays that occur unexpectedly. Including live traffic information into route calculation minimizes unexpected delays.

  • Why use the Traffic Information API by PTV xServer?

    The PTV Traffic Information API is a software developer component, available as a cloud-based web service or an on-premise solution. Due to its standardized interface, the component can be easily integrated into your existing software architecture. It offers both live and historic traffic patterns.

    Live traffic information is shown on custom digital maps. Traffic patterns are presented as hydrographs showing the rate of flow versus time of the day. This enables you to gain quick insight into traffic patterns and plan detours before bottlenecks occur. If a detour around a bottleneck isn’t possible or wouldn’t make sense, then the expected delay is factored into your route plan and the estimated time of arrival is revised.


    • Calculate both historic and live traffic information in your route planning

      Historic traffic information, also known as traffic patterns, represents driven speeds on road segments in the past. The live traffic information includes current road restrictions and incidents, as well as planned road maintenance and closures in the future.

    • Save time by automating your data updates

      The PTV Content Update Service (CUS) automatically updates live traffic information, manages the data status, and deletes obsolete data. You can choose both the update method and update frequency.

    • View traffic information with standard or customized maps

      Configure the appearance of traffic information on personalized maps based on your requirements and preferences. If you’d like to start working with the API immediately, we offer standardized map profiles that are carefully designed to fit most standard use cases as an out-of-the-box-feature.

  • 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