# HERE Geofences API

**Canonical:** https://apis.io/apis/here/here-geofences-api/  
**Provider:** HERE — https://apis.io/providers/here/  
**Base URL:** https://account.api.here.com  
**Documentation:** https://docs.here.com/identity-and-access-management/reference

HERE Geofences API is one of 139 APIs that [HERE](https://apis.io/providers/here/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Geofences. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The Geofences service creates and manages geofences. A geofence is an area boundary that users can define and associate with their devices. The area that the geofence encloses can be defined using geographic coordinates or radio measurements. Geographic geofences can be `circular` or `polygonal`. A circular geofence is defined by geographic coordinates of its center and a radius, while polygonal geofences are defined as a set of geographic coordinates. `POI geofence` (Point Of Interest) is a geofence, which is defined using radio measurements. POI geofences need to be trained separately using a telemetry that a device has recorded while being at the desired point of interest. Once created, a geofence can be associated to a device. Every time a position or a radio measurement update is received from a device, HERE Tracking would evaluate whether the device has transitioned across the boundary of an associated geofence. If such a transition has happened, a transition event will be recorded. For the geographic geofences, the evaluation is based on the coordinates of the trace. For POI geofences, the device is considered to be inside a trained POI geofence when the radio measurements of the device-ingested telemetry and the training data match. Indoor geofences can be created by adding the floor properties to the geofence definition. Circular and polygonal geofences can be both outdoors and indoors. POI geofences should only be used indoors. For indoor geofences a device transition is recorded only if the position of the device is indoors and the floor details of the position match the geofence floor definition. NOTE: A geofence can also be referred to as a geozone, and these two terms are interchangeable.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| GET | `/geofences/v2/health` | Gets service health |
| GET | `/geofences/v2/version` | Gets service version |
| POST | `/geofences/v2` | Creates a geofence |
| GET | `/geofences/v2` | Gets all geofences |
| DELETE | `/geofences/v2` | Deletes all geofences |
| GET | `/geofences/v2/{geofenceId}` | Gets a single geofence |
| PUT | `/geofences/v2/{geofenceId}` | Updates a single geofence |
| DELETE | `/geofences/v2/{geofenceId}` | Deletes a geofence |
| POST | `/geofences/v2/{geofenceId}/poiTraining` | Trains a POI geofence |
| POST | `/geofences/v2/trainingTest` | Checks if a POI geofence training is possible with the given parameters |

## Machine-readable artifacts (37)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/here/refs/heads/main/openapi/here-geofences-api-openapi.yml
- **Documentation** — https://docs.here.com/identity-and-access-management/docs
- **APIReference** — https://docs.here.com/identity-and-access-management/reference
- **Documentation** — https://docs.here.com/data-api/docs
- **APIReference** — https://docs.here.com/data-api/reference
- **Documentation** — https://docs.here.com/usage/docs
- **APIReference** — https://docs.here.com/usage/reference
- **Documentation** — https://docs.here.com/destination-weather/docs
- **APIReference** — https://docs.here.com/destination-weather/reference
- **Documentation** — https://docs.here.com/ev-products/docs
- **APIReference** — https://docs.here.com/ev-products/reference
- **Documentation** — https://docs.here.com/fuel-prices/docs
- **APIReference** — https://docs.here.com/fuel-prices/reference
- **Documentation** — https://docs.here.com/geocoding-and-search/docs
- **APIReference** — https://docs.here.com/geocoding-and-search/reference
- **Documentation** — https://docs.here.com/routing/docs
- **APIReference** — https://docs.here.com/routing/reference
- **Documentation** — https://docs.here.com/positioning/docs
- **APIReference** — https://docs.here.com/positioning/reference
- **Documentation** — https://docs.here.com/indoor-map/docs
- **APIReference** — https://docs.here.com/indoor-map/reference
- **Documentation** — https://docs.here.com/transit/docs
- **APIReference** — https://docs.here.com/transit/reference
- **Documentation** — https://docs.here.com/map-attributes/docs
- **APIReference** — https://docs.here.com/map-attributes/reference
- **Documentation** — https://docs.here.com/map-rendering/docs
- **APIReference** — https://docs.here.com/map-rendering/reference
- **Documentation** — https://docs.here.com/workspace/docs
- **APIReference** — https://docs.here.com/workspace/reference
- **Documentation** — https://docs.here.com/tour-planning/docs
- **APIReference** — https://docs.here.com/tour-planning/reference
- **Documentation** — https://docs.here.com/tracking/docs
- **APIReference** — https://docs.here.com/tracking/reference
- **Documentation** — https://docs.here.com/traffic-api/docs
- **APIReference** — https://docs.here.com/traffic-api/reference
- **Documentation** — https://docs.here.com/wego-pro/docs
- **APIReference** — https://docs.here.com/wego-pro/reference

## Other HERE APIs (12)

- [HERE Geocoding and Search API](https://apis.io/apis/here/geocoding-search/)
- [HERE Autosuggest API](https://apis.io/apis/here/autosuggest/)
- [HERE Tour Planning API](https://apis.io/apis/here/tour-planning/)
- [HERE Public Transit API](https://apis.io/apis/here/public-transit/)
- [HERE Destination Weather API](https://apis.io/apis/here/destination-weather/)
- [HERE Map Tile API](https://apis.io/apis/here/map-tile/)
- [HERE Map Image API](https://apis.io/apis/here/map-image/)
- [HERE Tracking API](https://apis.io/apis/here/tracking/)
- [HERE Positioning API](https://apis.io/apis/here/positioning/)
- [HERE Parking API](https://apis.io/apis/here/parking/)
- [HERE Platform Data API](https://apis.io/apis/here/platform-data/)
- [HERE HD Live Map](https://apis.io/apis/here/hd-live-map/)

## Tags

Geofences

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/here/here-geofences-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/here/.
