← All APIs PREMIUM

Hadith API

Hadith API with Sahih Bukhari and Sahih Muslim narrations: Arabic text, narrator, book and hadith number, translations in 9 languages. JSON REST API.

https://quranicapi.online/api/serve.php?slug=hadith&lang=all
See sample JSON
🔒
Premium API Subscribe for full access
Live API Tester

Fetch real JSON data instantly

📋 JSON Response● Live
{
    "title": "Hadith Collections",
    "description": "Authentic hadith with translations in 9 languages",
    "is_free": false,
    "items": [
        {
            "id": 1,
            "collection": "Sahih Bukhari",
            "book": 1,
            "hadith_number": 1,
            "arabic": "إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ",
            "narrator": "Umar ibn Al-Khattab (RA)",
            "translations": {
                "en": "Actions are judged by intentions, and every person will get what they intended.",
                "ur": "اعمال کا دارومدار نیتوں پر ہے اور ہر شخص کو وہی ملے گا جس کی اس نے نیت کی۔",
                "fr": "Les actions ne valent que par les intentions, et chacun n'aura que ce qu'il a eu l'intention de faire.",
                "de": "Taten werden nach den Absichten beurteilt, und jeder Mensch bekommt, was er beabsichtigt hat.",
                "tr": "Ameller niyetlere göredir ve herkes niyet ettiğini bulur.",
                "ms": "Sesungguhnya amalan itu bergantung kepada niat, dan setiap orang akan mendapat apa yang diniatkan.",
                "ru": "Дела оцениваются по намерениям, и каждый получит то, что намеревался.",
                "zh-CN": "行为取决于意图,每个人将得到他所意图的。",
                "ja": "行いは意図によって判断され、各人は意図したものを得る。"
            }
        },
        {
            "id": 2,
            "collection": "Sahih Muslim",
            "book": 1,
            "hadith_number": 45,
            "arabic": "بُنِيَ الإِسْلاَمُ عَلَى خَمْسٍ",
            "narrator": "Abdullah ibn Umar (RA)",
            "translations": {
                "en": "Islam is built upon five pillars: testimony of faith, prayer, zakah, fasting Ramadan, and Hajj.",
                "ur": "اسلام کی بنیاد پانچ چیزوں پر ہے: کلمہ، نماز، زکوٰۃ، روزہ اور حج۔",
                "fr": "L'Islam est bâti sur cinq piliers: la shahada, la prière, la zakât, le jeûne et le Hajj.",
                "de": "Der Islam ist auf fünf Säulen aufgebaut: Zeugnis, Gebet, Zakat, Fasten und Haddsch.",
                "tr": "İslam beş şey üzerine kurulmuştur: Şehadet, namaz, zekat, oruç ve hac.",
                "ms": "Islam dibina atas lima perkara: syahadah, solat, zakat, puasa dan haji.",
                "ru": "Ислам построен на пяти столпах: свидетельство, намаз, закят, пост и хадж.",
                "zh-CN": "伊斯兰教建立在五功之上:念功、礼拜、天课、斋戒和朝觐。",
                "ja": "イスラムは五つの柱の上に建てられている:信仰告白、礼拝、ザカート、断食、ハッジ。"
            }
        }
    ],
    "success": true,
    "slug": "hadith",
    "endpoint": "https://quranicapi.online/api/serve.php?slug=hadith",
    "download_url": "https://quranicapi.online/api/serve.php?slug=hadith&download=1"
}
💻 Code Examples
Select a platform...

About the Hadith API

Authentic hadith from Sahih Bukhari and Sahih Muslim, with Arabic text, narrator, collection, book and hadith number, plus translations in 9 languages. Responses are plain JSON over HTTPS, so the API works with Flutter, JavaScript, PHP, Python, Swift and any other language.

How to get access

  1. Try the sample JSON above to see the response format.
  2. Click Get API Key, pick the APIs you need and send the form.
  3. We reply by email or WhatsApp with your key and plan. See pricing and the documentation.

Related Hadith APIs