KhaleejiAPIKhaleejiAPI
PricingDocumentationAbout
Sign InGet Started
Back to all APIs

Prayer Times

Astronomical prayer time calculations for MENA cities with multiple methods

Category: UtilitiesEndpoint: /v1/prayer-times

Avg Response

<50ms

Uptime SLA

99.99%

Free Tier

1,000/mo

Quick Start

JavaScript / TypeScript

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
const client = new KhaleejiAPI({ apiKey: 'your_api_key' });
const result = await client.islamic.getPrayerTimes({
city: 'dubai',
method: 'mwl',
school: 'shafi',
});
console.log(result.prayers);
// { fajr: "05:23", sunrise: "06:42", dhuhr: "12:26", asr: "15:48", maghrib: "18:10", isha: "19:28" }
console.log(`Qibla: ${result.qibla.direction}° ${result.qibla.compass}`);
// "Qibla: 256.42° WSW"

Python

python
from khaleejiapi import KhaleejiAPI
client = KhaleejiAPI('your_api_key')
result = client.islamic.get_prayer_times(city="dubai", method="mwl")
print(result["prayers"])
# {"fajr": "05:23", "sunrise": "06:42", "dhuhr": "12:26", ...}
print(f"Qibla: {result['qibla']['direction']}° {result['qibla']['compass']}")

cURL

curl
curl -X GET "https://khaleejiapi.dev/api/v1/prayer-times?city=dubai&method=mwl" \
-H "x-api-key: your_api_key"
Get Your API KeyView Documentation

Related APIs

QR Code Generator

Generate QR codes with custom colors, logos, and formats

Translation API

AI-powered translation for 22+ languages with transliteration and formality control

Weather API

Real-time weather and 7-day forecasts for MENA cities via Open-Meteo

Hijri CalendarArabic Text Processing
KhaleejiAPIKhaleejiAPI

Fast, affordable APIs built in Dubai for developers across the Middle East.

All systems operational

APIs

  • Email Validation
  • Phone Validation
  • VAT Validation
  • IP Geolocation
  • Exchange Rates
  • Image Processing
  • View all →

Resources

  • Documentation
  • API Reference
  • SDKs
  • Status
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • DPA

© 2026 KhaleejiAPI. All rights reserved.

Made with love in Dubai by Berd-i & Sons