Free Islamic REST API

The Islamic API
built for developers

Quran with Tafsir, Hadith, prayer times, Qibla, Hijri calendar, Duas, 99 Names — 8 languages. No signup, no API key — ever.

9Services
8Languages
36k+Hadiths
126Duas
$0Cost
GET /api/quran/surah/2/ayah/255 200 OK
{
  "success": true,
  "service": "quran-ayah",
  "data": {
    "surah": {
      "number": 2,
      "name_english": "Al-Baqarah",
      "name_arabic": "البقرة"
    },
    "verse": {
      "verse_key": "2:255",
      "arabic": "ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ...",
      "transliteration": "Allahu la ilaha illa Huwal-Hayyul-Qayyum...",
      "translations": {
        "sahih_international": "Allah - there is no deity except Him...",
        "pickthall": "Allah! There is no deity save Him..."
      },
      "audio": [
        { "reciter": "Mishary Rashid Alafasy" },
        { "reciter": "Abdul Rahman Al-Sudais" }
      ]
    }
  }
}
API Services
Everything an Islamic app needs.
01 — Featured

Quran API

Complete Quran with Arabic (Uthmani), transliteration, 8 translations in 8 languages, word-by-word breakdown, and audio from 8 reciters. Search, juz, and per-ayah streaming.

GET /api/quran/surah/36
Full Arabic TextUthmani script with tashkeel
8 TranslationsEnglish, Urdu, Turkish, Indonesian, French, German
Word-by-WordPer-word Arabic, transliteration & meaning
TafsirIbn Kathir, Ma'arif al-Qur'an, Muyassar
8 RecitersAlafasy, Sudais, Abdul Basit & more
Per-Ayah AudioStream any verse, any reciter
02

Prayer Times

Fajr to Isha for any location. 11+ calculation methods, Hanafi/Shafi madhab, monthly timetable, and full Ramadan schedules.

GET /api/prayer-times?lat=40.71&lng=-74
03

Qibla Direction

Precise compass bearing to the Kaaba using spherical trigonometry. Distance in km included.

GET /api/qibla?lat=51.5&lng=-0.12
04

Hijri Calendar

Gregorian/Hijri conversion, today's Islamic date, 12 month names, and major events.

GET /api/hijri-date?date=2026-04-02
05

99 Names of Allah

Asma ul Husna with Arabic, transliteration, meanings, search, and daily recitation groups.

GET /api/asma-ul-husna
06

Duas Collection

126 authentic duas from Quran and Sunnah across 27 categories — morning, sleep, travel, hajj, grief, and more.

GET /api/duas
07

Hadith API

Thousands of hadiths from 7 major collections — Bukhari, Muslim, Abu Dawud, Tirmidhi, Ibn Majah, Nasai, and Malik.

GET /api/hadith/bukhari?page=1
08

Tafsir

Scholarly Quranic commentary per ayah. Ibn Kathir and Ma'arif al-Qur'an in English, Muyassar and Ibn Kathir in Arabic.

GET /api/tafsir/ibn_kathir/surah/36
09

Word-by-Word Quran

Every word of the Quran with Arabic text, transliteration, and English meaning. Perfect for learning and tafsir apps.

GET /api/quran/words/1/1
Quick Start
No signup. No API key. Just fetch.
JavaScript
const res = await fetch(
  "https://ummahapi.com/api/quran/surah/36"
);
const yasin = await res.json();
console.log(yasin.data.verses[0].arabic);
Python
import requests

r = requests.get(
  "https://ummahapi.com/api/prayer-times",
  params={"lat": 24.86, "lng": 67.0,
          "madhab": "Hanafi"}
)
print(r.json()["data"]["prayer_times"])
cURL
# Random Quran verse with audio
curl "https://ummahapi.com/api/quran/random"

# Qibla from Istanbul
curl "https://ummahapi.com/api/qibla?lat=41&lng=28.9"
Response
{
  "success": true,
  "service": "quran-surah",
  "data": { ... },
  "timestamp": "2026-04-02T..."
}
Rate Limits
Generous limits for fair usage.
200per 15 minGeneral
30per minuteCalculations
1,000per hourMax Hourly

Open Source, Free Forever

Built as continuous charity for the ummah. Contributions and duas welcome.

Documentation GitHub