Edge-delivered via Cloudflare Workers

Al-Quran API for Modern Developers

Free, open-source REST API serving accurate Arabic text, Indonesian translations, and Tafsir Kemenag RI as clean JSON with sub-15ms edge latency.

curl
curl -s https://quran.dyzulk.com/api/surah/1 | jq .
Interactive Console

Test APIs Live in the Playground

Experience instant query execution and examine live JSON response payloads directly in your browser. Choose endpoints, tune path parameters, and grab copy-pasteable code snippets for cURL, JavaScript, Python, and Go.

GET/api/surah/1
200 OK
Response Payload (Al-Fatihah)
{
  "success": true,
  "data": {
    "number": 1,
    "name": "الفاتحة",
    "nameLatin": "Al-Fatihah",
    "numberOfAyah": 7,
    "translationName": "Pembukaan",
    "revelationType": "Makkiyah",
    "ayahs": [
      {
        "number": 1,
        "textArabic": "بِسْمِ اللّٰهِ الرَّحْمٰنِ الرَّحِيْمِ",
        "translationId": "Dengan nama Allah Yang Maha Pengasih, Maha Penyayang.",
        "tafsirKemenag": "Surah ini dimulai dengan membaca basmalah..."
      }
    ]
  },
  "meta": {
    "cached": true,
    "responseTimeMs": 15
  }
}

Why Quran Edge API?

Built for developers who need reliable, fast, and accurate Quran data.

Sub-Millisecond Edge Delivery

Served from Cloudflare Workers across 300+ edge locations worldwide for ultra-low latency responses.

Clean JSON Schema

Well-structured JSON with consistent field naming, string-keyed ayah records, and predictable response shapes.

Kemenag Standard Accuracy

Arabic text, Indonesian translations, and Tafsir sourced directly from the official Kementerian Agama RI application.

Tafsir Included

Every ayah includes detailed Tafsir from Kemenag RI, providing comprehensive interpretation and context.

D1 & KV Edge Infrastructure

Queries are powered by Cloudflare D1 serverless database, with KV namespaces for optimized cache retrieval.

100% Free & Open Source

MIT licensed. No API keys required. Rate limited to 60 requests/minute to prevent abuse. Fork it or self-host it.

Quickstart

Get started with Quran Edge API in under a minute. Pick your language and copy the snippet.

curl
# Get Al-Fatihah (Surah 1)
# With jq (formatted):
curl -s "https://quran.dyzulk.com/api/surah/1" | jq '.data.nameLatin'
# Raw JSON alternative (without jq):
curl -s "https://quran.dyzulk.com/api/surah/1"

# Search verses containing "esa"
curl -s "https://quran.dyzulk.com/api/search?q=esa"

# Get all 114 Surahs list
curl -s "https://quran.dyzulk.com/api/surah"

Frequently Asked Questions

Common questions about the Quran Edge API and dataset.

Ready to build with Quran Edge API?

Start integrating accurate Quran data into your application today. Free forever, no API key required.