geo.halowerk.com/v1/gpx-track-distance-markers
GPX equal-distance markers split the recorded track into a chosen number of intervals. Use it when an agent needs a compact set of regularly spaced waypoints.
POST
https://geo.halowerk.com/v1/gpx-track-distance-markersUptime100% of 1 check 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://geo.halowerk.com/v1/gpx-track-distance-markers", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"gpx":"<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" version=\"1.1\" creator=\"HALOWERK\"><trk><trkseg><trkpt lat=\"52.5163\" lon=\"13.3777\"/><trkpt lat=\"52.5186\" lon=\"13.3762\"/><trkpt lat=\"52.5187\" lon=\"13.3694\"/></trkseg></trk></gpx>","intervals":2}),
});
console.log(await res.json());Example input
{
"gpx": "<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" version=\"1.1\" creator=\"HALOWERK\"><trk><trkseg><trkpt lat=\"52.5163\" lon=\"13.3777\"/><trkpt lat=\"52.5186\" lon=\"13.3762\"/><trkpt lat=\"52.5187\" lon=\"13.3694\"/></trkseg></trk></gpx>",
"intervals": 2
}