Prayer Times, Islamic Calendar & Qibla Scraper (Global) avatar

Prayer Times, Islamic Calendar & Qibla Scraper (Global)

Pricing

from $7.56 / 1,000 prayer times results

Go to Apify Store
Prayer Times, Islamic Calendar & Qibla Scraper (Global)

Prayer Times, Islamic Calendar & Qibla Scraper (Global)

Daily Muslim prayer times (adhan) for any city or coordinates: Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha plus Imsak and thirds, full Hijri date with Arabic month and Islamic holidays, Qibla direction and next-prayer countdown. Export to JSON, CSV or Excel.

Pricing

from $7.56 / 1,000 prayer times results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 hours ago

Last modified

Share

Prayer Times, Islamic Calendar & Qibla Scraper (Global)

Prayer Times, Islamic Calendar & Qibla Scraper (Global)

Here is one real result, with every field the actor returns:

{
"input": "Mecca, Saudi Arabia",
"resolvedLocation": "Mecca",
"country": "Saudi Arabia",
"admin1": "Mecca Region",
"latitude": 21.42664,
"longitude": 39.82563,
"timezone": "Asia/Riyadh",
"gregorianDate": "2026-08-23",
"gregorianWeekday": "Sunday",
"gregorianReadable": "23 August 2026",
"hijriDate": "10-03-1448",
"hijriDay": 10,
"hijriMonthNumber": 3,
"hijriMonthEn": "Rabīʿ al-awwal",
"hijriMonthAr": "رَبيع الأوّل",
"hijriYear": 1448,
"hijriWeekdayEn": "Al Ahad",
"hijriWeekdayAr": "الاحد",
"hijriHolidays": [],
"method": 2,
"methodName": "Islamic Society of North America (ISNA)",
"school": 0,
"schoolName": "Shafi, Maliki, Hanbali (Standard)",
"latitudeAdjustmentMethod": "ANGLE_BASED",
"imsak": "04:48",
"fajr": "04:58",
"sunrise": "06:02",
"dhuhr": "12:23",
"asr": "15:47",
"sunset": "18:45",
"maghrib": "18:45",
"isha": "19:48",
"midnight": "00:23",
"firstthird": "22:30",
"lastthird": "02:16",
"nextPrayer": "Asr",
"nextPrayerTime": "15:47",
"minutesUntilNextPrayer": 19,
"qiblaDirection": 173.1,
"monthlyCalendarDays": null,
"monthlyCalendar": null,
"aiSuhoorTip": null,
"aiIftarTip": null,
"aiHydrationTip": null,
"aiFastingSummary": null,
"source": "Aladhan Prayer Times",
"observedAt": "2026-08-23T12:28:39.691Z",
"error": null
}

The most complete Muslim prayer times scraper available. It returns every daily prayer time for any city or coordinates (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, plus Imsak, Midnight and the night thirds), the full Hijri date with Arabic month name and Islamic holidays, the Qibla compass bearing to the Kaaba, and a live next-prayer countdown, all in one call, with optional full monthly timetable and AI Ramadan fasting tips.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

Give it a list of locations and a date. For each location the actor resolves the place to coordinates (you can pass a city name like Istanbul, Turkey or a latitude,longitude pair), computes the daily prayer schedule for the date you choose, and writes one clean record per location.

Each record carries the full timetable (Imsak, Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha, Midnight, and the first and last thirds of the night), the matching Hijri (Islamic) date with the Arabic and English month names and any Islamic holidays that fall on that day, the Qibla direction as a compass bearing in degrees to the Kaaba in Mecca, and a computed next-prayer name with the minutes remaining until it (relative to the run time in the location's own timezone). You choose the calculation method (23 named options such as ISNA, Umm al-Qura, Diyanet, JAKIM, Kemenag) and the juristic school for Asr (Standard or Hanafi).

Two optional add-ons extend each record: a full month prayer timetable for the location, and AI-written Ramadan fasting tips derived from the day's Fajr and Maghrib times.

Use cases

  • Power a Muslim prayer times and adhan app with a single daily API call per city.
  • Build a mobile or web salah reminder that shows the next prayer and a live countdown.
  • Print or display a monthly Ramadan and prayer timetable (Suhoor and Iftar) for a mosque or community.
  • Add an accurate Qibla direction (compass bearing to the Kaaba) to a mosque finder or travel app.
  • Convert Gregorian dates to the Hijri (Islamic) calendar and surface Islamic holidays and holy days.
  • Compare prayer times across cities and calculation methods (ISNA, Umm al-Qura, Muslim World League, Diyanet, JAKIM, Kemenag and more).
  • Feed prayer times, Iftar and Suhoor times into a smart-home, digital-signage, or notification workflow.

How we compare

CapabilityThis actorAlAdhan raw APIRapidAPI prayer-times APIsMuslimSalat API
All data in one callYesNo (separate endpoints)PartialPartial
City name geocodingYesPartialPartialYes
Imsak, Midnight, night thirdsYesYesRarelyNo
Full Hijri date + Arabic monthYesYesRarelyNo
Islamic holidays in the recordYesSeparate endpointNoNo
Qibla direction (degrees)YesSeparate endpointSometimesDaily only
Next-prayer name + minutes countdownYesNoNoNo
Optional full monthly calendarYesSeparate endpointRamadan onlySeparate endpoint
AI Ramadan fasting tipsYesNoNoNo
PricingFlat pay per resultFree, multi-callMonthly tiersCredit based

Why choose this

  • Everything in one call. Times, Hijri date, holidays, Qibla and the next-prayer countdown come back together, so your app makes one request per city instead of four or five.
  • Next-prayer countdown built in. The actor computes the next prayer and the minutes remaining against the location's own timezone. Competitors return raw times and leave the math to you.
  • City names, not just coordinates. Pass Jakarta, Indonesia or Istanbul and the actor geocodes it for you.
  • Full Hijri calendar and holidays. Arabic and English month names, the Hijri weekday, and any Islamic holidays on the date, in the same record.
  • Qibla for every location. A compass bearing in degrees to the Kaaba, no extra call.
  • Optional monthly timetable and AI fasting tips. Add a whole-month schedule or AI Suhoor, Iftar and hydration guidance when you need them, billed only when returned.
  • Predictable pricing. Flat pay per result, no monthly tiers or opaque credit systems, and you are never charged for a location that fails to resolve.

Quickstart

Open the actor, paste this into the input, and press Run. It returns today's prayer times, Hijri date and Qibla for three cities.

{
"locations": ["Mecca, Saudi Arabia", "Istanbul, Turkey", "Jakarta, Indonesia"],
"method": "2",
"school": "0"
}

Leave date empty to use today. Add "includeMonthlyCalendar": true for the full month timetable, or "aiRamadanFastingTips": true for AI fasting guidance (both are paid add-ons on paid Apify plans).

Input reference

FieldTypeRequiredDefaultDescription
locationsarray of stringsno(none)One or more locations. Each item is a place name like Mecca, Saudi Arabia or Istanbul (auto-geocoded), or a latitude,longitude pair like 21.4225,39.8262. One record is returned per location.
datestringnotodayThe date to compute prayer times for, in YYYY-MM-DD. Applies to every location in the run.
methodenum stringno2 (ISNA)Calculation method id. One of 23 named methods, for example 2 ISNA, 3 Muslim World League, 4 Umm al-Qura Makkah, 13 Diyanet Turkey, 17 JAKIM Malaysia, 20 Kemenag Indonesia.
schoolenum stringno0Juristic school for the Asr time. 0 Standard (Shafi, Maliki, Hanbali) or 1 Hanafi (later Asr).
includeMonthlyCalendarbooleannofalseAdd-on. Add the full month prayer timetable for each location. Billed per location only when a real calendar is returned. Paid Apify plans only.
aiRamadanFastingTipsbooleannofalseAdd-on. Add AI-written Suhoor, Iftar and hydration tips plus a fasting-window summary. Billed per location only when usable tips are produced. Paid Apify plans only.
maxResultsintegerno10Maximum locations to return in one run. Free Apify plans are capped at 10.

Output reference

One dataset item per location. Types are string, integer, number, boolean, array, or null when a value is absent.

FieldTypeDescription
inputstringThe location string you passed in.
resolvedLocationstringResolved place name from geocoding.
countrystringCountry of the resolved location.
admin1stringState or region of the resolved location.
latitudenumberLatitude used for the query.
longitudenumberLongitude used for the query.
timezonestringIANA timezone of the location.
gregorianDatestringGregorian date (YYYY-MM-DD).
gregorianWeekdaystringGregorian weekday name.
gregorianReadablestringHuman-readable Gregorian date.
hijriDatestringHijri (Islamic) date (DD-MM-YYYY).
hijriDayintegerDay of the Hijri month.
hijriMonthNumberintegerHijri month number (1 to 12).
hijriMonthEnstringHijri month name in English.
hijriMonthArstringHijri month name in Arabic.
hijriYearintegerHijri year.
hijriWeekdayEnstringHijri weekday name in English.
hijriWeekdayArstringHijri weekday name in Arabic.
hijriHolidaysarrayIslamic holidays on this Hijri date. Empty array when none.
methodintegerCalculation method id used.
methodNamestringCalculation method name.
schoolintegerJuristic school for Asr (0 standard, 1 Hanafi).
schoolNamestringJuristic school label.
latitudeAdjustmentMethodstringHigh-latitude adjustment method used.
imsakstringImsak time (HH:MM, local).
fajrstringFajr prayer time (HH:MM, local).
sunrisestringSunrise time (HH:MM, local).
dhuhrstringDhuhr prayer time (HH:MM, local).
asrstringAsr prayer time (HH:MM, local).
sunsetstringSunset time (HH:MM, local).
maghribstringMaghrib prayer time (HH:MM, local).
ishastringIsha prayer time (HH:MM, local).
midnightstringIslamic midnight (HH:MM, local).
firstthirdstringFirst-third boundary of the night (HH:MM, local).
lastthirdstringStart of the last third of the night (HH:MM, local).
nextPrayerstringName of the next prayer relative to the run time. Null when the date is not today in the location timezone.
nextPrayerTimestringTime of the next prayer (HH:MM, local).
minutesUntilNextPrayerintegerMinutes from run time until the next prayer.
qiblaDirectionnumberCompass bearing in degrees from the location to the Kaaba in Mecca.
monthlyCalendarDaysintegerNumber of days in the monthly calendar add-on, or null.
monthlyCalendararrayFull month prayer timetable per day (monthly calendar add-on), or null.
aiSuhoorTipstringAI Suhoor (pre-dawn meal) tip (AI fasting tips add-on), or null.
aiIftarTipstringAI Iftar (fast-breaking) tip (AI fasting tips add-on), or null.
aiHydrationTipstringAI hydration tip (AI fasting tips add-on), or null.
aiFastingSummarystringAI fasting-window summary (AI fasting tips add-on), or null.
sourcestringData source label.
observedAtstringISO 8601 timestamp of when the record was collected.
errorstringNull on success. On a location that fails to resolve, a single item with a populated error field is written instead, and it is not charged.

Example output record

Real record from a live run with both add-ons on (input {"locations": ["Mecca, Saudi Arabia"], "includeMonthlyCalendar": true, "aiRamadanFastingTips": true}). The monthlyCalendar array is trimmed here for length.

{
"input": "Mecca, Saudi Arabia",
"resolvedLocation": "Mecca",
"country": "Saudi Arabia",
"admin1": "Mecca Region",
"latitude": 21.42664,
"longitude": 39.82563,
"timezone": "Asia/Riyadh",
"gregorianDate": "2026-08-23",
"hijriDate": "10-03-1448",
"hijriMonthEn": "Rabīʿ al-awwal",
"hijriMonthAr": "رَبيع الأوّل",
"hijriYear": 1448,
"hijriHolidays": [],
"method": 2,
"methodName": "Islamic Society of North America (ISNA)",
"schoolName": "Shafi, Maliki, Hanbali (Standard)",
"imsak": "04:48",
"fajr": "04:58",
"sunrise": "06:02",
"dhuhr": "12:23",
"asr": "15:47",
"maghrib": "18:45",
"isha": "19:48",
"midnight": "00:23",
"firstthird": "22:30",
"lastthird": "02:16",
"nextPrayer": "Asr",
"nextPrayerTime": "15:47",
"minutesUntilNextPrayer": 19,
"qiblaDirection": 173.1,
"monthlyCalendarDays": 31,
"monthlyCalendar": [
{ "gregorianDate": "2026-08-01", "weekday": "Saturday", "hijriDate": "18-02-1448", "hijriMonth": "Ṣafar", "fajr": "04:48", "sunrise": "05:54", "dhuhr": "12:27", "asr": "15:46", "maghrib": "19:00", "isha": "20:06" }
],
"aiSuhoorTip": "Opt for a balanced meal with complex carbohydrates, protein, and healthy fats, such as oatmeal with nuts and yogurt, to sustain your energy throughout the day.",
"aiIftarTip": "Start your Iftar with dates and water to gently rehydrate and replenish energy before enjoying a nutritious meal.",
"aiHydrationTip": "Drink plenty of water and include hydrating foods like fruits and soups between Iftar and Suhoor to maintain hydration levels.",
"aiFastingSummary": "The fasting window lasts approximately 13 hours and it's essential to focus on balanced nutrition and hydration.",
"source": "Aladhan Prayer Times",
"observedAt": "2026-08-23T12:28:39.691Z",
"error": null
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~prayer-times-islamic-calendar-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"locations":["Mecca, Saudi Arabia","Istanbul, Turkey"],"method":"2","school":"0"}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~prayer-times-islamic-calendar-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"locations":["Jakarta, Indonesia"],"date":"2026-03-01","includeMonthlyCalendar":true}'

Apify CLI:

apify call scrapers_lat/prayer-times-islamic-calendar-scraper \
--input '{"locations":["Cairo, Egypt"],"method":"5"}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per location record returned (result event). See the pricing tab for the current per-result price.
  • A small one-time actor-start event is charged once per run.
  • Add-ons are opt-in and billed only on success. The monthly_calendar event is charged per location only when a real month timetable is returned. The ai_fasting_tips event is charged per location only when usable AI tips are produced. Both are available to paid Apify plans only.
  • No charge on failure. If a location cannot be resolved or returns no data, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 locations per run, and paid add-ons are disabled for them. Upgrade for higher maxResults and add-ons.

FAQ and troubleshooting

A location came back with an error. Why? The place name could not be geocoded. Try a simpler name (just the city), add the country, or pass a latitude,longitude pair instead. Failed locations are not charged.

Which calculation method should I use? Use the one your community follows. Common choices: ISNA (2) in North America, Muslim World League (3) in much of the world, Umm al-Qura (4) in Saudi Arabia, Diyanet (13) in Turkey, JAKIM (17) in Malaysia, Kemenag (20) in Indonesia.

What is the difference between Standard and Hanafi school? The school setting only changes the Asr time. Hanafi (1) gives a later Asr than the Standard (0) opinion. All other times are identical.

Why is nextPrayer null? The next-prayer countdown is only meaningful for the current day. When you request a past or future date, or a date that is not today in the location's timezone, nextPrayer, nextPrayerTime and minutesUntilNextPrayer are null.

How accurate is the Qibla direction? qiblaDirection is the great-circle compass bearing in degrees (0 is north, 90 is east) from the location to the Kaaba in Mecca. Near Mecca itself the bearing is short-range and may look unusual, which is expected.

Can I get a whole month at once? Yes. Set includeMonthlyCalendar to true and each record includes the full month timetable for its location in monthlyCalendar.

Is this an official tool? No. This actor is independent and has no affiliation with any Islamic authority. It reads publicly available prayer-time calculations. Verify times against your local mosque where exact minute-level agreement matters.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with any Islamic authority. Provides publicly available prayer-time calculations. Verify against your local mosque where exact agreement matters.