Get Google Maps directions by API as JSON
Created by
John
Call a simple API to get Google Maps directions as JSON. One lookup returns every route option with distance, duration, and turn-by-turn steps.
Google Maps Directions APIjohnvc/google-maps-directions-api
Result Type
Start
End
Travel Mode
+5 fieldsTextNumberBooleanListObject
Input
Start Address:Chicago, IL
End Address:Milwaukee, WI
Travel Mode:driving
Output fields
Result Type
Start
End
Travel Mode
Route Options
Best Duration
Best Distance
Google Maps URL
Fetched At
Sign up on Apify01
Create your Apify account to access the Google Maps Directions API.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

