quran / quran.com-api

Quran.com content APIs
https://api-docs.quran.foundation/docs/category/content-apis
MIT License
930 stars 194 forks source link

Tafsirs not returned in Verse by chapter #549

Closed asim closed 2 years ago

asim commented 2 years ago

Previously it was possible to specify tafsir ids to get the interpretation in verse by chapter, not it appears nothing is returned. Are tafsirs no longer supported? Specifically in english. Tafsir ids 168 and 169.

0911-Mahin commented 2 years ago

I have the same Problem. I had also raised an issue on this about 20 days ago. My Issue link - https://github.com/quran/quran.com-api/issues/542

naveed-ahmad commented 2 years ago

Please use the following API for fetching tafsir of an ayah, this is a recent change and unfortunately not documented yet. Starting documentation after Ramadan inshAllah.

https://api.quran.com/api/v4/tafsirs/{TAFSIR_ID}/by_ayah/{AYAH_KEY}

Sample apis https://api.quran.com/api/v4/tafsirs/169/by_ayah/1:1 https://api.quran.com/api/v4/tafsirs/169/by_ayah/114:2