The administrative boundary of Hampden County, a county in Massachusetts, the United States, covering 1,642.4 km². Get its polygon in one call, as GeoJSON, KML, WKT, GML or SVG.
About 471,000 people live in Hampden County. Its 1,642 km² are 6% of Massachusetts.
Copy-paste calls for r1181619. One unit each with a free key; the low-detail polygon also works without one.
curl "https://geocodeai.dev/v1/boundaries/r1181619?detail=medium" \
-H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/boundaries/r1181619/contains" \
-H "Authorization: Bearer $GEOCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"points":[[-72.6326,42.1751]]}'Every format and detail level below needs a free API key. Get a free API key
https://geocodeai.dev/v1/boundaries/r1181619.geojson?detail=mediumhttps://geocodeai.dev/v1/boundaries/r1181619.kml?detail=mediumhttps://geocodeai.dev/v1/boundaries/r1181619.wkt?detail=mediumhttps://geocodeai.dev/v1/boundaries/r1181619.svg?detail=mediumhttps://geocodeai.dev/v1/boundaries/r1181619.gml?detail=mediumEach export redirects to a permanent CDN file. Add ?detail=low|medium|high|full. Formats
Get the Hampden County boundary (r1181619) from Geocode AI as GeoJSON and tell me which of my locations are inside it.With the MCP server or the Claude and Codex plugins.
Boundary data © OpenStreetMap contributors, ODbL. Need several boundaries as one zone, or a zone written in words?