Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/geo/polygon

Measure a GeoJSON Polygon / MultiPolygon / Feature (or a simple 'lat,lon; lat,lon; …' list): geodesic area in m², km², hectares, acres and square miles (holes subtracted), perimeter in m / km / miles, centroid, bounding box and vertex count — and test up to 500 points for inside / outside (geofencing, delivery zones, land parcels). Pure function, instant.

BasePolygonSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/geo/polygon

Uptime100% 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

// 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://agents.204-168-199-108.sslip.io/v1/geo/polygon?points=40.7812%2C-73.9665%3B+40.7580%2C-73.9855&polygon=40.7681%2C-73.9819%3B+40.8006%2C-73.9580%3B+40.7968%2C-73.9490%3B+40.7644%2C-73.9730");
console.log(await res.json());

Example input

{
  "points": "40.7812,-73.9665; 40.7580,-73.9855",
  "polygon": "40.7681,-73.9819; 40.8006,-73.9580; 40.7968,-73.9490; 40.7644,-73.9730"
}