GET /api/v1/cities/{slug}/geo
Administrative boundary per city (BKG VG250, Tier A)
Returns the attribute data of a city's administrative boundary (AGS, municipality name, area) from the offline-prepared BKG VG250 snapshot in the canonical envelope. Attribution verbatim "(c) GeoBasis-DE / BKG". Disabled -> 200 source_status="disabled". Snapshot not yet built -> 200 source_status="not_ingested".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/geo"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/geo");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/geo")
res.raise_for_status()
print(res.json())