Go to example tasks
San Francisco transit and cycling route comparison
Created by
Stas Persiianenko
Calculate real San Francisco transit and cycling routes with instructions, distances, durations, route labels, and encoded step paths.
Google Maps Directions and Routes APIautomation-lab/google-maps-directions-routes-api
Origin
Destination
Mode
Alternative
+8 fieldsTextNumberBooleanListObject
Input
Batch route requests
Origin(required):Union Square, San Francisco, CA+1
Destination(required):Ferry Building, San Francisco, CA+1
Travel mode:transit+1
Route alternatives:1+1
Language:en
Country bias:us
Maximum saved routes:2
Delay between requests (milliseconds):100
Output fields
Origin
Destination
Mode
Alternative
Route
Meters
Distance
Seconds
Duration
Traffic estimate
Legs and steps
Google Maps
Sign up on Apify01
Create your Apify account to access the Google Maps Directions and Routes 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.
