VOOZH about

URL: https://apify.com/crawlerbros/google-maps-directions

⇱ Google Maps Directions Scraper Β· Apify


Pricing

from $3.00 / 1,000 results

Go to Apify Store

Google Maps Directions Scraper

Extract driving, walking, bicycling, and transit directions between any two locations from Google Maps - distance, duration, traffic, route alternatives, and turn-by-turn steps.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract driving, walking, bicycling, and transit directions between any two locations from Google Maps β€” including distance, duration, traffic conditions, route alternatives, and turn-by-turn steps.

What It Does

Provide an origin and a destination (as addresses, place names, or lat,lng coordinates), and this actor returns:

  • All route alternatives Google Maps offers (up to 5)
  • Distance in both human-readable form ("1.2 mi") and integer meters
  • Duration in human-readable form ("8 min") and integer seconds
  • "via" road for each route (e.g. "via Broadway")
  • Traffic condition notes when available (e.g. "Moderate traffic")
  • Turn-by-turn step instructions for the primary route (best-effort)
  • Resolved origin and destination strings (what Google actually matched)
  • The final Google Maps directions URL you can share or open in a browser

Use Cases

  • ETA calculators, courier and logistics planning, dispatch dashboards
  • Travel-time monitoring between business locations
  • Field-service routing and territory planning
  • Sales and customer-visit scheduling
  • Real-estate commute analyses
  • Tourism / transit research

Input

FieldTypeRequiredDefaultDescription
originStringyesβ€”Starting location (address, place name, or lat,lng)
destinationStringyesβ€”Ending location (address, place name, or lat,lng)
travelModeEnumnodrivingOne of driving, walking, bicycling, transit
languageEnumnoenUI language (affects instruction text)
unitsEnumnometricmetric or imperial distance preference
avoidTollsBooleannofalseDriving mode β€” avoid toll roads
avoidHighwaysBooleannofalseDriving mode β€” avoid highways/motorways
avoidFerriesBooleannofalseDriving mode β€” avoid ferry routes
departureTimeStringnoβ€”Optional ISO 8601 datetime for transit routing
proxyConfigurationObjectnoβ€”Optional Apify proxy (used only as a fallback)

Example input:

{
"origin":"Times Square, New York, NY",
"destination":"Central Park, New York, NY",
"travelMode":"driving"
}

Walking directions:

{
"origin":"Eiffel Tower, Paris",
"destination":"Louvre Museum, Paris",
"travelMode":"walking",
"language":"en"
}

Output

Each route alternative produces one dataset record:

{
"origin":"Times Square, New York, NY",
"destination":"Central Park, New York, NY",
"originResolved":"Times Square",
"destinationResolved":"Central Park",
"midpointLocation":{"lat":40.7700,"lng":-73.9758},
"travelMode":"driving",
"language":"en",
"units":"metric",
"routeIndex":0,
"distance":"1.2 mi",
"distanceMeters":1931,
"duration":"8 min",
"durationSeconds":480,
"via":"via Broadway",
"trafficCondition":"Moderate traffic",
"steps":[
{"instruction":"Head north on Broadway","distance":"0.3 mi"}
],
"googleMapsUrl":"https://www.google.com/maps/dir/Times+Square/Central+Park/?hl=en&travelmode=driving",
"scrapedAt":"2026-06-16T10:30:00+00:00"
}

Empty fields are omitted from the record.

How It Works

  • Loads the canonical Google Maps directions URL in a stealth Chromium browser
  • Waits for route alternatives to render, then extracts them from the DOM
  • Distance and duration strings are also normalised to integer meters / seconds for downstream analytics

FAQ

How many routes are returned per run? Up to 5 alternatives, in the order Google Maps shows them. routeIndex: 0 is Google's recommended route.

Why does Google sometimes resolve my origin/destination differently? Google Maps performs its own geocoding and may match the closest known place. The originResolved and destinationResolved fields show what it actually matched.

Can I use coordinates instead of addresses? Yes β€” pass "40.7580,-73.9855" (or similar) as origin/destination and the actor will route between the exact points.

Does this actor use cookies or login? No. Google Maps directions are public and require no authentication.

Is a proxy needed? Usually not. The actor first attempts the run without a proxy, which is the most reliable approach for Google Maps. If you configure a proxy, it is used only as a fallback.

What if Google Maps cannot find a route (e.g. between two continents for driving)? The actor will report no routes found and fail the run gracefully so you can see the issue in the status message.

πŸ—ΊοΈ Complete Google Maps Scraper Suite

This actor is part of a comprehensive Google Maps data extraction toolkit by crawlerbros. All actors run on the free Apify plan, use no proxy by default, and return clean, structured data.

ActorWhat it does
🏒 Google Maps Business ScraperExtract business data β€” name, address, phone, website, rating, reviews, hours, amenities
⭐ Google Maps Reviews ScraperScrape reviews with reviewer Local Guide level, photos, mentioned items, owner replies
πŸ“Έ Google Maps Photos ScraperExtract all photos from any place β€” max-resolution URLs, contributor info, categories
πŸ• Google Maps Business Hours ScraperFull 7-day hours, timezone, current local time, next open/close, holiday hours
πŸ“Š Google Maps Popular Times ScraperBusy hours histogram for all 7 days + current busyness + typical visit time
πŸ“§ Google Maps Email ExtractorFind business emails + social media links by crawling websites
πŸ—ΊοΈ Google Maps Area ScannerGeographic grid scanning β€” bypass the 120-place limit with bounding box / circle / polygon
πŸ’Ό Google Maps Leads ScraperB2B lead generation with email + phone enrichment, US states + global countries
πŸ€– Google Maps MCP ServerUnified MCP server combining search + reviews for AI assistants
πŸ“ Google Maps Geocoding ScraperBidirectional geocoding β€” address ↔ coordinates, with address components
πŸ”— Google Maps Similar Places Scraper"People also search for" / related place discovery β€” competitor & alternative finder
🍽️ Google Maps Menu ScraperRestaurant menu items, prices, descriptions, photos
πŸ“Œ Google Maps Nearby ScraperFind places near a coordinate point β€” lightweight POI search by category
πŸ“‹ Google Maps Place List ScraperExtract Google's curated "Top X in Y" lists β€” best hotels/restaurants/things to do
🌍 Google Maps Timezone ScraperIANA timezone + current local time from coordinates

You might also like

Google Maps Directions API

johnvc/google-maps-directions-api

Get Google Maps directions for any route - driving, transit, walking, cycling, or flight - with distance, ETA, and turn-by-turn steps as JSON. Use addresses, coordinates, or place IDs; avoid tolls, highways, or ferries; set departure or arrival time. MCP-ready for Claude and AI agents.

Apple Maps Directions API - Navigation, ETA & Turn-by-Turn

zen-studio/apple-maps-directions-route-api

Get driving, walking, and cycling directions between any locations via Apple Maps. Returns multiple route alternatives with distance, ETA, live traffic, turn-by-turn steps, road names, incidents, environmental zones, and polyline coordinates with elevation. No Apple account needed. $0.09 per lookup.

Google Maps Directions & Routes API | Multi-Stop Navigation

zen-studio/google-maps-directions-api

Extract driving, walking, cycling, and transit directions from Google Maps as structured data. Get multi-stop routes (2-10 stops), turn-by-turn instructions, distance, duration, traffic estimates, and Street View thumbnails. No API key needed. Supports departure/arrival times and route preferences.

51

5.0

OSRM Driving Routes & Directions Scraper

parseforge/osrm-routing-scraper

Compute driving, cycling, or walking routes between two coordinates using the OSRM open routing engine. Returns total distance, duration, route geometry, and optional turn-by-turn instructions.

Google Maps Scraper

surigami/google-maps-scraper

πŸ“ Google Maps Scraper Google Maps Scraper lets you extract business data from Google Maps.

Google Maps Scraper

rupom888/google-maps-scraper

Extract business listings from Google Maps.