Google Distance Matrix API vs. the TravelTime Search API

by Niharika Sisodia
on Jan 28, 2019 4:04:45 PM

In this blog, we will analyse the differences between two APIs and their capabilities to create isochrones and calculate travel times from many origin locations to many destinations.

Number of travel times calculated in 1 request: 

  • Google's Distance Matrix API can calculate up to 25 origins or 25 destinations in 1 request.
  • TravelTime Search API can calculate from 1 origin up to 100,000 points in 1 request using 'fast' feature or 2,000 using the standard search.

SIGN UP FOR TRAVELTIME SEARCH API KEY

2 google

Creating isochrone shapes

  • Google has no dedicated time map output feature such as an isochrone using Distance Matrix, only map tiles using Google Maps.
  • The TravelTime Search API returns a polygon JSON response with coordinates for points showing the boundaries of shapes of zones reachable within corresponding travel time.

magellan.traveltimeapp.com_

Geocoding & routing

  • Google has separate APIs to return routing information and geocoding.
  • Geocoding is included free within the TravelTime Search API. Routing is also included but uses a different end point.

Drive times

  • Live traffic times are taken into account using the Google Distance Matrix advanced feature.
  • Drive time calculations use road speed averages and algorithms using the TravelTime Search API and are not charged differently.

SIGN UP FOR TRAVELTIME SEARCH API KEY

Justice Concept - Small Flag on a Map Background with Selective Focus.

Travel times 

  • Google Distance Matrix: Can calculate travel times from an origin to multiple destinations. Results listed in seconds.
  • TravelTime API: Can calculate travel times from an origin to multiple destinations. Results listed in seconds. Users can use a search feature to filter out points of interest that fall within the requested area. For example 'list all hotels within 30 minutes' drive from the airport.

Travel distance

  • Google Distance Matrix: Can calculate travel distance from an origin to multiple destinations. Results can be returned in imperial and metric.
  • TravelTime API: Can calculate travel distance from an origin to multiple destinations. Results can be returned in metric.

Fare data

  • Google distance matrix: Provides fare data for public transport where available. Provides price for a standard ticket.
  • TravelTime API: Provides fare data for public transport UK only. Provides price for the standard ticket, weekly ticket, monthly ticket, annual ticket.

Routing information

  • Google distance matrix: Detailed routing information not included in the price. Use the Direction API for this  - priced separately.
  • TravelTime API: Routing included.

Isochrones 

  • Google distance matrix: Additional coding needed. Limitations of exporting 25 points in 1 API call.
  • TravelTime API: Time map endpoint. Returns a JSON response with coordinates for points showing the boundaries of shapes of zones reachable within corresponding travel time.

Geocoding

  • Google distance matrix: Geocoding not included in the price. Use the Geocoding API for this - priced separately.
  • TravelTime API: Free geocoding included.

Limits per request

  • Google distance matrix: 25 origins or destinations allowed per request.
  • TravelTime API: 1 origin to 2000 destinations per request.

Limits per second

  • Google distance matrix: 1000 elements (client-side and server-side) per second. Element = origin x destination.
  • TravelTime API: No hard limits.

Free plan limits

  • Google distance matrix: Equivalent of up to 40k elements using Distance Matrix API or up to 20k elements if using distance matrix advanced.
  • TravelTime API: 10,000 queries per month and 30 queries per minute.

Paid plan limits

  • Google distance matrix: 100k elements per day.
  • TravelTime API: No hard paid daily limits.

Transport modes available

  • Google distance matrix: Driving, walking, cycling, public transport. Users can adjust public transport preference towards bus, subway, train, tram or rail.
  • TravelTime API: Driving, walking, cycling, public transport. Users can select only 1 mode of public transport including bus, coach, train, ferry. Can also combine modes including driving and train combined, driving and ferry combined, cycling and ferry combined.

Driving times

  • Google distance matrix: Using the Distance Matrix advanced feature traffic conditions can be taken into account if the departure time is at the current time or future time. If using standard matrix it calculates driving based on best guess time based on historical data, as well as a pessimistic & optimistic time.
  • TravelTime API: Does not take current drive times into account, uses drive time averages for that specific departure time. Drive time calculations are only based on best guess using road speed averages and algorithms. Pessimistic/optimistic coming soon.

Travel preferences

  • Google distance matrix: Users can specify less walking and/ or fewer transfers. Can avoid tolls, highways, ferries and indoor routing.
  • TravelTime API: Users can specify the maximum time spent walking, parking the car or time spent on other modes of transport.

Language

  • Google distance matrix: Available in 30+ languages.
  • TravelTime API: Only available in English.

Support

  • Google distance matrix: 
    • Standard support: Product documentation, Stack Overflow Community, Issue Tracker, API Console HelpCenter.
    • Standard plan: Billing help and billing support, data privacy information Online support.
    • Silver & Gold support: customers get phone support if they have had an issue for over 15 minutes, as well as a support portal where they can log cases.
  • TravelTime API: 
    • Standard support: Documentation, email support for questions on using the API, billing etc. – response within 48 hours support@igeolise.com. Customers can also access dedicated Slack channel support, phone support and dedicated developer days.

SIGN UP FOR TRAVELTIME SEARCH API KEY

Pricing comparison

Image of a businessman workplace with papers

Pay as you go plan

  • Google distance matrix: Yes - available.
  • TravelTime API: Yes - available.

Contract plan

  • Google distance matrix: Yes - available.
  • TravelTime API: Yes - for enterprise customers.

Free limits

  • Google distance matrix: A $200 USD Google Maps Platform credit is available each month. Equivalent of up to 40k elements distance matrix API or up to 20k elements if using distance matrix advanced. Element classed as no. origin x destination.
  • TravelTime API: 10,000 free calls per month at 30 free calls per minute. Call classed as an origin x up to 2000 destinations.

Prices per element

  • Google distance matrix: Previously, the API had the same pricing for all Distance Matrix requests. Now split between basic and advanced requests. 
    • Basic requests per element (origin x destination)
      • 0-100k: 0.005 USD (5.00 USD per 1000)
      • 100,001 – 500k: 0.004 USD (4.00 USD per 1000) 
    • Distance matrix advanced (live traffic info needed) 
      • 0-100k: 0.01 USD  (10.00 USD per 1000)
      • 100,001 – 500k: 0.008 USD (8.00 USD per 1000)
  • TravelTime API: 
    • Pay as you go £0.01 per API query (If comparing a call to the element, can have up to 2000 Google-type elements in 1 query.) 
    • Contract - View pricing page. Prices £0.006 - £0.003 per call.
All pricing information was taken from the Developers Distance Matrix page June 18 2018TravelTime Search API is not affiliated with Google.

SIGN UP FOR TRAVELTIME SEARCH API KEY

 

Related

TravelTime case study: healthcare development analysis

The Megahospital challenge is a tool created using the TravelTime API by Border City Data. See how the app was built for healthcare development analysis.

Niharika Sisodia Apr 8, 2019 9:08:00 AM
READ

10 brick and mortar store locator pages for inspiration

Get inspired by brick and mortar store locator pages. View store locator pages from top global retail brands. Attract customers to your brick and mortar store by creating an effective store locator page design.

Niharika Sisodia Dec 20, 2018 10:21:18 AM
READ

How to convert visitors into customers using map view

Improve your map UI. Perfect your website map view to streamline the user journey. Convert visitors to your site into customers for your product or service.

Niharika Sisodia Dec 18, 2018 3:30:14 PM
READ

How far can I travel in 15 minutes or 1 hour? This map shows you.

How far can I travel within a time limit? Make a map to show you where you can reach within a certain travel time. Change the mode of transport and time of day. Add up to three starting locations and filter the intersection between them.

Niharika Sisodia Nov 26, 2018 9:17:41 AM
READ

What is geocoding? Use geocoding to display postcodes on a map

What is geocoding and how does it work. Use a geocoder to convert place names and postcodes into coordinates. Display coordinates on a map. Use geocoding to improve routing and map display.

Niharika Sisodia Nov 22, 2018 9:26:41 AM
READ