Actor picture

Google Maps Routes

mcdowell/google-maps-route-scraper

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

Free trial for 3 days

Then $30/month

No credit card required now

Author's avatarVictor McDowell
  • Modified
  • Users4
  • Runs101
Actor picture
Google Maps Routes

Free trial for 3 days

Then $30/month

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
{
    "startLocation": "Orlando, Florida, USA",
    "destination": "Oak Ridge, Florida, USA",
    "tolls": true,
    "ferries": true,
    "highways": false,
    "startUrls": [
        {
            "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"
        }
    ]
}

Sample Output

{
    "timeStamp": "2022-09-06T16:49:20.310Z",
    "start": "Orlando, Florida",
    "finish": "Oak Ridge, Florida",
    "distance": "7.7 miles",
    "duration": "15 min",
    "quickestRoute": [
        "Head west on E South St toward S Orange Ave: (0.3 mi)",
        "Use the left 2 lanes to turn left to merge onto I-4 W: (0.3 mi)",
        "Merge onto I-4 W: (1.9 mi)",
        "Keep right at the fork to stay on I-4 W: (1.2 mi)",
        "Use the right 2 lanes to take exit 79 for Orange County Road 423 S/John Young Parkway S: (0.6 mi)",
        "Merge onto S John Young Pkwy: (2.7 mi)",
        "Turn right onto W Oak Ridge Rd: (0.5 mi)",
        "Turn left onto Bonnie Brook Blvd: (0.1 mi)",
        "Turn left onto Casa Del Rey Cir [Restricted usage road]: (331 ft)"
    ],
    "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"
}

Industries

See how Google Maps Routes is used in industries around the world