Parameter List
The origin name, address, latitude and longitude, or Google place ID. For example: "Porto, Portugal".
The destination name, address, latitude and longitude, or Google place ID. For example: "Berlin, Germany".
The travel mode. Choose either:
"driving"(default)"walking""bicycling""transit"
The departure time in UNIX format. For example: 1600281000. If provided, it ignores end_time.
The arrival time in UNIX format. For example: 1600281000.
What transit elements to avoid in the route. Choose either:
blank or
""(default) for normal routing"tolls""highways""ferries""indoor"
List of addresses, "latitude,longitude", or Google place IDs to stop on the way, separated by a |. For example: "Madrid,Spain|Paris,France".
If you need an API key for the Google Cloud Platform, follow the step-by-step guide in our forum.