{"api":{"id":"api_50413bddf014a8a40d5dc240","slug":"prayer-times-by-city","name":"Prayer Times by City API","description":"Daily Islamic prayer times for any city: Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha, with the Hijri date, the city's time zone and the calculation method. Give a city and country, pick a method, get the day.","kind":"ready_made","visibility":"public","domain":"api.aladhan.com","source_url":"https://aladhan.com/prayer-times-api","category":"other","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T04:45:48.391Z","updated_at":"2026-12-06T04:45:48.391Z","runnable":true},"version":"1.0","contract_hash":"933ce0daeffdec3592c0be8e61139c153f5e6d7b547af920646ccd964273ffc0","fields":[{"name":"id","type":"string","description":"City, country and date joined, such as toronto-canada-2026-12-05.","required":true,"coverage":1,"example":"toronto-canada-2026-12-05"},{"name":"date","type":"date","description":"The Gregorian day the times are for.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"city","type":"string","description":"The city as asked.","required":false,"coverage":1,"example":"Toronto"},{"name":"country","type":"string","description":"The country as asked.","required":false,"coverage":1,"example":"Canada"},{"name":"fajr","type":"string","description":"Dawn prayer time, HH:MM local.","required":false,"coverage":1,"example":"06:10"},{"name":"sunrise","type":"string","description":"Sunrise, HH:MM local.","required":false,"coverage":1,"example":"07:35"},{"name":"dhuhr","type":"string","description":"Midday prayer time, HH:MM local.","required":false,"coverage":1,"example":"12:08"},{"name":"asr","type":"string","description":"Afternoon prayer time, HH:MM local.","required":false,"coverage":1,"example":"14:23"},{"name":"maghrib","type":"string","description":"Sunset prayer time, HH:MM local.","required":false,"coverage":1,"example":"16:41"},{"name":"isha","type":"string","description":"Night prayer time, HH:MM local.","required":false,"coverage":1,"example":"18:07"},{"name":"hijri_date","type":"string","description":"The Hijri date as DD-MM-YYYY.","required":false,"coverage":1,"example":"25-06-1448"},{"name":"hijri_month","type":"string","description":"Name of the Hijri month.","required":false,"coverage":1,"example":"Jumādá al-ākhirah"},{"name":"timezone","type":"string","description":"The city's time zone, such as America/Toronto.","required":false,"coverage":1,"example":"America/Toronto"},{"name":"method","type":"string","description":"Name of the calculation method used.","required":false,"coverage":1,"example":"Islamic Society of North America (ISNA)"}],"inputs":[{"name":"city","type":"string","description":"City name in English, such as Toronto.","example":"Toronto","required":true},{"name":"country","type":"string","description":"Country name or two-letter code, such as Canada or CA.","example":"Canada","required":true},{"name":"method","type":"integer","description":"Calculation method number from 0 to 24 (2 = ISNA, 3 = Muslim World League, 4 = Umm Al-Qura, 5 = Egyptian). Default 2.","example":2},{"name":"date","type":"string","description":"One day as DD-MM-YYYY. Default today.","example":"05-12-2026"},{"name":"dates","type":"array","description":"Several days as DD-MM-YYYY, up to 31. Used instead of date when given.","example":["05-12-2026","06-12-2026"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"asr":{"description":"Afternoon prayer time, HH:MM local.","type":"string"},"city":{"description":"The city as asked.","type":"string"},"country":{"description":"The country as asked.","type":"string"},"date":{"description":"The Gregorian day the times are for.","format":"date","type":"string"},"dhuhr":{"description":"Midday prayer time, HH:MM local.","type":"string"},"fajr":{"description":"Dawn prayer time, HH:MM local.","type":"string"},"hijri_date":{"description":"The Hijri date as DD-MM-YYYY.","type":"string"},"hijri_month":{"description":"Name of the Hijri month.","type":"string"},"id":{"description":"City, country and date joined, such as toronto-canada-2026-12-05.","type":"string"},"isha":{"description":"Night prayer time, HH:MM local.","type":"string"},"maghrib":{"description":"Sunset prayer time, HH:MM local.","type":"string"},"method":{"description":"Name of the calculation method used.","type":"string"},"sunrise":{"description":"Sunrise, HH:MM local.","type":"string"},"timezone":{"description":"The city's time zone, such as America/Toronto.","type":"string"}},"required":["id"],"title":"Prayer Times by City API","type":"object"},"samples":[{"id":"toronto-canada-2026-12-05","date":"2026-12-05","city":"Toronto","country":"Canada","fajr":"06:10","sunrise":"07:35","dhuhr":"12:08","asr":"14:23","maghrib":"16:41","isha":"18:07","hijri_date":"25-06-1448","hijri_month":"Jumādá al-ākhirah","timezone":"America/Toronto","method":"Islamic Society of North America (ISNA)"},{"id":"toronto-canada-2026-12-06","date":"2026-12-06","city":"Toronto","country":"Canada","fajr":"06:10","sunrise":"07:36","dhuhr":"12:09","asr":"14:23","maghrib":"16:41","isha":"18:07","hijri_date":"26-06-1448","hijri_month":"Jumādá al-ākhirah","timezone":"America/Toronto","method":"Islamic Society of North America (ISNA)"},{"id":"toronto-canada-2026-12-07","date":"2026-12-07","city":"Toronto","country":"Canada","fajr":"06:11","sunrise":"07:37","dhuhr":"12:09","asr":"14:23","maghrib":"16:41","isha":"18:07","hijri_date":"27-06-1448","hijri_month":"Jumādá al-ākhirah","timezone":"America/Toronto","method":"Islamic Society of North America (ISNA)"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"asr":1,"city":1,"country":1,"date":1,"dhuhr":1,"fajr":1,"hijri_date":1,"hijri_month":1,"id":1,"isha":1,"maghrib":1,"method":1,"sunrise":1,"timezone":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.391Z","activated_at":"2026-12-06T04:45:48.391Z","active":true,"contract_hash":"933ce0daeffdec3592c0be8e61139c153f5e6d7b547af920646ccd964273ffc0","fields_count":14}]}