Introduction
The House Muslim public API — a self-hosted Islamic Time Engine plus Qur'an, dua and daily content, computed locally and served as a clean REST API.
House Muslim exposes a public, read-only REST API powering prayer times, Qibla, the Hijri calendar, Ramadan, the Qur'an, dua, and daily content. Everything is computed locally by a self-hosted Islamic Time Engine — there are no third-party prayer APIs behind it.
Base URL
https://api.housemuslim.org/api/v1All endpoints documented here are public (no authentication) unless noted.
Response envelope
Every response is wrapped in a consistent envelope:
{
"success": true,
"data": { "...": "..." },
"meta": { "trace_id": "01c13f05-8cb2-4bd0-91ff-eac6665b3181" }
}On error, success is false and an error object describes the problem
(details lists the offending fields when relevant):
{
"success": false,
"error": {
"code": "VALIDATION",
"message": "lat harus antara -90 dan 90",
"details": [{ "field": "lat", "rule": "range" }]
},
"meta": { "trace_id": "a964a54b-c36c-432e-9876-5fa9d48f5afc" }
}Common status codes: 200 OK, 304 Not Modified (ETag), 422 validation,
429 rate limited.
Quick start
Get today's prayer times for any coordinates — timezone is detected automatically:
curl "https://api.housemuslim.org/api/v1/prayer/times?lat=-6.20&lng=106.85"What's available
| Group | Endpoints |
|---|---|
| Prayer Times | /prayer/times, /prayer/times/month |
| Qibla | /prayer/qibla |
| Hijri | /hijri/convert |
| Calendar | /calendar/islamic |
| Events | /events |
| Ramadan | /ramadan, /ramadan/schedule, /fasting/ramadan |
| Qur'an | /quran/* |
| Content | /dua/*, /asmaul-husna/*, /daily/*, /adhan |
| System | /version, /healthz, /readyz, /billing/plans |
Principles
100% local
Astronomy and mathematics only — accurate for every location on earth.
Deterministic
Same input → same output. Responses are cacheable with ETag and 24h TTL.
Accurate
ΔT-corrected, Meeus high-precision option, validated to under a minute.
Global
18+ calculation methods, high-latitude rules, lat/lng → timezone resolution.