the402 endpoint detail

← All endpoints

api.geoprimitives.dev v1 pip

https://api.geoprimitives.dev/v1/pip

needs params

Answer which of your points fall inside which of your polygons, in one call. Use it to tag events with the district, catchment or territory they belong to, to filter a point set down to a study area, or to join two datasets that share nothing but geography. The answer comes back twice, as a dense 0/1 matrix and as a per-point list of polygon indices, so neither shape needs rebuilding on your side,

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

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