Skip to main content

Ayah

Get Ayah by Number and multiple Editions

Returns an ayah by it's number of number in surah for multiple editions, reference here can be the ayah number or the surah:ayah. For instance, 262 or 2:255 will both get you Ayat Al Kursi. You can specify multiple editions separated by a comma.


Curl

curl -X 'GET' \
  'https://api-staging.quranhub.com/v1/ayah/6236/editions/ar.alafasy%2Cquran-uthmani' \
  -H 'accept: application/json'

Request URL:

https://api-staging.quranhub.com/v1/ayah/6236/editions/ar.alafasy%2Cquran-uthmani

Server response

{
  "code": 200,
  "status": "OK",
  "data": [
    {
      "number": 6236,
      "text": "???????? ???????????????????? ????????????????????",
      "edition": {
        "identifier": "ar.alafasy",
        "language": "ar",
        "name": "?????????? ??????????????",
        "englishName": "Alafasy",
        "format": "audio",
        "type": "versebyverse",
        "direction": null
      },
      "surah": {
        "number": 114,
        "name": "???????? ??????????",
        "englishName": "An-Naas",
        "englishNameTranslation": "Mankind",
        "revelationType": "Meccan",
        "numberOfAyahs": 6
      },
      "numberInSurah": 6,
      "juz": 30,
      "manzil": 7,
      "page": 604,
      "ruku": 556,
      "hizbQuarter": 240,
      "sajda": false,
      "audio": "https://quranhub.b-cdn.net/staging/quran/audio/128/ar.alafasy/6236.mp3",
      "audioSecondary": [
        "https://quranhub.b-cdn.net/staging/quran/audio/64/ar.alafasy/6236.mp3"
      ]
    },
    {
      "number": 6236,
      "text": "???????? ???????????????????? ????????????????????",
      "edition": {
        "identifier": "quran-uthmani",
        "language": "ar",
        "name": "Uthamani",
        "englishName": "Uthamani",
        "format": "text",
        "type": "quran",
        "direction": "rtl"
      },
      "surah": {
        "number": 114,
        "name": "???????? ??????????",
        "englishName": "An-Naas",
        "englishNameTranslation": "Mankind",
        "revelationType": "Meccan",
        "numberOfAyahs": 6
      },
      "numberInSurah": 6,
      "juz": 30,
      "manzil": 7,
      "page": 604,
      "ruku": 556,
      "hizbQuarter": 240,
      "sajda": false
    }
  ]
}