Google Maps Directions
Get Google Maps directions between two places by car, transit, walking, cycling or flight, with routes, distance, duration and step-by-step instructions.
Request
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/directions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"start_addr": "Austin-Bergstrom International Airport", "end_addr": "Texas State Capitol"}'
The result is returned in outputs[0].data as structured JSON.
Parameters
Pricing
$0.010 per successful call. Failed calls are not charged.