GET /api/v1/cities/{slug}/holidays
Public holidays and school vacations per city (seed, public domain)
Returns public holidays and school vacations per federal state (resolved via entry.state) from the embedded seed data (data/seeds/) in the canonical envelope. No upstream, public domain. Disabled -> 200 source_status="disabled". No seed for the state -> 200 source_status="no_data".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/holidays"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/holidays");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/holidays")
res.raise_for_status()
print(res.json())