GET /api/v1/cities
List all known cities
Lists the entries of the city register: 84 German cities with more than 100,000 inhabitants, 28 of them core cities with full source coverage. Each entry carries the slug you use as the {slug} path parameter in all other endpoints.
Parameters
This endpoint takes no parameters.
Code samples
curl "https://infranode.dev/api/v1/cities"const res = await fetch("https://infranode.dev/api/v1/cities");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities")
res.raise_for_status()
print(res.json())