Discover/prayertimes.date API
live

prayertimes.date APIprayertimes.date

Retrieve Islamic prayer times by city or country, monthly schedules, and regional listings via the prayertimes.date API. Covers Fajr, Dhuhr, Asr, Maghrib, Isha, and more.

Endpoints
5
Updated
3mo ago
Try it
City name used to look up prayer times (e.g. 'London', 'Mecca', 'Istanbul'). Converted to
api.parse.bot/scraper/8cf68912-b61a-4119-a74d-85a28afca247/<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/8cf68912-b61a-4119-a74d-85a28afca247/get_prayer_times_by_city?city=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Retrieve today's Islamic prayer times for a specific city. Returns prayer times (Imsak, Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha), geographic metadata, and calculation settings.

Input
ParamTypeDescription
cityrequiredstringCity name used to look up prayer times (e.g. 'London', 'Mecca', 'Istanbul'). Converted to a URL slug internally.
Response
{
  "type": "object",
  "fields": {
    "city": "string — the city name as provided",
    "date": "string — today's date (e.g. 'Thursday, May 14, 2026')",
    "metadata": "object with latitude, longitude, altitude as numbers",
    "prayer_times": "object with keys imsak, fajr, sunrise, dhuhr, asr, sunset, maghrib, isha mapped to HH:MM time strings",
    "calculation_settings": "object with calculation method details (may be empty if not displayed)"
  },
  "sample": {
    "data": {
      "city": "London",
      "date": "Thursday, May 14, 2026",
      "metadata": {
        "altitude": 33,
        "latitude": 51.507,
        "longitude": -0.128
      },
      "prayer_times": {
        "asr": "17:08",
        "fajr": "02:16",
        "isha": "23:23",
        "dhuhr": "12:57",
        "imsak": "02:06",
        "sunset": "20:44",
        "maghrib": "20:44",
        "sunrise": "05:10"
      },
      "calculation_settings": {}
    },
    "status": "success"
  }
}

About the prayertimes.date API

The prayertimes.date API exposes 5 endpoints covering Islamic prayer times for cities and countries worldwide, returning up to 8 named prayer windows (Imsak, Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha) per location. get_prayer_times_by_city returns today's times alongside geographic metadata including latitude, longitude, and altitude. get_monthly_prayer_times returns a full daily schedule for the current month, and two discovery endpoints list popular cities and countries indexed on the site.

Daily and Monthly Prayer Times

get_prayer_times_by_city accepts a city string (e.g. 'Istanbul', 'Mecca', 'London') and returns today's prayer times as an object with keys imsak, fajr, sunrise, dhuhr, asr, sunset, maghrib, and isha, each mapped to an HH:MM time string. The response also includes a metadata object with latitude, longitude, and altitude values, a human-readable date string, and a calculation_settings object that captures the calculation method when the source displays it.

get_monthly_prayer_times takes the same city parameter and returns a schedule array where each element represents one calendar day with the same eight prayer-time fields. This is useful for pre-loading a full month of prayer data without making repeated daily requests.

Country-Level and Discovery Endpoints

get_prayer_times_by_country accepts a country name (e.g. 'Saudi Arabia', 'United Kingdom') and returns a cities array. Each entry contains the city name plus its individual prayer time strings for that day, giving a quick regional overview across major cities in one call.

list_popular_countries and list_popular_cities require no parameters and return arrays of objects with name, slug, and url fields drawn from the prayertimes.date homepage. These endpoints are useful for building location pickers or validating which city and country names the service recognizes before querying the timed endpoints.

Common use cases
  • Display today's Fajr-to-Isha schedule on a Muslim prayer companion app using get_prayer_times_by_city.
  • Build a monthly prayer timetable widget by consuming the schedule array from get_monthly_prayer_times.
  • Populate a country-level prayer time comparison table for major cities using get_prayer_times_by_country.
  • Power a city autocomplete or location picker by listing supported cities via list_popular_cities.
  • Trigger push notifications at prayer times by polling the API and comparing prayer_times values against the current time.
  • Cross-reference metadata latitude and longitude against a geocoding service to verify city coverage before app deployment.
  • Generate printable monthly prayer timetables for a mosque bulletin using the schedule array fields.
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 prayertimes.date have an official developer API?+
No. prayertimes.date does not publish an official developer API or documented public endpoints. This Parse API provides structured programmatic access to the data the site exposes.
What does get_prayer_times_by_city return beyond the prayer times themselves?+
get_prayer_times_by_city returns a metadata object containing latitude, longitude, and altitude for the queried city, a human-readable date string for today, and a calculation_settings object that captures the calculation method when the source displays one. The prayer times themselves are in an object with eight named keys mapped to HH:MM strings.
Does the monthly endpoint cover future or past months?+
get_monthly_prayer_times returns the schedule for the current calendar month only. Past and future months are not currently covered. You can fork the API on Parse and revise it to add an endpoint that accepts a month or year parameter.
Are Hijri (Islamic calendar) dates included in the response?+
Not currently. The date field in responses uses the Gregorian calendar format. The monthly schedule array entries also use Gregorian dates. You can fork the API on Parse and revise it to map Gregorian dates to Hijri equivalents or add a Hijri date field.
How do I know which city names the API accepts?+
list_popular_cities returns an array of objects with name and slug fields for cities featured on the prayertimes.date homepage. These values can be used directly as the city parameter in get_prayer_times_by_city and get_monthly_prayer_times. Cities outside this list may still resolve if they appear on the site, but coverage is not guaranteed.
Page content last updated . Spec covers 5 endpoints from prayertimes.date.
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.