Holidays and business days
Holidays as an iCalendar feed
Subscribable calendar (RFC 5545): one all-day event per holiday. Estimated dates are TENTATIVE and keep the same UID, so subscribed calendars move them when the official date is announced. A free public feed of national holidays is also available without a key at https://africacompliancedata.com/calendar/{country}.ics (country code in either case).
get/v1/countries/{country}/holidays.ics
Request
- Base URL: https://api.africacompliancedata.com
- URL: https://api.africacompliancedata.com/v1/countries/{country}/holidays.ics
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
countrystring required
ISO 3166-1 alpha-2 code, e.g. KE, NG, ZA.
Query parameters
frominteger
First year (default 2025).
tointeger
Last year (default 2030).
include_religious_scopesboolean
Response
iCalendar file
Changes
No recorded changes to this operation across all 1 revision of this API.