OxinionDeveloper
oxinion.geofencing

Group your locations. Own any space.

Zones lets you organise geofences into named groups — storefronts, delivery areas, campus boundaries. Track entry, exit, and dwell events across all of them from a single API key.

Stable
Generally Available

Simple by design

Zones lets you organise geofences into named groups — storefronts, delivery areas, campus boundaries. Track entry, exit, and dwell events across all of them from a single API key.

  • 01Create geofences for any number of locations
  • 02Trigger on enter, exit, or dwell
  • 03Receive events via webhook in real time
Full API reference
TypeScript
1import { createOxinion } from 'oxinion';
2
3const oxinion = createOxinion({
4 apiKey: process.env.OXINION_API_KEY!, // oxk_live_...
5});
6
7// Create geofences for each location in a zone
8const { geofence: store1 } = await oxinion.geofencing.create({
9 name: 'Delivery Zone A — Store 1',
10 lat: 43.660,
11 lng: -79.390,
12 radius: 300,
13 triggerType: 'enter',
14});
15
16const { geofence: store2 } = await oxinion.geofencing.create({
17 name: 'Delivery Zone A — Store 2',
18 lat: 43.650,
19 lng: -79.370,
20 radius: 300,
21 triggerType: 'enter',
22});
23
24// List all geofences
25const { geofences } = await oxinion.geofencing.list();
26console.log(`${geofences.length} active geofences`);

Your territory, your rules.

Zones give you spatial control at any scale. From a single store to an entire city.