{"uid":"cap_2K8Xzoh78OzVjoFdkacT5","slug":"islamic-prayer-times-fd7f432a","name":"Islamic Prayer Times","description":"High-precision Islamic prayer times (fajr, sunrise, dhuhr, asr, maghrib, isha) plus qibla direction for any coordinates and date. Pure astronomical computation (adhan library), 11 calculation methods including Umm al-Qura, Dubai, Egyptian, MWL. Ideal for agents building Muslim-facing schedules, reminders, or travel plans.","url":"https://api.qist.info/api/prayer-times?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lng"],"properties":{"tz":{"type":"string","description":"IANA timezone for local HH:mm output, e.g. Asia/Riyadh. Omit for ISO 8601 UTC"},"lat":{"type":"number","description":"Latitude, -90 to 90"},"lng":{"type":"number","description":"Longitude, -180 to 180"},"date":{"type":"string","description":"Gregorian date YYYY-MM-DD (default: today)"},"madhab":{"type":"string","description":"Asr madhab: shafi (default) or hanafi"},"method":{"type":"string","description":"Calculation method: ummalqura (default), mwl, egyptian, karachi, dubai, qatar, kuwait, singapore, northamerica, turkey, moonsighting"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L-yJXe3hPsPXaA_LnMEf1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns precise Islamic prayer times (fajr, sunrise, dhuhr, asr, maghrib, isha) and qibla direction for any coordinates and date using astronomical computation","exampleAgentPrompt":"What are the prayer times for Istanbul on June 15, 2025, using the MWL calculation method and Hanafi madhab for asr? Use the Europe/Istanbul timezone.","exampleUseCases":[{"title":"Muslim travel itinerary prayer scheduling","prompt":"I'm traveling to Mecca on July 10, 2025 — can you get me the full prayer schedule for that day using the Umm al-Qura method at coordinates 21.4225, 39.8262 in the Asia/Riyadh timezone?"},{"title":"Daily prayer reminder app setup","prompt":"Get me today's prayer times for London at coordinates 51.5074, -0.1278 using the MWL calculation method and Shafi madhab in the Europe/London timezone so I can set up my reminders."},{"title":"Ramadan fasting schedule generation","prompt":"What are the fajr and maghrib times for Cairo, Egypt (coordinates 30.0444, 31.2357) on March 1, 2025 using the Egyptian calculation method? I need them in the Africa/Cairo timezone."}],"resultDescription":"Returns a structured object with precise times for all six daily prayers (fajr, sunrise, dhuhr, asr, maghrib, isha) and the qibla direction bearing, in either local HH:mm format (if timezone provided) or ISO 8601 UTC, calculated using the specified method and madhab","failureModes":["Missing required lat/lng parameters returns a 400 error","Invalid coordinate values (outside -90/90 or -180/180) return a validation error","Unrecognized calculation method or madhab string returns an error","Invalid IANA timezone string may cause a computation error or fallback to UTC","Invalid date format (not YYYY-MM-DD) returns a parsing error","Payment not completed or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need astronomically precise Islamic prayer times with support for multiple established calculation methods (Umm al-Qura, MWL, Egyptian, Dubai, etc.) and madhab variants. It is ideal for Muslim-facing applications, travel planners, Ramadan schedules, or any agent that needs to incorporate prayer time awareness. Prefer this over generic calendar APIs that lack Islamic-specific calculation methodology or qibla direction output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:32:34.373Z","isFirstParty":false,"canonicalSlug":"islamic-prayer-times-fd7f432a"}