DamarCreative
City, Province --:--
Country

DOCs.

Designed for developers who need a reliable, high-performance, and easy-to-use Quran Data source. Built with In-Memory Caching technology for blazing fast response times.

Whether you are building a mobile app, web application, or analysis tool, our API provides clean JSON data for all 114 Surahs, including multiple translations and Arabic text.

Base URL:
https://quran-api.damarcreative.my.id/api

Deployment Information

Please note that this API is provided as a usage example and is not intended for general deployment due to resource limitations.

We encourage you to deploy your own instance. You can get the script from our repository, which uses Node.js for the database.

Get the Script on GitHub

List All Surahs

Retrieve metadata for all 114 Surahs.

GET /surah
Sample Response (JSON)
{
  "status": "success",
  "count": 114,
  "data": [
    {
      "number": 1,
      "name": "Al-Fatihah",
      "name_ar": "الفاتحة",
      "type": "Meccan",
      "total_ayahs": 7
    },
    ...
  ]
}

Get Arabic Text

Fetch the Utmani Script for a specific Surah.

GET /surah/{number}/arabic
Sample Response (JSON)
{
  "status": "success",
  "data": {
    "surah": 1,
    "ayahs": [
      {
        "number": 1,
        "text": "بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ"
      },
      ...
    ]
  }
}

Get Translation

Fetch translation in various languages (e.g., en-sahih, id-indonesian).

GET /surah/{number}/{edition}
Sample Response (JSON)
{
  "status": "success",
  "data": {
    "surah": 1,
    "translation": "en-sahih",
    "ayahs": [
      {
        "number": 1,
        "text": "In the name of Allah, the Entirely Merciful, the Especially Merciful."
      },
      ...
    ]
  }
}

Available Editions

en-sahih id-indonesian ar-jalalayn fr-hamidullah ru-kuliev

Usage Example

Here is a simple example using JavaScript fetch.

fetch('https://quran-api.damarcreative.my.id/api/surah/1/id-indonesian')
  .then(res => res.json())
  .then(data => console.log(data));
Sample Response (JSON)
{
  "status": "success",
  "data": {
    "surah": 1,
    "translation": "id-indonesian",
    "ayahs": [
      {
        "number": 1,
        "text": "Dengan nama Allah Yang Maha Pengasih, Maha Penyayang."
      },
      ...
    ]
  }
}

API Playground

Test the API directly here.