For developers
Prayer times API and calendar feed
Building an app, a screen or a website for a mosque on Iqamly? Read its prayer times straight from Iqamly, so they're always the ones the mosque has published. No key or sign-up needed.
Times as JSON
For mosques on Iqamly Premium. Find the mosque's address name (its “slug”) in its website link, e.g. /m/an-noor.
GET https://iqamly.vercel.app/api/v1/m/{slug}/times?days=7days- How many days, 1 to 31. Default 7.
from- First day, as
YYYY-MM-DD. Default today (in the mosque's time zone). Up to a month back or a year ahead.
Example response:
{
"mosque": {
"name": "Masjid An-Noor",
"slug": "an-noor",
"timezone": "Europe/London",
"address": "14 Grove Road, Leeds, LS6 2AA",
"website": "https://iqamly.vercel.app/m/an-noor"
},
"days": [
{
"date": "2026-11-13",
"weekday": "Friday",
"start": { "fajr": "05:52", "sunrise": "07:24", "dhuhr": "12:05",
"asr": "14:03", "maghrib": "16:23", "isha": "17:59" },
"iqamah": { "fajr": "06:30", "dhuhr": "12:45", "asr": "14:30",
"maghrib": "16:28", "isha": "19:30" },
"jumuah": ["13:00", "13:45"],
"ramadan": null
}
],
"attribution": "Times from Masjid An-Noor, via Iqamly (https://iqamly.vercel.app/m/an-noor)",
"generated_at": "2026-11-13T09:00:00.000Z"
}- Times are
HH:MMon a 24-hour clock, in the mosque's own time zone. - A time is
nullwhen the mosque hasn't set it. Show the start time when there's no iqamah. jumuahlists Friday prayer times on Fridays and is empty on other days.ramadanhas the day of Ramadan, when suhoor ends and iftar, on days of the mosque's Ramadan.- Works from a web page in any browser (CORS is open). Read-only: it only returns what the mosque's website already shows.
const res = await fetch("https://iqamly.vercel.app/api/v1/m/an-noor/times?days=1");
const { days } = await res.json();
console.log("Asr iqamah today:", days[0].iqamah.asr ?? days[0].start.asr);Errors and limits
404 not_found: no mosque with that slug.403 not_on_plan: the mosque isn't on Premium.400 bad_request:daysorfromisn't valid.429 rate_limited: more than 60 requests a minute. Wait for the seconds inRetry-After.
Responses are cached for a few minutes. Times rarely change during the day, so fetch once an hour, or once a day for a screen, and keep the last good copy in case you're offline.
Calendar feed
Every mosque on Iqamly, on any plan, has a calendar people can subscribe to in iPhone, Google or Outlook calendars:
https://iqamly.vercel.app/m/{slug}/calendar.icsOptions: type=start for start times instead of iqamah, p=fajr,isha for some prayers only, jumuah=0, ramadan=0, and alert=10 for an alert 10 minutes before (5, 10, 15 or 30). Each mosque's website has a page that builds this link for you, at /m/{slug}/calendar.
Please
Show where the times come from (the attribution line is ready to use), and don't change them. Questions: iqamlyapp@gmail.com.