1. Indonesia
  2. Public holidays

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.

GET/v1/id/holidays
curl 'https://api.apifor.dev/v1/id/holidays' \
  -G -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "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.

FieldTypeExample
idstring"50f187ed-9fd8-52e1-847b-bd013f40bbfc"
datestring (date)"2027-01-01"
namestring"Tahun Baru 2027 Masehi"
typestring"nasional"
is_joint_leaveinteger0
descriptionnullablenull
sourcestring"skb-3-menteri-2027"
yearinteger2027
is_activeinteger1
created_atstring"2026-10-23 08:41:56"
updated_atstring"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.

ParameterTypeRules
pageintegermin 1 · default 1
limitinteger1 to 200 · default 50
countrystringISO 3166-1 alpha-2
qstring2 to 100 chars
yearinteger1900 to 2100