Closed eyadali05 closed 2 years ago
We changed the tafsir endpoint few months ago. Please use following endpoints:
Get list available tafsirs: https://api.qurancdn.com/api/v4/resources/tafsirs?language=en
Get tafsir for specific ayah: https://api.qurancdn.com/api/v4/tafsirs/ID_OR_SLUG/by_ayah/AYAH_KEY?locale=en&words=true
Sample api call: https://api.qurancdn.com/api/v4/tafsirs/tafseer-ibn-e-kaseer-urdu/by_ayah/1:1?locale=en&words=true
Tafsir is usually for group of ayahs, in this new api you'll get list of verses as well.
Also, please try to upgrade to v4, v3 is very old api. No plan to deprecate v3 but we will not push any fixes for v3. It's readonly now.
Also, join our discord server. We'll start posting API related change-log in #api channel
Problem Description
Tried to use the API to get the tafsir of a specific verse in a surah, my status code keeps staying at 404, thus, no response
I can use other functions of the API just as fine, confirmed can get list of verses, list of chapters, list of verses in a chapter, chapter info..
What I tried
Tried to use my user agent, didn't work
My Code
output I get: