Welcome to the Quranic API. This API provides access to Quranic recitations.
Here are the available endpoints:
This endpoint returns all the surah in the Quranic API.
This endpoint returns a single surah in the Quranic API.
Example of fetching all surah:
fetch('https://thequranic.site/api/quran')
.then(response => response.json())
.then(data => console.log(data));
Example of fetching a single surah:
fetch('https://thequranic.site/api/quran/1')
.then(response => response.json())
.then(data => console.log(data));
The API will return data in the following format:
{
"id": 1,
"surah": "Al-Fatihah",
"url": "https://firebasestorage.googleapis.com/v0/b/shorts-341a4.appspot.com/o/quranic%2F001.mp3?alt=media&token=14825f23-323a-4b0c-a439-d8141131309b",
"sheikh": "Sheikh Abdi Rashiid Ali Sufi"
}