Gggle Get API keys

Route planner

Matrix & isochrones

Travel-time/distance matrices between many points, and isochrones ("how far can I get in 15 minutes").

Matrix

POST /matrix returns travel time and distance between every source and every target. Billed by elements (sources × targets). Supports the same modes as /directions.

bash
curl -X POST "https://api.goggleplaces.com/matrix" \
  -H "x-api-key: gk_live_sk_..." \
  -H "content-type: application/json" \
  -d '{
    "sources": [[-0.1278,51.5074],[-2.2426,53.4808]],
    "targets": [[-1.8904,52.4862]],
    "mode": "auto"
  }'

Response has durations_s and distances_m as sources × targets grids (null where no route).

json
{ "engine": "valhalla", "durations_s": [[8400],[6120]], "distances_m": [[178000],[141000]], "sources_count": 2, "targets_count": 1 }

Isochrones

POST /isochrone returns GeoJSON polygons of everywhere reachable within given time (minutes) or distance (km) bands from a point — great for "what’s within a 15-minute drive". Provide minutes[] and/or km[] (up to 4 bands).

bash
curl -X POST "https://api.goggleplaces.com/isochrone" \
  -H "x-api-key: gk_live_sk_..." \
  -H "content-type: application/json" \
  -d '{ "point": [-0.1278,51.5074], "mode": "auto", "minutes": [10,20,30] }'

Returns { engine, mode, isochrones } where isochrones is a GeoJSON FeatureCollection you can add straight to a map source.

Updated 27 Jul 2026