Get Random Ayah by Edition
Returns a random ayah for a given edition.
Curl
curl -X 'GET' \
'https://api-staging.quranhub.com/v1/ayah/random/quran-uthmani' \
-H 'accept: application/json'
Request URL:
https://api-staging.quranhub.com/v1/ayah/random/quran-uthmani
Server response
{
"code": 200,
"status": "OK",
"data": {
"number": 4576,
"text": "?????????????????????????????????????? ?????????????? ???????????????? ?????????????????????????????? ?????????????? ?????????????????????????????? ???????????????????????? ??????????????????????????",
"edition": {
"identifier": "quran-uthmani",
"language": "ar",
"name": "Uthamani",
"englishName": "Uthamani",
"format": "text",
"type": "quran",
"direction": "rtl"
},
"surah": {
"number": 47,
"name": "???????? ????????",
"englishName": "Muhammad",
"englishNameTranslation": "Muhammad",
"revelationType": "Medinan",
"numberOfAyahs": 38
},
"numberInSurah": 31,
"juz": 26,
"manzil": 6,
"page": 510,
"ruku": 445,
"hizbQuarter": 203,
"sajda": false
}
}