Google Directions
Returns directions between two points from Google Maps.
Request
- Base URL: https://api.outscraper.cloud
- URL: https://api.outscraper.cloud/google-maps-directions
- Auth: API key in header X-API-KEY
Query parameters
The parameter defines the origin. You can use anything that you would use on Google Maps directions (e.g., Lincoln Way & 19th Ave, San Francisco, USA).
It supports batching by sending arrays with up to 1000 origins. It allows multiple directions to be sent in one request and save on network latency time.
The parameter defines the destination. You can use anything that you would use on Google Maps directions (e.g., 19th Ave & Taraval St, San Francisco, USA).
It supports batching by sending arrays with up to 1000 destinations. It allows multiple directions to be sent in one request and save on network latency time.
The parameter specifies the departure timestamp.
The current timestamp is used when the value is not provided.
The parameter specifies the end departure timestamp.
Using this parameter requires using the interval parameter.
The parameter specifies the interval to use between departure_time and finish_time.
The parameter specifies one of the travel modes.
Parameters
Response
The response contains the status of the request and data.
Changes
No recorded changes to this operation across all 1 revision of this API.