Distance matrix (JSON)
documentedReturn distance and duration between origins and destinations in JSON.
GET /maps/api/distancematrix/jsonDistance Matrix APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://maps.googleapis.com/maps/api/distancematrix/json?origins={{origins}}&destinations={{destinations}}&mode={{mode}}&units={{units}}&language={{language}}&key={{MAPS_API_KEY}}" \
-X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json"