the402 endpoint detail

← All endpoints

api.geoprimitives.dev geometry centroid

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

needs params

Find the area centroid of a polygon: a representative point for labelling, joining, or reverse geocoding a shape you only have a boundary for. It is the centre of mass of the area with holes subtracted, not the average of the vertices, so densely sampled edges do not drag it. Know what a centroid is not: on a concave or ring-shaped polygon the centre of mass can fall outside the polygon itself, an

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

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