> Documentation index: https://developers.google.com/maps/documentation/llms.txt

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](https://developers.google.com/maps/documentation/isochrones/overview.md.txt)

## 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 (`travelDirection` `TO`).
- 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](https://developers.google.com/maps/documentation/routes/quick-reference.md.txt) 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](https://developers.google.com/maps/documentation/isochrones/get-api-key.md.txt)
- **Reference:** [Isochrones API reference](https://developers.google.com/maps/documentation/isochrones/reference.md.txt)
- **Pricing:** [Isochrones API usage and billing](https://developers.google.com/maps/documentation/isochrones/usage-and-billing.md.txt)
- **Policies:** [Isochrones API policies](https://developers.google.com/maps/documentation/isochrones/policies.md.txt)
- **Release notes:** [Isochrones API release notes](https://developers.google.com/maps/documentation/isochrones/release-notes.md.txt)

**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](https://developers.google.com/maps/documentation/javascript/quick-reference.md.txt), [Places API (New)](https://developers.google.com/maps/documentation/places/web-service/quick-reference.md.txt)

## 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](https://developers.google.com/maps/documentation/isochrones/faq.md.txt).
- **Problem:** An omitted `latitude` or `longitude` in `location` is treated as 0 with no error, so the isochrone is placed on the Equator or prime meridian. **Fix:** Always set both `latitude` and `longitude`, and check both values if the isochrone appears in the wrong place. See [/maps/documentation/isochrones/troubleshooting](https://developers.google.com/maps/documentation/isochrones/troubleshooting.md.txt).
- **Problem:** Origins farther than about 200 meters (less for `WALK` and `BICYCLE`) from a mode-compatible road, such as park or landmark centroids, return 404 `NOT_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](https://developers.google.com/maps/documentation/isochrones/troubleshooting.md.txt).
- **Problem:** `enableSmoothing` changes polygon vertices and boundaries, so smoothed polygons give inaccurate point-in-polygon results. **Fix:** Keep `enableSmoothing` `false` for analysis; use it only for display. Set `polygonFidelity` explicitly to compare isochrones across durations or modes. See [/maps/documentation/isochrones/best-practices](https://developers.google.com/maps/documentation/isochrones/best-practices.md.txt).

## What you can do with Isochrones API

See the guides linked below for each task, or compare across products in the
[Capabilities Explorer](https://developers.google.com/maps/documentation/capabilities-explorer.md.txt).

- [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.](https://developers.google.com/maps/documentation/isochrones) 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.](https://developers.google.com/maps/documentation/isochrones/handle-response.md.txt#visualize_the_isochrone_on_a_map) 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.](https://developers.google.com/maps/documentation/isochrones/key-concepts.md.txt#travel_direction_inbound_versus_outbound) Preview **Note:** Uses the travelDirection parameter set to 'TO', ideal for analyzing commute-to-work zones or store catchment areas.