MABIMS Calendar API for Indonesia
Integrate the MABIMS Hijri calendar into your website or app. Single endpoint, no authentication, official Kemenag data.
Don't Use the Wrong Hijri Calendar
Almost all Hijri calendar APIs use Umm al-Qura (Saudi) as default. That calendar follows Saudi authority, not Indonesia's official Kemenag decision. The result? Your app's dates can be ยฑ1 day off from local moon sighting.
In 2024โ2026 alone, there are 418 days that differ from Umm al-Qura.
See for Yourself
On the surface all Hijri APIs look the same. The difference shows on important days: fasting start, Eid al-Fitr, 1 Muharram.
| MABIMS | Umm al-Qura | Turkey Global | |
|---|---|---|---|
| Source | Kemenag RI | Saudi Government | Turkish Government |
| Method | Neo MABIMS rukyah | Saudi rukyah | Pure astronomy |
| Accuracy for Indonesia | โ Official | ยฑ1 day | ยฑ1 day |
| Regional Coverage | ID, MY, SG | Saudi Arabia | Global non-specific |
| Beyond Table Coverage | Neo MABIMS computation | Umm al-Qura computation | Pure astronomy |
| Authentication | Not required | Provider-dependent | Provider-dependent |
Time to Switch to MABIMS
No API key, no registration. All you change is the data source.
Official Kemenag Data
Uses the official calendar table from Indonesia's Ministry of Religious Affairs, not Saudi authority.
No Authentication
Just call the endpoint. No API key needed, no registration required.
Wide Coverage
Table data for 2024โ2026, forward computation up to 2053.
Open Source
Source code on GitHub. Transparent, verifiable, contributions always welcome.
Timezone-Aware
Supports all IANA timezones. Defaults to Asia/Jakarta, overridable.
Smart Fallback
Beyond table coverage, computes using Neo MABIMS criteria (moon โฅ 3ยฐ, elongation โฅ 6.4ยฐ).

Hilal Visualization
Not just data โ we also present hilal visibility imagery. The /hilal/viz endpoint renders a 720ร1280 sky chart for the sighting evening: moon position, crescent orientation facing the sun, verdict (VISIBLE / NOT VISIBLE), and criteria table.
Everything is computed using MABIMS criteria at Sabang's coordinates, to estimate what the Indonesian government may announce.
/api/v1/hilal/viz?month=1&year=1448Built for Developers
Clean REST API, consistent JSON responses, full documentation.
/todayToday's Hijri date/today/{date}Specific date (CDN-cacheable)/convertSingle date conversion (both directions)/rangeBulk conversion (โค400 days)/monthMonthly calendar grid/eventsIslamic holidays (Ramadan, Eid al-Fitr/Adha, etc.)/hilal/infoHilal visibility: criteria data/hilal/viz720ร1280 sky chart PNG/metaData coverage & status infoGet Started in 1 Minute
No registration needed. Just call this endpoint:
curl "https://api.mabims.dev/api/v1/today"