Indonesia Public holidays API
Indonesian public holidays from Government joint ministerial decrees, served through the same key and JSON format as the world datasets.
Request and response
The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.
curl 'https://api.apifor.dev/v1/id/holidays' \
-G -d limit=1 \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "50f187ed-9fd8-52e1-847b-bd013f40bbfc",
"date": "2027-01-01",
"name": "Tahun Baru 2027 Masehi",
"type": "nasional",
"is_joint_leave": 0,
"description": null,
"source": "skb-3-menteri-2027",
"year": 2027,
"is_active": 1,
"created_at": "2026-10-23 08:41:56",
"updated_at": "2026-10-23 08:41:56"
}
]
}Fields
Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.
| Field | Type | Example |
|---|---|---|
| id | string | "50f187ed-9fd8-52e1-847b-bd013f40bbfc" |
| date | string (date) | "2027-01-01" |
| name | string | "Tahun Baru 2027 Masehi" |
| type | string | "nasional" |
| is_joint_leave | integer | 0 |
| description | nullable | null |
| source | string | "skb-3-menteri-2027" |
| year | integer | 2027 |
| is_active | integer | 1 |
| created_at | string | "2026-10-23 08:41:56" |
| updated_at | string | "2026-10-23 08:41:56" |
Filters and paging
Query parameters accepted by GET /v1/id/holidays. Full detail, including the single-record route, is in the endpoint reference.
| Parameter | Type | Rules |
|---|---|---|
| page | integer | min 1 · default 1 |
| limit | integer | 1 to 200 · default 50 |
| country | string | ISO 3166-1 alpha-2 |
| q | string | 2 to 100 chars |
| year | integer | 1900 to 2100 |