GET /api/holidays
List holidays
Public holidays and collective leave days for a year. Filter by month or type.
| year | integer | Four-digit year. Required. |
| month | integer | 1 to 12. |
| type | string | holiday or leave. Leave it out for both. |
Example
GET /api/holidays?year=2026&month=1
{
"success": true,
"data": [
{ "date": "2026-01-01", "day": "Kamis", "name": "Tahun Baru 2026 Masehi", "type": "holiday" }
],
"meta": { "total": 1, "total_holidays": 1, "year": 2026, "month": 1 }
}