Google Maps
Get Directions
Get directions between two locations with route information. Response format is compatible with SerpAPI's google_maps_directions engine.
get/maps/directions
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/maps/directions
- Auth: API key in header X-API-KEY
Query parameters
originstring required
Starting point - address, place name, or coordinates.
destinationstring required
Ending point - address, place name, or coordinates.
mode'driving' | 'walking' | 'bicycling' | 'transit' | 'null' nullable
Mode: driving, walking, bicycling, or transit. Default: driving
hlstring nullable
Language code for results. Default: en
glstring nullable
Country/region code for geo-filtering.
Response
Changes
No recorded changes to this operation across all 3 revisions of this API.