Stay organized with collections
Save and categorize content based on your preferences.
The Route Optimization API computes the optimal sequence of stops for one
or more vehicles based on configurable optimization objectives and constraints.
The Route Optimization API offers enterprise-level features to solve the problem
of finding the optimal order for drivers to complete their tasks. If you are a
Mobility Optimize and Accelerate customer, you have
Route Optimization API, Single Vehicle Routing included in your
list of available services.
All Mobility customers also have access to the following APIs that support basic
stop order optimization:
If you've developed your own route optimizer, you can use the
Routes Preferred ComputeRouteMatrix or the
Routes API ComputeRouteMatrix methods to estimate the distance and duration
of a route for multiple origins and destinations. ComputeRouteMatrix lets you
use the same traffic and routing algorithms used by other Google Maps Platform
products. It has several advantages over the Distance Matrix API.
The Route Optimization API helps your drivers drive the
most efficient route possible—making stops and completing tasks in the optimal
order so your customers' orders arrive as quickly and as inexpensively as
possible. Route Optimization simplifies the effort needed to meet the following
goals:
Improve driver task productivity: Ensure that your drivers get efficient
routes, including real-time traffic updates to avoid delays due to
congestion.
Improve consumer experience: Ensure stops are scheduled within specified
time windows so you can provide your consumers with more precise expected
delivery times.
Next Steps
Visualize routes with the Maps SDK
Some fleet operators want their drivers or their fleet manager to see
routes directly within a user interface. Use the Maps SDK to display the route
from the Routes API. For more information on customizing routes in your map, see
Maps SDK for Javascript, Maps SDK for Android, and
Maps SDK for iOS.
Track routes with Fleet Engine
Once routes have been optimized, Mobility Accelerate customers can use Fleet
Engine to track routes' execution. For more information, see the
Fleet Engine documentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[[["\u003cp\u003eThe Route Optimization API determines the best sequence of stops for delivery drivers, optimizing for efficiency and cost-effectiveness.\u003c/p\u003e\n"],["\u003cp\u003eMobility Optimize and Accelerate customers have access to single vehicle routing capabilities, while Fleet Routing is available on a pay-per-use basis for all customers.\u003c/p\u003e\n"],["\u003cp\u003eThe API helps increase driver productivity by providing efficient routes that account for real-time traffic, and enhances customer satisfaction with accurate delivery time estimates.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can integrate route visualizations using the Maps SDK and, for Mobility Accelerate customers, track route execution through Fleet Engine.\u003c/p\u003e\n"]]],[],null,["The [Route Optimization API](/maps/documentation/route-optimization) computes the optimal sequence of stops for one\nor more vehicles based on configurable optimization objectives and constraints.\nThe Route Optimization API offers enterprise-level features to solve the problem\nof finding the optimal order for drivers to complete their tasks. If you are a\nMobility Optimize and Accelerate customer, you have\n[Route Optimization API, Single Vehicle Routing](/maps/documentation/route-optimization) included in your\n[list of available services](/maps/documentation/transportation-logistics-terms/mobility/services).\n\nAll Mobility customers also have access to the following APIs that support basic\nstop order optimization:\n\n- [Routes API, Compute Routes](/maps/documentation/routes)\n- [Routes Preferred API, Compute Routes](/maps/documentation/routes_preferred)\n- [Directions API](/maps/documentation/directions)\n\nIf you've developed your own route optimizer, you can use the\n[Routes Preferred ComputeRouteMatrix](/maps/documentation/routes_preferred/compute_route_matrix) or the\n[Routes API ComputeRouteMatrix](/maps/documentation/routes/compute_route_matrix) methods to estimate the distance and duration\nof a route for multiple origins and destinations. `ComputeRouteMatrix` lets you\nuse the same traffic and routing algorithms used by other Google Maps Platform\nproducts. It has several advantages over the [Distance Matrix API](/maps/documentation/distance-matrix).\n| **Note:** Routes API is the next generation of the Directions and Distance Matrix APIs. New use of Directions and Distance Matrix APIs is discouraged.\n\nThe [Fleet Routing capability of the Route Optimization API](/maps/documentation/route-optimization) operates on\nwhole fleets of vehicles, solving both stop order optimization and assignment\nsimultaneously. Fleet Routing is not included in the [list of services](/maps/documentation/transportation-logistics-terms/mobility/services)\navailable to Mobility customers, but can be used on a charge-per-consumption\nbasis. For details, see the\n[Route Optimization API Usage and Billing](/maps/documentation/route-optimization/usage-and-billing)\nguide.\n| **Note:** To protect you from inadvertent Fleet Routing consumption charges, Cloud projects enrolled in Mobility are prevented from making Fleet Routing requests. If you want to use Fleet Routing in your Mobility-enrolled Cloud projects, [create a Maps support case](https://console.cloud.google.com/google/maps-apis/support/createcase) requesting access.\n\nWhy use the Route Optimization API?\n\nThe Route Optimization API helps your drivers drive the\nmost efficient route possible---making stops and completing tasks in the optimal\norder so your customers' orders arrive as quickly and as inexpensively as\npossible. Route Optimization simplifies the effort needed to meet the following\ngoals:\n\n- **Improve driver task productivity:** Ensure that your drivers get efficient routes, including real-time traffic updates to avoid delays due to congestion.\n- **Improve consumer experience:** Ensure stops are scheduled within specified time windows so you can provide your consumers with more precise expected delivery times.\n\nNext Steps\n\nVisualize routes with the Maps SDK\n\nSome fleet operators want their drivers or their fleet manager to see\nroutes directly within a user interface. Use the Maps SDK to display the route\nfrom the Routes API. For more information on customizing routes in your map, see\n[Maps SDK for Javascript](/maps/documentation/javascript), [Maps SDK for Android](/maps/documentation/android-sdk), and\n[Maps SDK for iOS](/maps/documentation/ios-sdk).\n\nTrack routes with Fleet Engine\n\nOnce routes have been optimized, Mobility Accelerate customers can use Fleet\nEngine to track routes' execution. For more information, see the\n[Fleet Engine](/maps/documentation/mobility/fleet-engine) documentation."]]