11

I'm looking for a free web service that gets an input of 2 addresses and returns an output of driving distance between the 2 points. In addition I'm looking for a web service that doesn't require submitting a domain in order to use it (like google's distance matrix web service).

Thanks.

8

Depending on your purpose and the number of requests you need to put through the service, the Bing Maps REST APIs are generally free to use - they just require you to sign up for a key first from https://www.bingmapsportal.com/.

The API for the Route service is at: http://msdn.microsoft.com/en-us/library/ff701717.aspx, which can return driving distances and routes plotted between up to 25 waypoints.

Conditions for use are at http://www.microsoft.com/maps/product/terms.html, but it's basically free for educational/non-profit use, and free for commercial use so long as it's a publicly available app and you don't exceed 500,000 transactions in a 12 month period. Otherwise you need to get a commercial licence.

3

There is also the ESRI network service

http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis

and the google maps api

http://code.google.com/apis/maps/documentation/directions/

2

A slight update a few years down the line, since I'm looking for the same thing:

  1. The ESRI link above no longer works, but gives the option of proceeding to http://route.arcgis.com. Under the API documentation there is a price list, where a "simple route" currently costs $0.004 per route. Could not locate a free option.
  2. HERE maps would appear to have 250K free transactions per month. The examples are mostly on getting the whole route geometry etc., but based on the documentation the basic route data should also be available. Going to test this one.
  3. Using the Google Maps Platform Pricing Calculator today suggests $900 for 250K distance matrix fetches (or directions - same price). Up to 40k would be free.
0

Take a look at the time filter function using the TravelTime API http://docs.traveltimeplatform.com/reference/time-filter/ testing is free and pricing is much lower than google distance matrix API as it's charged per search (e.g. travel time from origin to 1000s of points vs. origin-destination pair like Google Distance matrix).

It handles driving distances and driving times.

Disclaimer: I work at the company that creates the API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.