GET /api/v1/cities/{slug}/post-offices
Post offices per city (OSM, Tier B)
Post offices (OSM amenity=post_office) with optional opening_hours/operator. Tier B (ODbL). Disabled -> 200 source_status="disabled".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/post-offices"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/post-offices");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/post-offices")
res.raise_for_status()
print(res.json())