กรุงเทพมหานคร
The administrative boundary of Bangkok, a state in Thailand, covering 1,643.6 km². Get its polygon in one call, as GeoJSON, KML, WKT, GML or SVG.
Copy-paste calls for r92277. One unit each with a free key; the low-detail polygon also works without one.
curl "https://geocodeai.dev/v1/boundaries/r92277?detail=medium" \ -H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/boundaries/r92277/contains" \ -H "Authorization: Bearer $GEOCODE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"points":[[100.4157,13.5872]]}'https://geocodeai.dev/v1/boundaries/r92277.geojson?detail=mediumhttps://geocodeai.dev/v1/boundaries/r92277.kml?detail=mediumhttps://geocodeai.dev/v1/boundaries/r92277.wkt?detail=mediumhttps://geocodeai.dev/v1/boundaries/r92277.svg?detail=mediumhttps://geocodeai.dev/v1/boundaries/r92277.gml?detail=mediumEach export redirects to a permanent CDN file. Add ?detail=low|medium|high|full. Formats
Get the Bangkok boundary (r92277) 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?