Skip to content
Fourohtwo

ort.halowerk.com/v1/geofence-events

Detect when a GPS track enters and exits polygon geofences, with crossing times interpolated on the boundary, pass-throughs between fixes, dwell times and per-fence summaries. Takes a track (GPX or point list with optional timestamps) and polygon fences (GeoJSON Feature/FeatureCollection with Polygon or MultiPolygon; id from feature id, properties.id or properties.name). For each fix the inside st

BaseAnswering
POSThttps://ort.halowerk.com/v1/geofence-events

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ort.halowerk.com/v1/geofence-events", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"fences":{"geometry":{"coordinates":[[[7,52],[7.01,52],[7.01,52.01],[7,52.01],[7,52]]],"type":"Polygon"},"id":"hof","properties":{},"type":"Feature"},"points":[{"lat":52.005,"lon":6.995,"time":"2026-10-01T10:00:00Z"},{"lat":52.005,"lon":7.005,"time":"2026-10-01T10:01:00Z"}]}),
});
console.log(await res.json());

Example input

{
  "fences": {
    "geometry": {
      "coordinates": [
        [
          [
            7,
            52
          ],
          [
            7.01,
            52
          ],
          [
            7.01,
            52.01
          ],
          [
            7,
            52.01
          ],
          [
            7,
            52
          ]
        ]
      ],
      "type": "Polygon"
    },
    "id": "hof",
    "properties": {},
    "type": "Feature"
  },
  "points": [
    {
      "lat": 52.005,
      "lon": 6.995,
      "time": "2026-10-01T10:00:00Z"
    },
    {
      "lat": 52.005,
      "lon": 7.005,
      "time": "2026-10-01T10:01:00Z"
    }
  ]
}