Prayer Times API
for Developers
RESTful API with 15+ calculation methods, Hijri calendar, Qibla direction, and timezone support. Built for developers, mosques, and Islamic apps.
# Example API call - replace with your endpoint
curl -X GET "https://example.com/api/v1/times?lat=55.7558&lng=37.6173" \
-H "X-API-Key: your_api_key"1{2 "data": {3 "date": "2023-10-25",4 "timings": {5 "Fajr": "05:43",6 "Sunrise": "07:12",7 "Dhuhr": "12:18",8 "Asr": "14:45",9 "Maghrib": "17:23",10 "Isha": "18:52"11 },12 "meta": {13 "method": "Muslim World League",14 "timezone": "Europe/Moscow"15 }16 }17}Why Choose Us
Everything you need for your Islamic app
A complete toolkit for developers building prayer time applications, mosque websites, and smart displays.
Precise Calculations
15+ calculation methods including MWL, ISNA, Egypt, Makkah, Karachi, and Tehran.
Global Coverage
Support for 180k+ cities from GeoNames database with automatic timezone detection.
Hijri Calendar
Built-in Gregorian to Hijri date conversion and full Islamic calendar support.
Developer First
RESTful architecture, generous rate limits, batch requests, and webhook support.
Explore the API
Simple, intuitive endpoints for all your Islamic application needs.
/v1/timesGet accurate prayer times for any location
{
"Fajr": "05:43",
"Sunrise": "07:12",
"Dhuhr": "12:18",
"Asr": "14:45",
"Maghrib": "17:23",
"Isha": "18:52"
}Built for every platform
Flexible integration for any use case
Mobile Apps
Integrate accurate prayer times and Qibla direction into your iOS and Android applications with a single API call.
Mosque Websites
Display live prayer schedules, upcoming iqamah times, and Hijri dates for your community website.
Smart Devices
Power IoT devices, digital signage, and smart home prayer reminder systems with reliable data.
Integrate in minutes
Our API is designed to be simple and idiomatic. Whether you use JavaScript, PHP, Python, or Swift, we have you covered with native examples and SDKs.
Get your API key from the dashboard
Choose your preferred calculation method
Make your first request
// Example API call - replace with your endpoint
fetch('https://example.com/api/v1/times?lat=51.5&lng=-0.1', {
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));Simple, transparent pricing
Start for free, scale as you grow.
Free
Perfect for hobby projects and testing.
- 60 requests/minute
- 1 API Key
- Community Support
- Basic Endpoints
- Attribution Required
Developer
For professional apps and websites.
- 300 requests/minute
- 5 API Keys
- Email Support
- All Endpoints
- No Attribution
- 99.9% SLA
Business
High volume and enterprise needs.
- Unlimited requests
- Unlimited Keys
- Priority Support
- Custom Contracts
- Dedicated Infrastructure