Third-party apps
Prayer times
A masjid's prayer and jumu'ah times in its own timezone: wall-clock times, never converted to UTC.
Right on the key: Prayer times: read.
Today's prayer times
GET/v1/masjids/{id}/prayer-times
The prayer times of the current date in the masjid's timezone: wall-clock times, never converted to UTC.
Parameters
idstring · pathrequiredThe masjid id,
msj_…, as search, nearby or a previous read gave it.
Returns
Today's prayer times.
objectprayer_timesAlways
prayer_times.masjidstringThe masjid id.
datestring · YYYY-MM-DDThe day, YYYY-MM-DD, in the masjid's timezone.
hijriobjectoptionalThe day in the Hijri calendar, as the masjid dates it (its own Hijri setting, else its country's). Absent when Masjidbox has no Hijri date for the day.
Show child attributes (3)
yearintegerThe Hijri year.
monthintegerThe Hijri month, 1 (Muharram) to 12.
dayintegerThe day of the Hijri month, 1 to 30.
sunrisestring · HH:mmSunrise, HH:MM: not a prayer, the end of the fajr window.
prayersobjectThe five prayers.
Show child attributes (15)
fajrobjectThe fajr prayer.
fajr.athanstring · HH:mmThe fajr athan, HH:MM in the masjid's timezone.
fajr.iqamahstring · HH:mm | nullThe fajr iqamah; null when the masjid supplies none, always for calculated times.
dhuhrobjectThe dhuhr prayer.
dhuhr.athanstring · HH:mmThe dhuhr athan, HH:MM in the masjid's timezone.
dhuhr.iqamahstring · HH:mm | nullThe dhuhr iqamah; null when the masjid supplies none, always for calculated times.
asrobjectThe asr prayer.
asr.athanstring · HH:mmThe asr athan, HH:MM in the masjid's timezone.
asr.iqamahstring · HH:mm | nullThe asr iqamah; null when the masjid supplies none, always for calculated times.
maghribobjectThe maghrib prayer.
maghrib.athanstring · HH:mmThe maghrib athan, HH:MM in the masjid's timezone.
maghrib.iqamahstring · HH:mm | nullThe maghrib iqamah; null when the masjid supplies none, always for calculated times.
ishaobjectThe isha prayer.
isha.athanstring · HH:mmThe isha athan, HH:MM in the masjid's timezone.
isha.iqamahstring · HH:mm | nullThe isha iqamah; null when the masjid supplies none, always for calculated times.
jumuahstring[] | nullThe jumu'ah times on a Friday the masjid supplies them; null on other days.
timezonestringThe masjid's IANA timezone.
sourceobjectWhere the times come from.
Show child attributes (2)
typemasjid | calculatedSupplied or managed by the masjid, or calculated by Masjidbox.
statusfresh | staleMasjidbox's assessment of the underlying data; a
calculatedtimetable is alwaysfresh.
linksobjectThe masjid's links for these times.
Show child attributes (1)
reportstringWhere a user reports an error in this masjid's times. Always present: the page takes the report, or invites the masjid to claim its page when nobody manages it yet. Link a "Report an error" next to the attribution. To preselect the form, append any of
?prayer=&kind=&day=to the link:prayeris one offajr,dhuhr,asr,maghrib,isha,jumuahorother;kindisathanoriqamah;dayis the day the time is wrong,YYYY-MM-DD, from a week before the masjid's today to 30 days after.
curl "https://hub.masjidbox.com/v1/masjids/msj_abc123defg/prayer-times" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"date": "2026-10-09",
"hijri": {
"day": 17,
"month": 4,
"year": 1448
},
"jumuah": [
"13:00",
"14:00"
],
"prayers": {
"asr": {
"athan": "16:02",
"iqamah": "16:30"
},
"dhuhr": {
"athan": "12:52",
"iqamah": "13:30"
},
"fajr": {
"athan": "05:31",
"iqamah": "06:00"
},
"isha": {
"athan": "20:01",
"iqamah": "20:30"
},
"maghrib": {
"athan": "18:32",
"iqamah": "18:37"
}
},
"sunrise": "07:12",
"masjid": "msj_abc123defg",
"object": "prayer_times",
"links": {
"report": "https://hub.masjidbox.com/report/msj_abc123defg"
},
"source": {
"status": "fresh",
"type": "masjid"
},
"timezone": "Europe/London"
}This week of prayer times
GET/v1/masjids/{id}/prayer-times/weekly
Today to today + 6 days, rolling, in the masjid's timezone. No date parameter.
Parameters
idstring · pathrequiredThe masjid id,
msj_…, as search, nearby or a previous read gave it.
Returns
Seven days of prayer times.
objectprayer_times_scheduleAlways
prayer_times_schedule.masjidstringThe masjid id.
timezonestringThe masjid's IANA timezone.
periodobjectThe days covered.
Show child attributes (2)
startstring · YYYY-MM-DDThe first day.
endstring · YYYY-MM-DDThe last day, included.
dataobject[]The days, in order.
Show child attributes (23)
datestring · YYYY-MM-DDThe day, YYYY-MM-DD, in the masjid's timezone.
hijriobjectoptionalThe day in the Hijri calendar, as the masjid dates it (its own Hijri setting, else its country's). Absent when Masjidbox has no Hijri date for the day.
hijri.yearintegerThe Hijri year.
hijri.monthintegerThe Hijri month, 1 (Muharram) to 12.
hijri.dayintegerThe day of the Hijri month, 1 to 30.
sunrisestring · HH:mmSunrise, HH:MM: not a prayer, the end of the fajr window.
prayersobjectThe five prayers.
prayers.fajrobjectThe fajr prayer.
prayers.fajr.athanstring · HH:mmThe fajr athan, HH:MM in the masjid's timezone.
prayers.fajr.iqamahstring · HH:mm | nullThe fajr iqamah; null when the masjid supplies none, always for calculated times.
prayers.dhuhrobjectThe dhuhr prayer.
prayers.dhuhr.athanstring · HH:mmThe dhuhr athan, HH:MM in the masjid's timezone.
prayers.dhuhr.iqamahstring · HH:mm | nullThe dhuhr iqamah; null when the masjid supplies none, always for calculated times.
prayers.asrobjectThe asr prayer.
prayers.asr.athanstring · HH:mmThe asr athan, HH:MM in the masjid's timezone.
prayers.asr.iqamahstring · HH:mm | nullThe asr iqamah; null when the masjid supplies none, always for calculated times.
prayers.maghribobjectThe maghrib prayer.
prayers.maghrib.athanstring · HH:mmThe maghrib athan, HH:MM in the masjid's timezone.
prayers.maghrib.iqamahstring · HH:mm | nullThe maghrib iqamah; null when the masjid supplies none, always for calculated times.
prayers.ishaobjectThe isha prayer.
prayers.isha.athanstring · HH:mmThe isha athan, HH:MM in the masjid's timezone.
prayers.isha.iqamahstring · HH:mm | nullThe isha iqamah; null when the masjid supplies none, always for calculated times.
jumuahstring[] | nullThe jumu'ah times on a Friday the masjid supplies them; null on other days.
sourceobjectWhere the times come from.
Show child attributes (2)
typemasjid | calculatedSupplied or managed by the masjid, or calculated by Masjidbox.
statusfresh | staleMasjidbox's assessment of the underlying data; a
calculatedtimetable is alwaysfresh.
linksobjectThe masjid's links for these times.
Show child attributes (1)
reportstringWhere a user reports an error in this masjid's times. Always present: the page takes the report, or invites the masjid to claim its page when nobody manages it yet. Link a "Report an error" next to the attribution. To preselect the form, append any of
?prayer=&kind=&day=to the link:prayeris one offajr,dhuhr,asr,maghrib,isha,jumuahorother;kindisathanoriqamah;dayis the day the time is wrong,YYYY-MM-DD, from a week before the masjid's today to 30 days after.
curl "https://hub.masjidbox.com/v1/masjids/msj_abc123defg/prayer-times/weekly" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"date": "2026-10-09",
"hijri": {
"day": 17,
"month": 4,
"year": 1448
},
"jumuah": [
"13:00",
"14:00"
],
"prayers": {
"asr": {
"athan": "16:02",
"iqamah": "16:30"
},
"dhuhr": {
"athan": "12:52",
"iqamah": "13:30"
},
"fajr": {
"athan": "05:31",
"iqamah": "06:00"
},
"isha": {
"athan": "20:01",
"iqamah": "20:30"
},
"maghrib": {
"athan": "18:32",
"iqamah": "18:37"
}
},
"sunrise": "07:12"
}
],
"masjid": "msj_abc123defg",
"object": "prayer_times_schedule",
"period": {
"end": "2026-10-15",
"start": "2026-10-09"
},
"links": {
"report": "https://hub.masjidbox.com/report/msj_abc123defg"
},
"source": {
"status": "fresh",
"type": "masjid"
},
"timezone": "Europe/London"
}A month of prayer times
GET/v1/masjids/{id}/prayer-times/monthly
The current month, or the next one (on March 30, next is April). No arbitrary month, year or range.
Parameters
idstring · pathrequiredThe masjid id,
msj_…, as search, nearby or a previous read gave it.monthcurrent | next · queryWhich month:
current(the default) ornext.
Returns
The days of the month.
objectprayer_times_scheduleAlways
prayer_times_schedule.masjidstringThe masjid id.
timezonestringThe masjid's IANA timezone.
periodobjectThe days covered.
Show child attributes (2)
startstring · YYYY-MM-DDThe first day.
endstring · YYYY-MM-DDThe last day, included.
dataobject[]The days, in order.
Show child attributes (23)
datestring · YYYY-MM-DDThe day, YYYY-MM-DD, in the masjid's timezone.
hijriobjectoptionalThe day in the Hijri calendar, as the masjid dates it (its own Hijri setting, else its country's). Absent when Masjidbox has no Hijri date for the day.
hijri.yearintegerThe Hijri year.
hijri.monthintegerThe Hijri month, 1 (Muharram) to 12.
hijri.dayintegerThe day of the Hijri month, 1 to 30.
sunrisestring · HH:mmSunrise, HH:MM: not a prayer, the end of the fajr window.
prayersobjectThe five prayers.
prayers.fajrobjectThe fajr prayer.
prayers.fajr.athanstring · HH:mmThe fajr athan, HH:MM in the masjid's timezone.
prayers.fajr.iqamahstring · HH:mm | nullThe fajr iqamah; null when the masjid supplies none, always for calculated times.
prayers.dhuhrobjectThe dhuhr prayer.
prayers.dhuhr.athanstring · HH:mmThe dhuhr athan, HH:MM in the masjid's timezone.
prayers.dhuhr.iqamahstring · HH:mm | nullThe dhuhr iqamah; null when the masjid supplies none, always for calculated times.
prayers.asrobjectThe asr prayer.
prayers.asr.athanstring · HH:mmThe asr athan, HH:MM in the masjid's timezone.
prayers.asr.iqamahstring · HH:mm | nullThe asr iqamah; null when the masjid supplies none, always for calculated times.
prayers.maghribobjectThe maghrib prayer.
prayers.maghrib.athanstring · HH:mmThe maghrib athan, HH:MM in the masjid's timezone.
prayers.maghrib.iqamahstring · HH:mm | nullThe maghrib iqamah; null when the masjid supplies none, always for calculated times.
prayers.ishaobjectThe isha prayer.
prayers.isha.athanstring · HH:mmThe isha athan, HH:MM in the masjid's timezone.
prayers.isha.iqamahstring · HH:mm | nullThe isha iqamah; null when the masjid supplies none, always for calculated times.
jumuahstring[] | nullThe jumu'ah times on a Friday the masjid supplies them; null on other days.
sourceobjectWhere the times come from.
Show child attributes (2)
typemasjid | calculatedSupplied or managed by the masjid, or calculated by Masjidbox.
statusfresh | staleMasjidbox's assessment of the underlying data; a
calculatedtimetable is alwaysfresh.
linksobjectThe masjid's links for these times.
Show child attributes (1)
reportstringWhere a user reports an error in this masjid's times. Always present: the page takes the report, or invites the masjid to claim its page when nobody manages it yet. Link a "Report an error" next to the attribution. To preselect the form, append any of
?prayer=&kind=&day=to the link:prayeris one offajr,dhuhr,asr,maghrib,isha,jumuahorother;kindisathanoriqamah;dayis the day the time is wrong,YYYY-MM-DD, from a week before the masjid's today to 30 days after.
curl "https://hub.masjidbox.com/v1/masjids/msj_abc123defg/prayer-times/monthly" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"date": "2026-10-09",
"hijri": {
"day": 17,
"month": 4,
"year": 1448
},
"jumuah": [
"13:00",
"14:00"
],
"prayers": {
"asr": {
"athan": "16:02",
"iqamah": "16:30"
},
"dhuhr": {
"athan": "12:52",
"iqamah": "13:30"
},
"fajr": {
"athan": "05:31",
"iqamah": "06:00"
},
"isha": {
"athan": "20:01",
"iqamah": "20:30"
},
"maghrib": {
"athan": "18:32",
"iqamah": "18:37"
}
},
"sunrise": "07:12"
}
],
"masjid": "msj_abc123defg",
"object": "prayer_times_schedule",
"period": {
"end": "2026-10-15",
"start": "2026-10-09"
},
"links": {
"report": "https://hub.masjidbox.com/report/msj_abc123defg"
},
"source": {
"status": "fresh",
"type": "masjid"
},
"timezone": "Europe/London"
}The next jumu'ah services
GET/v1/masjids/{id}/jumuah-times
The jumu'ah services of the next Friday in the masjid's timezone (today when today is Friday). times is null when the masjid supplies none.
Parameters
idstring · pathrequiredThe masjid id,
msj_…, as search, nearby or a previous read gave it.
Returns
The next Friday's services.
objectjumuah_timesAlways
jumuah_times.masjidstringThe masjid id.
datestring · YYYY-MM-DDThe Friday, in the masjid's timezone.
timezonestringThe masjid's IANA timezone.
timesobject[] | nullThe services, in order; null when the masjid supplies none.
Show child attributes (1)
timestring · HH:mmA service, HH:MM.
sourceobjectWhere the times come from.
Show child attributes (2)
typemasjid | calculatedSupplied or managed by the masjid, or calculated by Masjidbox.
statusfresh | staleMasjidbox's assessment of the underlying data; a
calculatedtimetable is alwaysfresh.
linksobjectThe masjid's links for these times.
Show child attributes (1)
reportstringWhere a user reports an error in this masjid's times. Always present: the page takes the report, or invites the masjid to claim its page when nobody manages it yet. Link a "Report an error" next to the attribution. To preselect the form, append any of
?prayer=&kind=&day=to the link:prayeris one offajr,dhuhr,asr,maghrib,isha,jumuahorother;kindisathanoriqamah;dayis the day the time is wrong,YYYY-MM-DD, from a week before the masjid's today to 30 days after.
curl "https://hub.masjidbox.com/v1/masjids/msj_abc123defg/jumuah-times" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"date": "2026-10-09",
"masjid": "msj_abc123defg",
"object": "jumuah_times",
"links": {
"report": "https://hub.masjidbox.com/report/msj_abc123defg"
},
"source": {
"status": "fresh",
"type": "masjid"
},
"times": [
{
"time": "13:00"
},
{
"time": "14:00"
}
],
"timezone": "Europe/London"
}