Route Optimization and Routing APIs
Amazon Location Service Routes helps you calculate optimal routes, build distance matrices, and generate isolines (isochrone maps) to streamline logistics, delivery, and field service operations. Calculate travel time and distance between a departure point and multiple destinations, optimize delivery routes for your fleet, and define service areas based on travel time -- all with real-time traffic data. Routes supports car, truck, scooter, pedestrian, transit, and intermodal travel modes, with toll cost calculation, turn-by-turn directions, and GPS map matching. Transit routing uses public transportation networks including buses, subways, trains, and ferries. Intermodal routing combines pedestrian, transit, vehicle, rental, and taxi legs in a single journey -- for example, walking to a bus stop, riding transit, then taking a taxi to the destination.
Key Features
Related Features
By the Numbers
Use Cases
Plan efficient multi-stop delivery routes that minimize travel time and fuel costs. Use route optimization to sequence stops, distance matrices to assign deliveries to the nearest warehouse, and isolines (isochrone maps) to define delivery zones based on drive time. Delivery route planning with Amazon Location Service supports appointment windows, driver rest schedules, and access hour constraints for each stop.
Route trucks safely using vehicle-specific constraints including height, width, weight, and axle count. Amazon Location Service calculates truck-safe routes that avoid low bridges, weight-restricted roads, and narrow streets. Truck routing software capabilities include hazardous materials routing restrictions and commercial vehicle road classifications.
Visualize the geographic reach of your business based on travel time constraints. Healthcare providers can identify areas within a 15-minute response time. Retailers can analyze customer access to store locations. Logistics companies can define delivery zones from distribution centers. Use isolines — also known as isochrone maps — to make data-driven decisions about facility placement and coverage gaps.
Use distance matrices to identify the nearest available driver and calculate the fastest route to each passenger. Factor in real-time traffic to provide accurate ETAs and optimize pick-up sequences across multiple riders. Build dispatch systems that minimize wait times and maximize driver utilization.
Align vehicle GPS traces to roads for accurate fleet tracking and route compliance monitoring. Identify route deviations, verify driver adherence to planned routes, and ensure regulatory compliance. The Snap to Roads API corrects GPS inaccuracies from signal loss or drift, matching up to 5,000 trace points per request.
Get Started with Amazon Location
Frequently Asked Questions
What is route optimization?
Route optimization is the process of finding the most efficient sequence to visit multiple stops, minimizing travel time, distance, or cost. Amazon Location Service solves this using the Optimize Waypoints API, which applies algorithms for the Traveling Salesman Problem while accounting for real-time traffic, vehicle constraints, and driver schedules. The API supports up to 50 waypoints per request.
Explore the Optimize Waypoints API
What is an isochrone map?
An isochrone map (also called an isoline) shows the geographic area reachable from a location within a specified travel time. The word comes from Greek: "iso" (equal) and "chrone" (time). Amazon Location Service generates isochrone maps using the Calculate Isolines API, supporting time thresholds up to 180 minutes for car, truck, and pedestrian travel modes.
What is a distance matrix?
A distance matrix is a table of travel times and distances between multiple origins and destinations. It enables applications like fleet dispatch, delivery route planning, and ride-share matching by calculating all possible routes in a single API request. Amazon Location Service supports distance matrices with real-time traffic data for car, truck, scooter, and pedestrian modes.
How does the Traveling Salesman Problem apply to delivery routing?
The Traveling Salesman Problem (TSP) asks: what is the shortest route that visits every stop exactly once? Amazon Location Service solves TSP through the Optimize Waypoints API, which sequences up to 50 delivery stops to minimize total travel time or distance, factoring in traffic conditions and vehicle constraints.