How we reduced the cost of calculating distances by 5 times

Distance Matrix API and food delivery optimization for
How we reduced the cost of calculating distances by 5 times
Distance Matrix API for is a popular food delivery service in Poland. It's well known in Wroclaw and Warsaw. A website and applications for IOS and Android allow users to order food from the nearest cafes and restaurants. Accurate delivery time calculation is the company's most important business process and the biggest determinant of client satisfaction.
Food delivery companies
Lunch24 receives hundreds of orders from different locations every day. Up to 1 000 000 000 requests per month must be sent by an API. When the company used Google Distance Matrix, costs for routes calculations were high. In 2019, the business turned to our solution to reduce them.

One of the tasks of food delivery optimization related to traffic data was to calculate the delivery time that starts not only in the moment, but also in the future. We provided a parameter in the query that accommodated the date and time of departure to provide the traffic data.

A new Distance Matrix API covered all the business requirements, so geocoding wasn't needed. A customer who wants to order food simply inputs their delivery address or sets a point on the map. They will then see a list of nearby restaurants and cafes. There is a delivery time, in minutes, for every dish.
Food delivery optimization
It's possible to calculate delivery times to the second, but delivery times are displayed in minutes on the website.
The results of using a new API and food delivery optimization
  • Users can see the delivery time of their order immediately after they input their address, because the request is returned from the API in less than 0.3 seconds.
  • Lunch24's reduced its costs for calculating distances by 5 times.
  • The company was able to update its client base, because the API helped to reduce the costs of requests and it became profitable.
    We continue to improve Lunch24's business processes and databases to achieve even greater cost-effectiveness and speeds.
    Client's review
    Mateusz Sowa
    "We used to use the Google API, but in 2018 the price became too expensive. We started looking for a cheaper solution that would be just as effective for our business. Distance Matrix API coped with all the tasks we set for them. Thanks to their work, we improved our delivery system and managed to reduce the cost of our delivery calculations by 5 times. We've been working with this new API for about five months and are satisfied with its possibilities."
    Fill in the form and get a free 7 days trial period for Distance Matrix API
    Tell us more about your project and we'll help you to choose the best solution and pricing plan.
    Link to your website or your company name and job position
    Email where to send a token and instructions
    What is the most comfortable channel to communicate with you?
    Volume of elements (origin-destination pairs) per month:
    Have you ever used Google Distance Matrix API or any other similar API before?
    You agree with our Terms and Conditions
    Made on