{"openapi":"3.1.0","info":{"title":"Agent Data Hub: Public holidays","version":"1.0.0","description":"Public holidays per country and region, years 2026 to 2028. No API key. Every answer names source and licence. Full API: https://api.agentdatahub.de/openapi.json","termsOfService":"https://api.agentdatahub.de/nutzungsbedingungen"},"servers":[{"url":"https://api.agentdatahub.de"}],"paths":{"/api/v1/holidays/{cc}/{year}":{"get":{"operationId":"holidays","summary":"Public holidays of a country (and region) in one year","parameters":[{"name":"cc","in":"path","required":true,"schema":{"type":"string","enum":["DE","AT","FR","IE"]},"description":"ISO-2 country code"},{"name":"year","in":"path","required":true,"schema":{"type":"integer","enum":[2026,2027,2028]},"description":"Year"},{"name":"region","in":"query","required":false,"schema":{"type":"string"},"description":"Region code or name, e.g. BY"}],"responses":{"200":{"description":"Holidays with date, name and regions, source and licence","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Unknown region; the answer lists the valid ones"},"404":{"description":"Unknown code; the answer lists the valid ones"}}}}}}