Solutions
Developer guide
Pricing
Sign in
Get a free trial
Products
Solutions
Cases
Developer guide
Pricing
Contact us
Contact us
The Geocoding API (Beta)
The Distance Matrix API
The Geocoding API (Beta)

The Distance Matrix API for courier services

Use driving, walking, and bicycling modes to organize an efficient goods-delivery system

Solution
Using the Distance Matrix API, courier services can determine the best routes not only for drivers, but also for cycle couriers and couriers who deliver goods by foot. This allows courier companies to effectively use all their available resources.
Our API can also calculate distances and travel times while taking into account public transport for couriers who deliver goods on foot. Using this function, the courier service also can calculate the courier's time of departure and take into account when the client wishes the delivery to arrive.
Main API features
Available for driving, walking, and bicycling modes. Easily calculate distances and travel times for any route
Travel modes
Calculate times for future deliveries. Forecast travel times, taking into account departure and arrival times
Predictive capabilities
Geocoding technology helps you avoid human error and determine the customer's exact location
Geocoding a customer's location
The API considers all road conditions and restrictions that affect drivers
Real-time traffic conditions
If you're using Google Distance Matrix API, there's no need to rewrite your current code
Easy migration from the Google API
You pay only for what you use. No credit card and prepayment needed
Flexible prices
drive time forecasting
real-time traffic
driving distance calculator
geocoding
flexible prices
alternative to google
Main API features
Travel modes
Predictive capabilities
Geocoding a customer's location
Real-time traffic conditions
Easy migration from the Google API
Flexible prices
drive time forecasting
real-time traffic
driving distance calculator
geocoding
flexible prices
alternative to google
Information for developers
The Distance Matrix API's request-and-response format is similar to Google's Distance Matrix API. Migrating it is easy.
Example:
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",
}
Read API documentation
Read API documentation
Find out how easy it is to migrate to the Distance Matrix API
You don't need to rewrite any code – just change the API Key
Learn more
Start
Trusted by clients all over the world
distancematrix.ai's clients
No credit card required. Cancel anytime!
Start a free 7-day trial of the Distance Matrix API for Business
Get my 7-days free trial
Read API documentation
Get my 7-days free trial
Read API documentation