Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

acikkuran-api

> 数据库
Open source

Açık Kuran API

198 stars0 likes2 views
WebsiteGitHub

About

Açık Kuran API

Açık Kuran API

CC BY-NC-SA 4.0

https://acikkuran.com

O mankind: there has come to you evidence from your Lord; and We have sent down to you a clear light. — Qur'an 4:174

Table of Contents

  • Introduction
  • Getting Started
    • Installation
    • Usage
  • Contributing
  • License
  • Routes List

Introduction

Acikkuran.com is an open-source project founded on the principles of volunteerism, with the mission of providing people with simple, ad-free, and easy-to-use access to the Qur'an. It is a non-profit initiative that does not pursue any financial or moral gain.

Acikkuran.com operates independently and is not affiliated with any group, community, ideology, institution, organization, association, or foundation.

All service and server expenses are covered by support from Patreon.

Getting Started

To get started with the application, follow these steps:

Installation

  1. Clone the repository to your local machine:
bash
git clone https://github.com/ziegfiroyt/acikkuran-api
  1. Copy the .env.example file to .env and fill in the relevant fields:
bash
cd acikkuran-api
cp .env.example .env
  1. Open the .env file in your preferred text editor and fill in the required environment variables.

  2. Install dependencies:

bash
npm install

Usage

Start the development server:

bash
npm run dev

Contributing

Thank you for considering contributing to our project. Your contributions can help improve the project and grow our community. To ensure smooth collaboration, please follow these guidelines:

  1. Check for Issues: Before starting work on a new feature or issue, check the existing issues to see if it has already been reported or if someone else is already working on it. If not, feel free to open a new issue to discuss your proposed changes.

  2. Fork the Repository: If you plan to contribute, fork the repository to your GitHub account and create a new branch for your work. This makes it easier to manage changes and submit pull requests.

  3. Work on Your Changes: Make your changes in your forked repository. Remember to write clear and concise commit messages that describe the purpose of your changes.

    • If the development you've done on the backend has a counterpart on the frontend, feel free to reach out. Our frontend repository is also open source. Check this out: Açık Kuran Frontend
  4. Submitting Changes: When you're ready to submit your changes:

    • Ensure that your code follows the project's coding conventions. (There is no guide yet, code is the guide)
    • Write tests, test your changes thoroughly to avoid introducing new bugs.
    • Create a pull request (PR) to the main repository's main branch.
    • Provide a detailed description of your changes in the PR, including the problem solved and any relevant information for reviewers.
  5. Review and Collaboration: Once your PR is submitted, it will be reviewed by project maintainers or contributors. Be open to feedback and be willing to make changes if necessary. Collaboration is key to the success of the project.

  6. Thank You! Every contribution, no matter how small, is valuable to us. Thank you for taking the time to contribute to our project and help make it better for everyone.

License

This project is protected under the CC BY-NC-SA 4.0 DEED license, please review the license details.

Routes List:

  • GET /authors
  • GET /surahs
  • GET /surah/[surah_id]?author=[author_id]
  • GET /surah/[surah_id]/verse/[verse_number]?author=[author_id]
  • GET /surah/[surah_id]/verse/[verse_number]/translations
  • GET /surah/[surah_id]/verse/[verse_number]/words
  • GET /surah/[surah_id]/verse/[verse_number]/verseparts
  • GET /root/latin/[latin_chars]
  • GET /root/latin/[latin_char]/verses?page=[page_number]&author=[author_id]
  • GET /root/latin/[latin_char]/verseparts?page=[page_number]&author=[author_id]
  • GET /root/[id]
  • GET /rootchars
  • GET /rootchar/[id]
  • GET /page/[page_number]?author_id=[author_id]

GET /authors

Lists all authors.

Example: https://api.acikkuran.com/authors

Response body:

json
{
    "data": [
      {
        "id": 50,
        "name": "Erhan Aktaş",
        "description": "Kerim Kur'an",
        "language": "tr",
        "url": null
      }
      {
        "id": 102,
        "name": "The Monotheist Group",
        "description": "The Quran: A Monotheist Translation",
        "language": "en",
        "url": null
      }
    ]
}

GET /surahs

Lists all surahs.

Example: https://api.acikkuran.com/surahs

Response body:

…

GET /surah/[surah_id]?author=[author_id]

Gets surah's detail and lists verses of this surah.

Example 1: https://api.acikkuran.com/surah/6 Default translation

Example 2: https://api.acikkuran.com/surah/6?author=8 Author can be select with author parameter

Response body:

…

GET /surah/[surah_id]/verse/[verse_number]?author=[author_id]

Gets verse's detail.

Example 1: https://api.acikkuran.com/surah/6/verse/1 Default translation

Example 2: https://api.acikkuran.com/surah/6/verse/1?author=8 Author can be select with author parameter

Response body:

…

GET /surah/[surah_id]/verse/[verse_number]/translations

Lists all translations of this verse.

Example: https://api.acikkuran.com/surah/6/verse/1/translations

Response body:

…

GET /surah/[surah_id]/verse/[verse_number]/words

This endpoint is no longer supported due to structural changes.

The data may be outdated and will soon be deprecated.
Please use the GET /surah/:surah_id/verse/:verse_number/verseparts endpoint instead.

Lists all words of this verse along with descriptions and root infos.

Example: https://api.acikkuran.com/surah/6/verse/1/words

Response body:

json
{
  "data": [
    {
      "id": 15996,
      "sort_number": 1,
      "transcription": "el-hamdu",
      "arabic": "الْحَمْدُ",
      "turkish": "hamdolsun",
      "root": {
        "id": 3,
        "latin": "Hmd",
        "arabic": "حمد"
      }
    },
    {
      "id": 15997,
      "sort_number": 2,
      "transcription": "lillahi",
      "arabic": "لِلَّهِ",
      "turkish": "o Allah'a",
      "root": null
    }
  ]
}

GET /surah/[surah_id]/verse/[verse_number]/verseparts

Lists all verseparts of this verse along with descriptions and root infos.

Example: https://api.acikkuran.com/surah/6/verse/1/verseparts

Response body:

…

GET /root/latin/[latin_chars]

Gets detail of this root with latin chars and lists all differentiations.

Example: https://api.acikkuran.com/root/latin/Hmd

Response body:

…

GET /root/latin/[latin_char]/verses?page=[page_number]&author=[author_id]

This endpoint is no longer supported due to structural changes.

The data may be outdated and will soon be deprecated.
Please use the GET /root/latin/:latin/verseparts endpoint instead.

Gets verses of this root with latin char, author and page parameters and repsonse them with pagination meta.

Example: https://api.acikkuran.com/root/latin/Hmd/verses

Response body:

…

GET /root/latin/[latin_char]/verseparts?page=[page_number]&author=[author_id]

Gets verses of this root with latin char, author and page parameters and repsonse them with pagination meta.

Example: https://api.acikkuran.com/root/latin/Hmd/verseparts

Response body:

…

GET /root/[id]

Gets detail of this root and lists all differentiations.

Example: https://api.acikkuran.com/root/3

Response body:

…

GET /rootchars

Lists all Arabic letters.

Example: https://api.acikkuran.com/rootchars

Response body:

json
{
  "data": [
    {
      "id": 1,
      "arabic": "س",
      "latin": "s"
    },
    {
      "id": 2,
      "arabic": "ر",
      "latin": "r"
    },
    {
      "id": 3,
      "arabic": "ح",
      "latin": "H"
    }
  ]
}

GET /rootchar/[id]

Lists all roots which begins with this letter.

Example: https://api.acikkuran.com/rootchar/1

Response body:

json
{
  "data": [
    {
      "id": 1,
      "latin": "smw",
      "arabic": "سمو"
    },
    {
      "id": 32,
      "latin": "swy",
      "arabic": "سوي"
    },
    {
      "id": 36,
      "latin": "smE",
      "arabic": "سمع"
    }
  ]
}

GET /page/[page_number]?author_id=[author_id]

List page verses of The Quran with page number and author id parameters

Example 1: https://api.acikkuran.com/page/1 Default translation Example 2: https://api.acikkuran.com/page/1?author=8 With author parameter

Response body:

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptfastifymeilisearchpostgresqlrest-api

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库