fawazahmed0 / quran-api

Free Quran API Service with 90+ different languages and 400+ translations
The Unlicense
630 stars 113 forks source link
al-quran api free quran quran-api quran-digital quran-info quran-json quran-offline quran-online quran-text quran-translation quran-transliteration

Quran API

In the name of God, who has guided me to do this work

This repo contains collection of Quran Translations and to allow development of websites, apps etc, it is structured in REST Architectural Style. The purpose of this repo is to spread the word of God everywhere in the world

Features:

URL Structure:

https://cdn.jsdelivr.net/gh/fawazahmed0/quran-api@{apiVersion}/{endpoint}

Formats:

The Endpoints Supports HTTP GET Method and returns the data in two formats:

/{endpoint}.json

/{endpoint}.min.json

The above formats also work for fallback i.e if .min.json link fails, you can use .json link and vice versa

Warning: You should include fallback mechanism in your code, to avoid issues

Endpoints:

Get a minified version of it:
https://cdn.jsdelivr.net/gh/fawazahmed0/quran-api@1/editions.min.json

Get a latin(roman) script version of it by adding -la:
https://cdn.jsdelivr.net/gh/fawazahmed0/quran-api@1/editions/ben-muhiuddinkhan-la.json

Get a latin(roman) script with diacritical marks by adding -lad:
https://cdn.jsdelivr.net/gh/fawazahmed0/quran-api@1/editions/ben-muhiuddinkhan-lad.json

Get the whole chapter 5 in minified format:
https://cdn.jsdelivr.net/gh/fawazahmed0/quran-api@1/editions/ben-muhiuddinkhan-la/5.min.json

Similarly:

Displaying Text:

Languages Available:

By the mercy of God, there are 98 different language translations available and a collection of 440+ translations. Few of the translations were OCRed and may contain mistakes. Please do report the mistakes.

or

Download: Here

Authenticity:

I have taken care to not include any controversial authors, for example: 'Rashad Khalifa' , because there are chances that the translation may contain opinions of the author and not the meaning of the verse. The Ahmaddiya community has done great work in translating the quran to many different languages of the world. May God reward them with guidance. But I cannot take those translations also because the verses such as those talking about Jesus (4:157) usually have opinions of the author of what actually happened to Jesus etc.

I might have mistakenly added a few of them. In case you find any translation whose authenticity could be questioned, please let me know at here .After verifying the claims, I remove the translation

Any Issues: Raise here

Demo:

Projects using Quran API:

Other Similar Projects:

Share:

Please Share this repo with your fellow mates and Star this repo by clicking on :star: button above :arrow_upper_right:

Donation:

Even though I worked very hard on this project, I will not ask donation for myself. I will take the reward from God in this world and the next, may God accept my work.

But what I ask you is to donate directly to the authors and Islamic/dawah publishers who have worked so hard to make these translations, so that the word of God could spread around the world and people will know about the one who created them. Here is the Editions and References list, you might have to Google to get more details about them.

References:

All the open source projects and dawah/Islamic organizations

Please see Editions and References




:pencil2:Improve this page