Free & Accurate

Free Prayer Times API

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.

Read the Docs Try it Live

Quick Start

Get today's prayer times for Makkah:

JavaScript 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"

What You Get

23 Calculation Methods

Muslim World League, ISNA, Egyptian Authority, Umm Al-Qura, Dubai, Kuwait, Qatar, Karachi, Tehran, Singapore, and more.

Any Location

Pass any latitude and longitude on Earth. Works for all cities worldwide with automatic timezone detection.

Monthly Schedules

Get an entire month of prayer times in one request. Build calendars, timetables, and printed schedules.

Ramadan Timetable

Dedicated /api/ramadan/{year} endpoint returns Suhoor and Iftar times for the entire month of Ramadan.

High-Latitude & Polar Support

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.

High Accuracy

Built on the Adhan library with astronomical calculations. Matches official prayer time announcements worldwide.

Endpoints

GET /api/prayer-times?lat=&lng= Today's prayer times
GET /api/prayer-times/month?lat=&lng=&month=&year= Full month schedule
GET /api/prayer-times/methods Methods, aliases & high-latitude rules
GET /api/ramadan/{year}?lat=&lng= Ramadan timetable

Frequently Asked Questions

Is the Prayer Times API free?

Yes. UmmahAPI's Prayer Times API is completely free. No API key or signup required. You can make up to 100 requests per minute.

What calculation methods does the Prayer Times API support?

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.

How do I get prayer times for my location?

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.

Can I get a full month of prayer times?

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.

Related Resources

More Free Islamic APIs

Start building with the Prayer Times API

Free, accurate, and works for any location on Earth.

View Full Documentation