بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

Al Quran Content Delivery Network (CDN)

Al Quran Cloud provides an open CDN to serve audio files and Quran ayah images to allow you integrate media into your app. The documentation below explains how to access the media. Please note that the CDN is available over both http and https.

Audio files can be accessed via the CDN using the following URL:

http://cdn.alquran.cloud/media/audio/ayah/{edition}/{number}/{quality}
  • {edition} - An audio edition as returned by the API. (Example - ar.alafasy). A list of these editions is available here: http://api.alquran.cloud/edition/format/audio
  • {number} - An ayah number. the Quran contains 6236 ayahs, so this must be a number between 1 and 6236.
  • {quality} - Quality of audio served. Acceptable values are 'high' or 'low'. Do not specify if you want medium quality. Example: http://cdn.alquran.cloud/audio/ayah/ar.alafasy/262 will return a medium quality file for Ayat al Kursi.

Examples:

Image files can be accessed via the CDN using the following URL:

http://cdn.alquran.cloud/media/image/{surah}/{ayah}

Examples: