Get Random Ayah by Multiple Editions
Returns a random ayah for given multple editions. You can specify multiple editions separated by a comma.
Curl
curl -X 'GET' \
'https://api-staging.quranhub.com/v1/ayah/random/editions/quran-uthmani%2Car.alafasy' \
-H 'accept: application/json'
Request URL:
https://api-staging.quranhub.com/v1/ayah/random/editions/quran-uthmani%2Car.alafasy
Server response
{
"code": 200,
"status": "OK",
"data": [
{
"number": 4291,
"text": "?????????????? ???????????????? ???????????????????????? ???????????????? ?????? ???????????????? ?? ???????????? ???????????????????? ????????????????????",
"edition": {
"identifier": "quran-uthmani",
"language": "ar",
"name": "Uthamani",
"englishName": "Uthamani",
"format": "text",
"type": "quran",
"direction": "rtl"
},
"surah": {
"number": 42,
"name": "???????? ????????????",
"englishName": "Ash-Shura",
"englishNameTranslation": "Consultation",
"revelationType": "Meccan",
"numberOfAyahs": 53
},
"numberInSurah": 19,
"juz": 25,
"manzil": 6,
"page": 485,
"ruku": 420,
"hizbQuarter": 194,
"sajda": false
},
{
"number": 4291,
"text": "?????????????? ?????????????? ?????????????????????? ???????????????? ???????? ?????????????? ?? ???????????? ???????????????????? ????????????????????",
"edition": {
"identifier": "ar.alafasy",
"language": "ar",
"name": "?????????? ??????????????",
"englishName": "Alafasy",
"format": "audio",
"type": "versebyverse",
"direction": null
},
"surah": {
"number": 42,
"name": "???????? ????????????",
"englishName": "Ash-Shura",
"englishNameTranslation": "Consultation",
"revelationType": "Meccan",
"numberOfAyahs": 53
},
"numberInSurah": 19,
"juz": 25,
"manzil": 6,
"page": 485,
"ruku": 420,
"hizbQuarter": 194,
"sajda": false,
"audio": "https://quranhub.b-cdn.net/staging/quran/audio/128/ar.alafasy/4291.mp3",
"audioSecondary": [
"https://quranhub.b-cdn.net/staging/quran/audio/64/ar.alafasy/4291.mp3"
]
}
]
}