API Indonesia: Holidays & Prayer Times
Indonesian public holidays, cuti bersama and daily prayer times on your EmDash dashboard and site, from API Indonesia.
@apiindonesia.id/api-indonesiaOr open Registry in your EmDash admin and search for this name.
Overview
Show Indonesian public holidays, cuti bersama (joint leave days) and today's prayer times in your EmDash admin dashboard, and serve the same data as JSON to your site templates.
Data comes from API Indonesia, a REST API for Indonesian public data from official sources. Holidays follow the SKB 3 Menteri decree. Prayer times cover all 514 cities and regencies.
What you get:
- A dashboard widget, "Indonesia today", with today's prayer times for your city and the next public holidays.
- Two public routes for your theme:
/_emdash/api/plugins/api-indonesia/holidaysand/_emdash/api/plugins/api-indonesia/prayer-times. - Responses are cached in plugin KV (holidays for up to 6 hours, prayer times per day), so visitors do not trigger a paid request on every page view.
The plugin only talks to use.apiindonesia.id and needs your own API Indonesia key.
Permissions
Plugins get only the capabilities they declare and you approve. Your EmDash admin lists these again before anything installs.
Installation
- Install the plugin from the EmDash plugin registry in your site's admin.
- Create an account at dashboard.apiindonesia.id. New accounts get a one-time 3,000 credit bonus, no card needed. A successful request costs 2 credits; failed requests are not charged.
- Create an API key in the dashboard and paste it into Plugins > API Indonesia in your EmDash admin. The key is stored as an encrypted secret setting.
- Set the 4-digit city or regency code for prayer times (for example
3171for Jakarta Pusat or6171for Pontianak). The full list is atGET https://use.apiindonesia.id/api/v1/sholat/list-kota. - Add the "Indonesia today" widget to your dashboard, or fetch the public routes from your templates.
Keep exploring
More plugins like API Indonesia: Holidays & Prayer Times
Browse by keyword, or see everything @apiindonesia.id publishes.