Holidays and business days

Public holidays of a year

National holidays with status: rule, confirmed, estimated (moon-sighted, replaced by the official date once announced), observed (weekend substitute) or bridge.

get/v1/countries/{country}/holidays

Request

  • Base URL: https://api.africacompliancedata.com
  • URL: https://api.africacompliancedata.com/v1/countries/{country}/holidays
  • 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

yearinteger required
include_religious_scopesboolean

Also return holidays limited to one group (a faith, women, the public sector).

Response

Holidays

countrystring required
country_namestring
coverage'ready' | 'partial' | 'gap' required
warningstring

When coverage is partial or gap, the year's holiday list is incomplete, or no value can be given

sourcesobject required
dataset_versionstring required
disclaimerstring required
yearinteger
weekendinteger[]
weekend_rulestring
notesstring[]
announcementsobject nullable

Who announces moon-sighted and ad-hoc holidays, and where

Changes

No recorded changes to this operation across all 1 revision of this API.