Delivery & service zones
Most delivery zones are a list of places: these cities, those postcodes, not that district. Draw them from the official boundaries instead of by hand, and check every order against the same polygons.
Search boundaries by name and keep the ids, or describe the zone in a sentence and let Areas compose it.
Fetch GeoJSON at the detail you need and keep it in your database, or keep calling us: cached boundaries are fast.
Send up to thousands of points in one contains call and get a yes/no per point, or reverse-geocode a point to every boundary around it.
Copy-paste examples. Search is free; the rest needs a free API key.
curl "https://geo-coder-service.vercel.app/v1/boundaries/search?q=Brooklyn"curl "https://geo-coder-service.vercel.app/v1/boundaries/reverse?lat=40.6782&lon=-73.9442" \ -H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geo-coder-service.vercel.app/v1/areas" \ -H "Authorization: Bearer $GEOCODE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"text":"Brooklyn and Queens, excluding Red Hook","country":"US"}'