Municipality

Resolve a German municipality (AGS) from WGS84 coordinates

Reverse-geocodes a lat/lon pair via OpenStreetMap Nominatim to a German Amtlicher Gemeindeschlüssel (AGS), then joins it against the same Destatis GV100 profile as GET /municipality/lookup. found:false means the coordinates do not fall inside a German municipality boundary known to Nominatim (e.g. outside Germany, or open water). Live external call — not cached; the public Nominatim instance is rate-limited to ~1 request/second, set NOMINATIM_ENDPOINT for a private mirror under sustained load.

get/api/municipality/reverse-geocode

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/municipality/reverse-geocode
  • Auth: none declared

Query parameters

latnumber required
Example:49.3183
lonnumber required
Example:8.5495
tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Response

Municipality profile resolved from coordinates (found:false if unresolved)

foundboolean
namestring nullable
agsstring nullable
statestring nullable
postalCodestring nullable
populationinteger nullable
areaSqKmnumber nullable
sourceStatusstring

Changes

No recorded changes to this operation across all 2 revisions of this API.