API Indonesia: Holidays & Prayer Times

Indonesian public holidays, cuti bersama and daily prayer times on your EmDash dashboard and site, from API Indonesia.

View source
Public name@apiindonesia.id/api-indonesia

Or 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/holidays and /_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.

  • Make network requests

    Connect to the publisher-declared external hosts.

    Allowed hosts

    • use.apiindonesia.id

Installation

  1. Install the plugin from the EmDash plugin registry in your site's admin.
  2. 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.
  3. 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.
  4. Set the 4-digit city or regency code for prayer times (for example 3171 for Jakarta Pusat or 6171 for Pontianak). The full list is at GET https://use.apiindonesia.id/api/v1/sholat/list-kota.
  5. 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.

Install on your site

Open in EmDash

API Indonesia: Holidays & Prayer Times

@apiindonesia.id/api-indonesia

Choose the EmDash site where you want to review this plugin. Nothing is installed until you confirm its permissions in that site's admin.

This browser will remember the site. You can change it next time.