All integrations
AlAdhan logo

AlAdhan

CalendarsMisc References

Islamic prayer times, the Hijri calendar and the Qibla, from the free AlAdhan API. Get a day's prayer times or the next prayer due for any city, address or set of coordinates, publish a month, a year or the whole of Ramadan as a timetable, convert dates between the Gregorian and Hijri calendars, look up Islamic holidays and special days, find the compass bearing to the Kaaba, and read the ninety-nine names of Allah. Twenty-three calculation methods are supported, along with the Hanafi Asr, high-latitude rules and per-prayer minute adjustments. No account or API key is required.

22 actions

Actions

Steps your workflow can run in AlAdhan.

Get prayer timesGet the day's prayer times for a place: Fajr, Dhuhr, Asr, Maghrib and Isha, alongside Imsak, sunrise, sunset and the thirds of the night. Name the place by city and country, by address, or by coordinates. Every time comes back both as a clock time and as a full timestamp with its offset, so a reminder can be scheduled straight off it, and the day's Hijri date and any holiday come with it. Leave the date empty for today.
Get the next prayerGet the next prayer due at a place and how many minutes there are until it. Use it for the reminder a workflow actually sends: 'Maghrib in 20 minutes'. Name the place by city and country, by address, or by coordinates.
Get a month or year of prayer timesGet every day's prayer times for a Gregorian month, or for a whole year when the month is left empty. Use it to publish a timetable rather than a single day. The answer is one list of days in date order whichever was asked for, with a per-month breakdown beside it.
Get prayer times between two datesGet every day's prayer times between two dates, for a span that doesn't line up with a calendar month: a trip, a term, or the week ahead. AlAdhan returns at most eleven months in one call, and a longer range is refused with the limit named.
Get a Hijri month or year of prayer timesGet every day's prayer times for a Hijri month, or for a whole Hijri year when the month is left empty. This is the action that answers 'the timetable for the whole of Ramadan' in one step: choose Ramadan and the year, and each day comes back with both its Hijri and its Gregorian date.
List calculation methodsList every prayer-times calculation method AlAdhan supports, with the Fajr and Isha angles each one sets and the place it is associated with. Run it once to see which authority a region follows before pinning a workflow to one.
Convert a date to the Hijri calendarTurn a Gregorian date into its Hijri one, with the day of the week in English and Arabic and any holiday that falls on it. Leave the date empty for today, so a scheduled workflow can post the Hijri date each morning with nothing filled in.
Convert a Hijri date to the Gregorian calendarTurn a Hijri date into its Gregorian one. Pick the day, month and year separately so there is no date format to get right, and the Gregorian date comes back ready to drop into the date field of a later step.
Get the Hijri dates for a Gregorian monthGet every day of a Gregorian month with its Hijri date and any holidays on it. Use it to build a month view that shows both calendars, or to find which days of next month are observances.
Get the Gregorian dates for a Hijri monthGet every day of a Hijri month with its Gregorian date and any holidays on it. This is how to find out which Gregorian dates Ramadan or Dhu al-Hijjah fall on in a given year.
Get the next Hijri holidayGet the next holiday in the Hijri calendar, the Gregorian date it falls on and how many days there are until it. Run it on a schedule to announce what is coming without keeping a list of dates anywhere.
Get the current Islamic dateGet the Hijri month and year it is now, in English and Arabic. Use it to fill in the year for the Hijri calendar actions without hard-coding one that goes stale.
Get the Hijri year of a Gregorian year's RamadanFind which Hijri year holds the Ramadan that falls in a given Gregorian year. A Hijri year is eleven days shorter than a Gregorian one, so the two drift: this is the lookup that turns 'Ramadan 2027' into the year number the calendar actions take.
Get the holidays on a Hijri dayGet the holidays that fall on one day of the Hijri calendar, such as the tenth of Dhu al-Hijjah. A day with nothing on it comes back as an empty list rather than as an error, so a workflow can check any day and branch on the answer.
List a Hijri year's holidaysList every holiday of a Hijri year with the Gregorian date each one falls on. Use it to fill a calendar a year at a time. AlAdhan sends one entry per observance, so days that carry several are merged here and the count is a count of days.
List the Islamic special daysList every special day of the Hijri calendar by the day and month it sits on. This is the fixed list, the same whatever the year, so it is the reference to check a day against without asking for a particular year's calendar.
List the Islamic monthsList the twelve months of the Hijri calendar with their names in English and Arabic and the number each one takes in the other actions here.
List Hijri calendar methodsList the ways AlAdhan can turn a Gregorian date into a Hijri one, with what each is based on and the range of years it is tabulated for. Read it before changing the calendar method on any of the other actions.
Get the Qibla directionGet the compass bearing from a set of coordinates to the Kaaba in Makkah. The answer carries the exact bearing, a rounded one, and the compass point it corresponds to, plus the address of a compass picture showing it.
Get a Qibla compass imageGet a compass picture marking the Qibla from a set of coordinates, as an image address to put in a message or a page. The picture is checked and described rather than downloaded, so the step returns a link rather than a hundred and fifty kilobytes of image.
List the names of AllahList all ninety-nine names of Allah in Arabic, with their transliteration and their meaning in English. A search term narrows the list to the names whose transliteration or meaning contains it, which is matched here since the API takes no search of its own.
Get names of Allah by numberGet one or more of the ninety-nine names by number, chosen from the list. Use it to post a particular name, or a few, rather than pulling all ninety-nine and filtering afterwards.

Connect in a few clicks

Authenticate once and every action and trigger for the app is ready to drop into a workflow. No glue code, no maintenance.

Automate across your stack

Chain apps together with triggers, actions, and logic that move data between your tools automatically, so work happens without you.

Secure by default

Credentials are encrypted and scoped per workspace. Connect the tools your team already trusts with confidence.

Automate AlAdhan with Lodol.

Connect AlAdhan and build your first workflow in minutes. No credit card required.

Free plan available · No credit card required