Islamic Networkٱلْقُرْآنُ ٱلْكَرِيمAl-Qurʾān al-Karīm
Client samples · أمثلة

Get started in four languages

Each sample below makes the same call — fetch Sūrah Al-Fātiḥa with the Saheeh International translation and print each āyah. Copy, paste, adjust the edition identifier.

The request
GET https://api.alquran.cloud/v1/surah/1/en.sahih
Install
npm install node-fetch # or use native fetch in Node 18+
Sample call
// fetch Sūrah Al-Fātiḥa with the Saheeh International translation
const res = await fetch(
  "https://api.alquran.cloud/v1/surah/1/en.sahih"
);
const { data } = await res.json();

console.log(`${data.englishName} — ${data.englishNameTranslation}`);
for (const ayah of data.ayahs) {
  console.log(`${ayah.numberInSurah}. ${ayah.text}`);
}

Official libraries

Tap any āyah ▷ to beginready · Alafasy