Get accurate Fajr, Dhuhr, Asr, Maghrib, and Isha times for any location on Earth. 23 calculation methods, monthly schedules, and Ramadan support. No API key required.
Get today's prayer times for Makkah:
const res = await fetch('https://ummahapi.com/api/prayer-times?lat=21.42&lng=39.82');
const data = await res.json();
// Returns today's prayer times
console.log(data.data.Fajr); // "04:32"
console.log(data.data.Dhuhr); // "12:21"
console.log(data.data.Asr); // "15:45"
console.log(data.data.Maghrib); // "19:09"
console.log(data.data.Isha); // "20:39"
Muslim World League, ISNA, Egyptian Authority, Umm Al-Qura, Dubai, Kuwait, Qatar, Karachi, Tehran, Singapore, and more.
Pass any latitude and longitude on Earth. Works for all cities worldwide with automatic timezone detection.
Get an entire month of prayer times in one request. Build calendars, timetables, and printed schedules.
Dedicated /api/ramadan/{year} endpoint returns Suhoor and Iftar times for the entire month of Ramadan.
For far-north or far-south cities, add highLatitudeRule=recommended for usable summer Fajr and Isha. Polar day/night (no sunrise/sunset) is handled gracefully.
Built on the Adhan library with astronomical calculations. Matches official prayer time announcements worldwide.
Yes. UmmahAPI's Prayer Times API is completely free. No API key or signup required. You can make up to 100 requests per minute.
The API supports 23 calculation methods including Muslim World League, ISNA, Egyptian General Authority, Umm Al-Qura, Dubai, Kuwait, Qatar, Karachi, Tehran, and more. Each method uses different Fajr and Isha angles. Select one by name or short alias, e.g. ?method=MuslimWorldLeague or ?method=MWL. See the full list at /api/prayer-times/methods.
Pass your latitude and longitude: /api/prayer-times?lat=40.71&lng=-74.01 for New York. The API returns Fajr, Sunrise, Dhuhr, Asr, Maghrib, and Isha times for today.
Yes. Use /api/prayer-times/month?lat=40.71&lng=-74.01&month=7&year=2026 to get prayer times for every day of the month in a single request.
Free, accurate, and works for any location on Earth.
View Full Documentation