Discover/muslimsalat.com API
live

muslimsalat.com 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.

Endpoints
4
Updated
14d ago
Try it
Date in DD-MM-YYYY format. Defaults to today.
Calculation method: egyptian, shafi, hanafi, icna, mwl, umm_al_qura, fixed_isha, or numeri
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.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/29204c39-375e-4028-899a-3f4e9148616b/get_daily_prayer_times?location=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Fetch today's prayer times for a given location. Returns a single day's prayer times including fajr, shurooq, dhuhr, asr, maghrib, and isha along with location metadata.

Input
ParamTypeDescription
datestringDate in DD-MM-YYYY format. Defaults to today.
methodstringCalculation method: egyptian, shafi, hanafi, icna, mwl, umm_al_qura, fixed_isha, 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",
    "items": "array of prayer time objects with date_for, fajr, shurooq, dhuhr, asr, maghrib, isha",
    "query": "string, the location queried",
    "method": "integer or string, calculation method used",
    "country": "string, country name",
    "latitude": "string, latitude of location",
    "longitude": "string, longitude of location",
    "qibla_direction": "string, qibla direction in degrees",
    "prayer_method_name": "string, human-readable method name"
  },
  "sample": {
    "data": {
      "for": "daily",
      "items": [
        {
          "asr": "4:59 pm",
          "fajr": "3:04 am",
          "isha": "10:39 pm",
          "dhuhr": "12:57 pm",
          "maghrib": "8:29 pm",
          "shurooq": "5:26 am",
          "date_for": "2026-5-1"
        }
      ],
      "query": "London",
      "title": "",
      "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.com 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.

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.

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,000250 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 →
ueex.com.ua API
Access real-time and historical pricing data for Ukrainian energy commodities including natural gas, electricity, coal, LPG, and timber directly from official exchange quotations and auction results. Monitor trading indices, check medium long-term market rates, and view the trading calendar to stay informed on energy market trends.
cses.fi API
Explore the CSES Problem Set by browsing problems across different categories, viewing detailed problem information, and discovering available courses and contests. Access comprehensive problem lists organized by topic to find coding challenges tailored to your learning goals.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
jurisprudencia.tst.jus.br API
Search and retrieve judicial decisions from Brazil's Superior Labor Court with filters by date, court body, and keywords to access decision summaries, outcomes, and full texts. Quickly find relevant labor law precedents and court rulings to support legal research and case analysis.
icons8.com API
Search for millions of icons across different visual styles like colorful, pattern-based, and minimalist designs to find the perfect icon for your project. Discover and retrieve icons in your preferred style to enhance your designs and applications.
smstome.com API
Browse temporary phone numbers from countries around the world and read incoming SMS messages in real time. List available numbers by country, retrieve messages sorted newest to oldest, and search message history by sender or content.
noor-book.com API
Search and discover books across 1,800+ categories in the Noor Book library, retrieving detailed information about titles, authors, biographies, and book metadata. Access comprehensive author profiles and browse one of the largest Arabic and English digital book collections with over 289,000 authors.
quizbowlpackets.com API
Search and browse thousands of quizbowl question sets across all competition levels, then access detailed metadata like difficulty, subjects, and download links for each packet. Find the perfect practice materials for High School, Collegiate, Middle School, or Pop Culture quizbowl competitions.