The administrative boundary of Chicago, a city in Cook County, Illinois, covering 607.2 km². Get its polygon in one call, as GeoJSON, KML, WKT, GML or SVG.
About 2.7 million people live in Chicago. Its 607 km² are 14% of Cook County.
Copy-paste calls for r122604. One unit each with a free key; the low-detail polygon also works without one.
curl "https://geocodeai.dev/v1/boundaries/r122604?detail=medium" \
-H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/boundaries/r122604/contains" \
-H "Authorization: Bearer $GEOCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"points":[[-87.67,41.8337]]}'Every format and detail level below needs a free API key. Get a free API key
https://geocodeai.dev/v1/boundaries/r122604.geojson?detail=mediumhttps://geocodeai.dev/v1/boundaries/r122604.kml?detail=mediumhttps://geocodeai.dev/v1/boundaries/r122604.wkt?detail=mediumhttps://geocodeai.dev/v1/boundaries/r122604.svg?detail=mediumhttps://geocodeai.dev/v1/boundaries/r122604.gml?detail=mediumEach export redirects to a permanent CDN file. Add ?detail=low|medium|high|full. Formats
Get the Chicago boundary (r122604) 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?