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