The Isochrones API calculates the area a person can reach from an origin point within a set travel time, using road network travel times instead of a straight-line radius, and returns the result as a GeoJSON MultiPolygon.
Isochrones API: key facts
- Product: Isochrones API
- Category: Places
- Platform: Web service (REST)
- Runs on: Server (backend code)
- Launch stage: Preview
- Lifecycle: Active
- Overview: Isochrones API overview
Isochrones API: when to use it
Use Isochrones API when:
- You need the area reachable from an origin within a travel time limit, based on road network travel times instead of a radius.
- You need delivery or service zones, such as customers servable within 30 minutes of a warehouse.
- You need an inbound catchment area, such as places within a 45-minute commute to a workplace (
travelDirectionTO). - You need to analyze access to services like hospitals or grocery stores for urban planning.
Don't use Isochrones API when:
- You need travel times or routes between specific origins and destinations. Use Routes API instead.
- You need transit- or ferry-based reachability; the API has no transit mode and excludes ferry crossings.
- You need driving or two-wheeler areas beyond 60 minutes, or walking or cycling areas beyond 120 minutes.
Isochrones API: setup
- Service to enable:
isochrones.googleapis.com - Authentication: API key, OAuth 2.0, Service account
- Get started: Set up Isochrones API
- Reference: Isochrones API reference
- Pricing: Isochrones API usage and billing
- Policies: Isochrones API policies
- Release notes: Isochrones API release notes
Official Isochrones API packages:
- npm:
@google-maps/isochrones - pypi:
google-maps-isochrones - go:
cloud.google.com/go/maps
Isochrones API: related products
- Often used with: Maps JavaScript API, Places API (New)
Isochrones API: common mistakes
- Problem: The API returns GeoJSON coordinates as
[longitude, latitude]; SDKs or custom code expecting[lat, lng]draw the polygon in the wrong place. Fix: Use the Maps JavaScript API Data layer (map.data.addGeoJson), or transpose each coordinate pair before rendering. See /maps/documentation/isochrones/faq. - Problem: An omitted
latitudeorlongitudeinlocationis treated as 0 with no error, so the isochrone is placed on the Equator or prime meridian. Fix: Always set bothlatitudeandlongitude, and check both values if the isochrone appears in the wrong place. See /maps/documentation/isochrones/troubleshooting. - Problem: Origins farther than about 200 meters (less for
WALKandBICYCLE) from a mode-compatible road, such as park or landmark centroids, return 404NOT_FOUND. Fix: Move the coordinate closer to a public road, or pass road-entrance coordinates instead of a large park or landmark place ID. See /maps/documentation/isochrones/troubleshooting. - Problem:
enableSmoothingchanges polygon vertices and boundaries, so smoothed polygons give inaccurate point-in-polygon results. Fix: KeepenableSmoothingfalsefor analysis; use it only for display. SetpolygonFidelityexplicitly to compare isochrones across durations or modes. See /maps/documentation/isochrones/best-practices.
What you can do with Isochrones API
See the guides linked below for each task, or compare across products in the Capabilities Explorer.
- Return the latitude/longitude coordinates of the area (isochrone) that a person can reach from a specified origin point within a specified travel time, using a specified travel mode. You can specify whether to use live-traffic conditions. Preview
- Add a data layer to a map that shows the area (isochrone) that a person can reach from a specified origin point within a specified travel time, using a specified travel mode. Preview
- Return the latitude/longitude coordinates of the area (isochrone) from which you can travel to a specified origin point within the specified time limit, using a specified travel mode. Preview Note: Uses the travelDirection parameter set to 'TO', ideal for analyzing commute-to-work zones or store catchment areas.