Get Random Ayah
Returns a random ayah
Curl
curl -X 'GET' \
'https://api-staging.quranhub.com/v1/ayah/random' \
-H 'accept: application/json'
Request URL:
https://api-staging.quranhub.com/v1/ayah/random
Server response
{
"code": 200,
"status": "OK",
"data": {
"number": 5923,
"text": "???????????? ???????????????????? ????????????????????",
"edition": {
"identifier": "quran-simple",
"language": "ar",
"name": "Simple",
"englishName": "Simple",
"format": "text",
"type": "quran",
"direction": "rtl"
},
"surah": {
"number": 85,
"name": "???????? ????????????",
"englishName": "Al-Burooj",
"englishNameTranslation": "The Constellations",
"revelationType": "Meccan",
"numberOfAyahs": 22
},
"numberInSurah": 14,
"juz": 30,
"manzil": 7,
"page": 590,
"ruku": 527,
"hizbQuarter": 236,
"sajda": false
}
}