The administrative boundary of New York, a state in the United States, covering 141,295.9 km². Get its polygon in one call, as GeoJSON, KML, WKT, GML or SVG.
About 20.2 million people live in New York. Its 141,296 km² are 1.4% of the United States. Geocode AI lists 37 counties inside New York.
Copy-paste calls for r61320. One unit each with a free key; the low-detail polygon also works without one.
curl "https://geocodeai.dev/v1/boundaries/r61320?detail=medium" \
-H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/boundaries/r61320/contains" \
-H "Authorization: Bearer $GEOCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"points":[[-76.2152,42.7466]]}'Every format and detail level below needs a free API key. Get a free API key
https://geocodeai.dev/v1/boundaries/r61320.geojson?detail=mediumhttps://geocodeai.dev/v1/boundaries/r61320.kml?detail=mediumhttps://geocodeai.dev/v1/boundaries/r61320.wkt?detail=mediumhttps://geocodeai.dev/v1/boundaries/r61320.svg?detail=mediumhttps://geocodeai.dev/v1/boundaries/r61320.gml?detail=mediumEach export redirects to a permanent CDN file. Add ?detail=low|medium|high|full. Formats
Get the New York boundary (r61320) 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?