Available Tafsirs
Currently, three major tafsirs are available:
- Ibn Kathir
- Maarif Ul Quran
- Tazkirul Quran
Good to know
- The
contenttext is in MarkDown format, so you can render it easily. groupVersewill have a text when the tafsir is for a group of verses. Otherwise,null- The responses for ayah will vary from 3KB to 88KB
- The responses for surah will vary from 50KB to 4MB
- Tafsirs are taken from Quran.com (opens in a new tab)
Replace <surahNo> with the Surah Number and <ayahNo> with the Ayah Number.
Tafsir of an Ayah
Request Format
Make a GET request to api/tafsir/<surahNo>_<ayahNo>.json
Response
A JSON object containing three major tafsirs of the requested verse.
Example Response
Endpoint: /api/tafsir/19_56.json
{
"surahName": "Maryam",
"surahNo": 19,
"ayahNo": 56,
"tafsirs": [
{
"author": "Ibn Kathir",
"groupVerse": "You are reading a tafsir for the group of verses 19:56 to 19:57",
"content": "## Mentioning Idris\n\nAllah complimented Idris for being a truthful Prophet and He mentioned that he raised him to a high station. It has previously been mentioned that in the Sahih it is recorded that the Messenger of Allah ﷺ passed by Idris on the night of the Isra (Night Journey) and he (Idris) was in the fourth heaven..."
},
{
"author": "Maarif Ul Quran",
"groupVerse": null,
"content": "..."
},
{
"author": "Tazkirul Quran",
"groupVerse": "You are reading a tafsir for the group of verses 19:54 to 19:57",
"content": "..."
}
]
}See the original tafsir (opens in a new tab) from quran.com
Tafsir of a Surah
Request Format
Make a GET request to api/tafsir/<surahNo>.json
Response
A JSON object containing three major tafsirs of the requested surah with all the verses.
Example Response
Endpoint: /api/tafsir/19.json
{
"surahName": "Maryam",
"totalVerse": 98,
"tafsirs": [
[
{
"author": "Ibn Kathir",
"groupVerse": "You are reading a tafsir for the group of verses 19:1 to 19:6",
"content": "## Which was revealed in Makkah\n\nMuhammad bin Ishaq recorded a Hadith of Umm Salamah in his Sirah, and Ahmad bin Hanbal recorded from Ibn Mas`ud, the story of the Hijrah (migration) to Ethiopia from Makkah..."
},
{
"author": "Maarif Ul Quran",
"groupVerse": "...",
"content": "..."
},
{
"author": "Tazkirul Quran",
"groupVerse": "...",
"content": "..."
}
],
[
{
"author": "Ibn Kathir",
"groupVerse": "...",
"content": "..."
},
...
],
...
}