Discover/MuslimSalat API
live

MuslimSalat APImuslimsalat.com

Fetch Islamic prayer times for any location worldwide via the MuslimSalat API. Daily, weekly, monthly, and yearly schedules with qibla direction and 7 calculation methods.

Endpoint health
verified 4d ago
get_monthly_prayer_times
get_weekly_prayer_times
get_daily_prayer_times
get_yearly_prayer_times
4/4 passing latest checkself-healing
Endpoints
4
Updated
26d ago

What is the MuslimSalat API?

The MuslimSalat API gives access to Islamic prayer times for any city or location worldwide across 4 endpoints covering daily, weekly, monthly, and yearly schedules. The get_daily_prayer_times endpoint returns all six prayer times — fajr, shurooq, dhuhr, asr, maghrib, and isha — along with qibla direction, coordinates, and country data for a given location in a single call.

Try it
Date in DD-MM-YYYY format. Defaults to today.
Calculation method name or numeric 1-7.
Daylight saving adjustment: 'true' or 'false'.
City name or location (e.g. 'London', 'New York', 'Mecca').
api.parse.bot/scraper/29204c39-375e-4028-899a-3f4e9148616b/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/29204c39-375e-4028-899a-3f4e9148616b/get_daily_prayer_times?date=12-07-2026&method=egyptian&daylight=true&location=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace muslimsalat-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.muslim_salat_prayer_times_api import MuslimSalat, CalculationMethod

client = MuslimSalat()

# Get weekly prayer times for Mecca using Umm Al-Qura method
for day in client.prayerschedules.weekly(location="Mecca", method=CalculationMethod.UMM_AL_QURA):
    print(day.date_for, day.fajr, day.maghrib)

# Get daily prayer times for London using MWL method
for day in client.prayerschedules.daily(location="London", method=CalculationMethod.MWL):
    print(day.date_for, day.fajr, day.shurooq, day.dhuhr, day.asr, day.maghrib, day.isha)
All endpoints · 4 totalmissing one? ·

Fetch a single day's prayer times for a given location. Returns fajr, shurooq, dhuhr, asr, maghrib, and isha times along with location metadata (coordinates, qibla direction, country). The calculation method defaults to the region's standard if omitted.

Input
ParamTypeDescription
datestringDate in DD-MM-YYYY format. Defaults to today.
methodstringCalculation method name or numeric 1-7.
daylightstringDaylight saving adjustment: 'true' or 'false'.
locationrequiredstringCity name or location (e.g. 'London', 'New York', 'Mecca').
Response
{
  "type": "object",
  "fields": {
    "for": "string, timeframe requested (daily)",
    "items": "array of prayer time objects with date_for, fajr, shurooq, dhuhr, asr, maghrib, isha",
    "query": "string, the location queried",
    "method": "integer, calculation method code used",
    "country": "string, country name",
    "daylight": "string, daylight saving setting",
    "latitude": "string, latitude of location",
    "timezone": "string, timezone offset",
    "longitude": "string, longitude of location",
    "country_code": "string, ISO country code",
    "qibla_direction": "string, qibla direction in degrees",
    "prayer_method_name": "string, human-readable method name"
  },
  "sample": {
    "data": {
      "for": "daily",
      "items": [
        {
          "asr": "5:21 pm",
          "fajr": "2:12 am",
          "isha": "11:47 pm",
          "dhuhr": "12:59 pm",
          "maghrib": "9:23 pm",
          "shurooq": "4:36 am",
          "date_for": "2026-6-10"
        }
      ],
      "query": "London",
      "method": 5,
      "country": "UK",
      "daylight": "1",
      "latitude": "51.508129",
      "timezone": "0",
      "longitude": "-0.128005",
      "status_code": 1,
      "country_code": "GB",
      "status_valid": 1,
      "qibla_direction": "119.04",
      "prayer_method_name": "Muslim World League",
      "status_description": "Success."
    },
    "status": "success"
  }
}

About the MuslimSalat API

What the API Returns

Each endpoint accepts a required location parameter (city name or place string such as 'Mecca' or 'New York') and returns an items array of prayer time objects. Every object includes date_for, fajr, shurooq, dhuhr, asr, maghrib, and isha fields. The daily endpoint additionally surfaces latitude, longitude, country, qibla_direction in degrees, and prayer_method_name alongside the numeric method code used for the calculation.

Calculation Methods

All four endpoints accept an optional method parameter. You can pass named strings (egyptian, shafi, hanafi, icna, mwl, umm_al_qura, fixed_isha) or numeric codes 1–7. The response echoes back both the integer method code and a human-readable prayer_method_name so callers can confirm which convention was applied. Daylight saving adjustments are controlled by the optional daylight parameter ('true' or 'false'), which is particularly relevant for European and North American locations during summer months.

Timeframe Endpoints

get_weekly_prayer_times returns 7 prayer time objects starting from the given date. get_monthly_prayer_times returns entries from the specified date through the end of that calendar month (up to roughly 31 objects). get_yearly_prayer_times covers from the given date to end of year, returning up to approximately 365 objects. All three endpoints share the same items array shape as the daily endpoint but omit location-level fields like qibla_direction and coordinates that are only present in the daily response.

Date and Location Handling

Dates are passed in DD-MM-YYYY format; if omitted, all endpoints default to the current date. The query field in the response reflects the location string as interpreted, and for indicates the timeframe served. Locations are resolved by name, so specificity matters for cities with common names — prefer 'Paris, France' over bare 'Paris' when precision is needed.

Reliability & maintenanceVerified

The MuslimSalat API is a managed, monitored endpoint for muslimsalat.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when muslimsalat.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official muslimsalat.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a prayer time widget for a mosque website that shows today's six prayer times using get_daily_prayer_times with a city parameter
  • Generate a full-year prayer schedule PDF for distribution using get_yearly_prayer_times and iterating over the ~365 items array
  • Display qibla_direction in degrees on a compass view using the field returned by get_daily_prayer_times
  • Let users compare prayer times across different madhabs by switching the method parameter between hanafi, shafi, and mwl
  • Integrate monthly prayer time tables into a Muslim calendar app using get_monthly_prayer_times with daylight saving toggled by region
  • Send daily prayer time push notifications by calling get_daily_prayer_times each morning with a stored user location
  • Populate a weekly schedule view in a mobile app using the 7-item array from get_weekly_prayer_times
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does MuslimSalat have an official developer API?+
Yes. MuslimSalat provides a public API documented at https://muslimsalat.com/api/. The Parse API surfaces the same prayer time data through a consistent REST interface with structured JSON responses.
What does the daily endpoint return beyond prayer times?+
get_daily_prayer_times returns the six prayer time fields (fajr, shurooq, dhuhr, asr, maghrib, isha) plus location metadata: latitude, longitude, country, qibla_direction in degrees, and prayer_method_name. The weekly, monthly, and yearly endpoints return only the items array with per-day prayer times and the method fields — they do not include qibla_direction or coordinate fields.
Does the API support lookup by coordinates (latitude/longitude) rather than city name?+
The current endpoints accept a city name string via the location parameter. Coordinate-based lookup is not currently exposed. You can fork this API on Parse and revise it to add a coordinate-based location endpoint if your application needs lat/lng input.
How does daylight saving affect the returned times?+
All four endpoints accept a daylight parameter ('true' or 'false'). When set to 'true', prayer times are adjusted for daylight saving time. If omitted, the default behavior depends on the source data for that region, so explicitly passing the parameter is advisable for locations that observe seasonal clock changes.
Does the API return Hijri (Islamic calendar) dates alongside Gregorian dates?+
Not currently. The items array uses Gregorian date_for fields only. You can fork this API on Parse and revise it to add Hijri date conversion or expose any Hijri date fields from the source.
Page content last updated . Spec covers 4 endpoints from muslimsalat.com.
Related APIs in OtherSee all →
salah.com API
Retrieve accurate Islamic prayer times for any location by entering coordinates or a location name, or browse default times from the site homepage. Access daily prayer schedules including Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, and Qiyam for locations worldwide.
prayertimes.date API
Get accurate Islamic prayer times for any city or country, view monthly prayer schedules, and explore prayer times across popular regions worldwide. Plan your daily prayers with up-to-date timing data organized by location and calendar month.
prayertimes.com API
Get accurate daily prayer times (Fajr, Dhuhr, Asr, Maghrib, and Isha) for thousands of cities worldwide, plus Iftar and Imsak timings and Islamic calendar dates. Search by country and city to find prayer schedules wherever you are.
fazilettakvimi.com API
Get Islamic prayer times, fasting schedules, and religious holidays for any location by searching through countries, cities, and districts. View daily or monthly prayer schedules and access detailed calendar information for planning your religious observances.
mawaqit.net API
Search for mosques near you and instantly access prayer times, detailed mosque information, calendars, and local weather conditions. Plan your visits with accurate scheduling data all from one convenient service.
accuweather.com API
Get real-time weather conditions, multi-day forecasts, and health alerts for any location worldwide. Search cities and access detailed data including allergen information and air quality to plan your activities with confidence.
almosafer.com API
Search and compare flights across multiple airlines with real-time pricing, filtering options, and a fare calendar to find the best deals. Look up airport details and airline information to plan your travel better.
queue-times.com API
Monitor real-time wait times, crowd levels, and historical data across 130+ theme parks worldwide to plan your visits and avoid peak hours. Get daily statistics and predictions to make informed decisions about when and where to experience attractions with minimal wait times.