Açık Kuran API
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
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.
To get started with the application, follow these steps:
git clone https://github.com/ziegfiroyt/acikkuran-apicd acikkuran-api
cp .env.example .envOpen the .env file in your preferred text editor and fill in the required environment variables.
Install dependencies:
npm installStart the development server:
npm run devThank 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:
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.
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.
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.
Submitting Changes: When you're ready to submit your changes:
main branch.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.
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.
This project is protected under the CC BY-NC-SA 4.0 DEED license, please review the license details.
/authors/surahs/surah/[surah_id]?author=[author_id]/surah/[surah_id]/verse/[verse_number]?author=[author_id]/surah/[surah_id]/verse/[verse_number]/translations/surah/[surah_id]/verse/[verse_number]/words/surah/[surah_id]/verse/[verse_number]/verseparts/root/latin/[latin_chars]/root/latin/[latin_char]/verses?page=[page_number]&author=[author_id]/root/latin/[latin_char]/verseparts?page=[page_number]&author=[author_id]/root/[id]/rootchars/rootchar/[id]/page/[page_number]?author_id=[author_id]/authorsLists all authors.
Example: https://api.acikkuran.com/authors
Response body:
{
"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
}
]
}/surahsLists all surahs.
Example: https://api.acikkuran.com/surahs
Response body:
…/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:
…/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:
…/surah/[surah_id]/verse/[verse_number]/translationsLists all translations of this verse.
Example: https://api.acikkuran.com/surah/6/verse/1/translations
Response body:
…/surah/[surah_id]/verse/[verse_number]/wordsThis 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:
{
"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
}
]
}/surah/[surah_id]/verse/[verse_number]/versepartsLists all verseparts of this verse along with descriptions and root infos.
Example: https://api.acikkuran.com/surah/6/verse/1/verseparts
Response body:
…/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:
…/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:
…/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:
…/root/[id]Gets detail of this root and lists all differentiations.
Example: https://api.acikkuran.com/root/3
Response body:
…/rootcharsLists all Arabic letters.
Example: https://api.acikkuran.com/rootchars
Response body:
{
"data": [
{
"id": 1,
"arabic": "س",
"latin": "s"
},
{
"id": 2,
"arabic": "ر",
"latin": "r"
},
{
"id": 3,
"arabic": "ح",
"latin": "H"
}
]
}/rootchar/[id]Lists all roots which begins with this letter.
Example: https://api.acikkuran.com/rootchar/1
Response body:
{
"data": [
{
"id": 1,
"latin": "smw",
"arabic": "سمو"
},
{
"id": 32,
"latin": "swy",
"arabic": "سوي"
},
{
"id": 36,
"latin": "smE",
"arabic": "سمع"
}
]
}/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:
…No open issues yet, or sync has not completed.