The Quranic API Documentation

Welcome to the Quranic API. This API provides access to Quranic recitations.

Endpoints

Here are the available endpoints:

GET /api/quran

This endpoint returns all the surah in the Quranic API.

GET /api/quran/{id}

This endpoint returns a single surah in the Quranic API.

Examples

GET /api/quran

Example of fetching all surah:

fetch('https://thequranic.site/api/quran') .then(response => response.json()) .then(data => console.log(data));

GET /api/quran/{id}

Example of fetching a single surah:

fetch('https://thequranic.site/api/quran/1') .then(response => response.json()) .then(data => console.log(data));

Data Response Example

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" }