the402 endpoint detail

← All endpoints

api.geoprimitives.dev geojson repair

https://api.geoprimitives.dev/v1/geojson/repair

needs params

Repair GeoJSON and get the fixed document back with a log of every alteration: rings rewound to RFC 7946 winding order, consecutive duplicate vertices dropped, unclosed rings closed, and polygon nesting fixed (mis-ordered exterior rings, holes that fall outside their exterior, MultiPolygon members that are really holes). Reach for it when POST /v1/geojson/validate reported errors, or when /v1/geom

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
10 ms
Payment options
0 usable of 0
Last checked
2026-09-06T01:13:21.251Z (37d ago)
Category
other

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