Google Maps Routes avatar

Google Maps Routes

Try for free

3 days trial then $30.00/month - No credit card required now

Go to Store
Google Maps Routes

Google Maps Routes

mcdowell/google-maps-route-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

A flexible scraper that returns the quickest route between two locations. Can filter paths by avoiding `Ferries`, `Highways` and `Tolls`

Google Maps Route Scraper

This is an unofficial google maps API.

  • The crawler provides directions for the quickest route between 2 places.
  • The crawler can filter out Tolls, Highways and Ferries before returning routes. Input Schema
1{
2    "startLocation": "Orlando, Florida, USA",
3    "destination": "Oak Ridge, Florida, USA",
4    "tolls": true,
5    "ferries": true,
6    "highways": false,
7    "startUrls": [
8        {
9            "url": "https://www.google.com/maps/dir/Orlando,+FL,+USA/Oak+Ridge/@28.50464,-81.4524678,13z/am=t/data=!4m13!4m12!1m5!1m1!1s0x88e773d8fecdbc77:0xac3b2063ca5bf9e!2m2!1d-81.3789269!2d28.5383832!1m5!1m1!1s0x88e77c21b7cf3a27:0xda788a24a75ae598!2m2!1d-81.4245155!2d28.4711157"
10        }
11    ]
12}

Sample Output

1{
2	"timeStamp": "2022-09-06T16:49:20.310Z",
3	"start": "Orlando, Florida",
4	"finish": "Oak Ridge, Florida",
5	"distance": "7.7 miles",
6	"duration": "15 min",
7	"quickestRoute": [
8		"Head west on E South St toward S Orange Ave: (0.3 mi)",
9		"Use the left 2 lanes to turn left to merge onto I-4 W: (0.3 mi)",
10		"Merge onto I-4 W: (1.9 mi)",
11		"Keep right at the fork to stay on I-4 W: (1.2 mi)",
12		"Use the right 2 lanes to take exit 79 for Orange County Road 423 S/John Young Parkway S: (0.6 mi)",
13		"Merge onto S John Young Pkwy: (2.7 mi)",
14		"Turn right onto W Oak Ridge Rd: (0.5 mi)",
15		"Turn left onto Bonnie Brook Blvd: (0.1 mi)",
16		"Turn left onto Casa Del Rey Cir [Restricted usage road]: (331 ft)"
17	],
18	"url": "https://www.google.com/maps/dir/Orlando,+FL,+USA/Oak+Ridge/@28.50464,-81.4524678,13z/am=t/data=!4m13!4m12!1m5!1m1!1s0x88e773d8fecdbc77:0xac3b2063ca5bf9e!2m2!1d-81.3789269!2d28.5383832!1m5!1m1!1s0x88e77c21b7cf3a27:0xda788a24a75ae598!2m2!1d-81.4245155!2d28.4711157"
19}
Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 2 stars

  • >99% runs succeeded

  • Created in Aug 2022

  • Modified 10 months ago

Categories