the402 endpoint detail

← All endpoints

api.geoprimitives.dev geometry difference

https://api.geoprimitives.dev/v1/geometry/difference

needs params

Cut holes out of a polygon: the buildable part of a parcel once setbacks are removed, the land outside a protected area, the part of a route not already covered. Order is significant, so this is the one overlay op where swapping the operands gives a different answer. Subtracting everything answers geojson:null with empty:true, a real answer rather than an error. Send a FeatureCollection of Polygon

Bazaar lists this endpoint, but when we called it we got HTTP 400 instead of a payment challenge.
Price
10000 atomic
Network
not established
Pay to
-
Spec dialect
-
Transport
-
HTTP method
POST
Response latency
7 ms
Payment options
0 usable of 0
Last checked
2026-09-06T01:13:20.757Z (37d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.geoprimitives.dev%2Fv1%2Fgeometry%2Fdifference"