OxinionDeveloper
oxinion.geofencing

Target by proximity. Not just address.

Radius defines a circular zone around any coordinate. When a user enters or exits the boundary, Oxinion fires a location event you can act on via webhooks or your own server logic.

Stable
Generally Available

Simple by design

Radius defines a circular zone around any coordinate. When a user enters or exits the boundary, Oxinion fires a location event you can act on via webhooks or your own server logic.

  • 01Set radius in metres — any size from 1m up
  • 02Trigger on enter, exit, or dwell
  • 03Receive events via webhook or poll the API
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 a circular geofence around your store
8const { geofence } = await oxinion.geofencing.create({
9 name: 'Downtown Store',
10 lat: 43.6532,
11 lng: -79.3832,
12 radius: 200, // metres
13 triggerType: 'enter',
14});
15
16// Track a user entering the area
17await oxinion.track({
18 type: 'enter',
19 lat: 43.6540,
20 lng: -79.3820,
21 userId: 'user_123',
22});

Reach users at the right place.

Radius turns physical location into automation triggers. Set it up in minutes.