# Global Holidays

Every public holiday in one country-year — local and English names, which are nation-wide, which are per-province — for about 110 countries.

- Method: `GET`
- Path: `/v1/calendar/holidays/{country}`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `country` | path segment | required | Two-letter country code, e.g. `ID`, `US`, `DE`. |
| `year` | integer | optional | The year to look up, `1975`-`2100`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/calendar/holidays/%7Bcountry%7D \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "country": "ID",
    "year": 2026,
    "total": 8,
    "holidays": [
      { "date": "2026-01-01", "local_name": "Tahun Baru Masehi", "name": "New Year's Day", "global": true, "counties": null, "types": ["Public"] },
      { "date": "2026-04-03", "local_name": "Wafat Isa Almasih", "name": "Good Friday", "global": true, "counties": null, "types": ["Public"] },
      { "date": "2026-04-05", "local_name": "Paskah", "name": "Easter Sunday", "global": true, "counties": null, "types": ["Public"] }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-20T04:05:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-21T04:05:00.000Z"
  }
}
```