The Distance Matrix API
for transport logistics and freight

Use an unlimited matrix size for your logistics application and streamline intercity transportation considering to real-time traffic information
Distance Matrix API for professional transportation logistics is created to solve complex mathematical problems, including the classic "traveling salesman", so that every truck or another commercial vehicle could reach all planned destinations with the shortest route and in the minimum time.

Distance Matrix API helps to find the most efficient routes by reordering stops and considering real-time traffic conditions and restrictions. It predicts the best departure time and calculates travel distance with the same accuracy as Google API does.
Distance Matrix API for professional transportation logistics is created to solve complex mathematical problems, including the classic "traveling salesman", so that every truck or another commercial vehicle could reach all planned destinations with the shortest route and in the minimum time.

Distance Matrix API helps to find the most efficient routes by reordering stops and considering real-time traffic conditions and restrictions. It predicts the best departure time and calculates travel distance with the same accuracy as Google API does.
Main API features
We have taken into account everything you need for building logistics software
distance matrix
Matrix size with unlimited origin/destination pairs
You can find the optimum route for all the planned destinations by building matrixes
25 x 25, and more
truck route planner
Optimum routes
You can rely on real mapping roads instead of straight lines from point A to point B
real-time traffic
Real-time traffic situation
The API considers all road conditions and restrictions that affect trucks
drive time calculator
Predictive capabilities
By determining the start time and considering traffic you can make predictions for delivery time
global coverage
Worldwide coverage
You can use the API for calculating distances for intercity and even international transportation whenever your business is located
affordable price
Affordable price
You pay only for the monthly volume of elements you had used, that will be 5 times cheaper than Google charges
Case study: the Distance Matrix API in action for Delhivery company
A leading India's transportation logistics company with
10 000+ clients uses several API tokens every day for different purposes from time and route calculation to optimizing the financial system.
Information for developers
The request and response format of the Distance Matrix API is similar to Google's Distance Matrix API, and its migration is easy.
Example:

GET
https://api.distancematrix.ai/distancematrix?origins=51.4822656,-0.1933769&destinations=51.4994794,-0.1269979&key=<your_access_token>
RESPONSE:
{
    "destination_addresses": [
        "Westminster Abbey, Westminster, London SW1P 3PA, UK"
    ],
    "origin_addresses": [
        "Chapel, Fulham, London SW6 1BA, UK"
    ],
    "rows": [
        {
            "elements": [
                {
                    "distance": {
                        "text":"4.7 miles",
                        "value":7563.898
                    },
                    "duration":{
                        "text":"31 min",
                        "value":1860.0
                    },
                    "duration_in_traffic": {
                        "text":"31 min",
                        "value":1860.0
                    },
                    "status":"OK"
                }
            ]
        }
    ],
    "status":"OK",
}
Find out how easy it is to migrate to
the Distance Matrix API
You don't need to rewrite code, just change the API Key
Trusted by clients from all over the world
delhivery
lunch24.com
itilite
volker wessels telecom
movilform
meru
966.ua
angelo masala
eatmol
leap
3sc creating value
awsm technologies
roadcast
pupil
kartpay
effia
codomize
Start a free 7-day trial of the Distance Matrix API for Business
No credit card required, cancel any time