Skip to main content

Ayah

Get Ayah by Number

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


Curl

curl -X 'GET' \
  'https://api-staging.quranhub.com/v1/ayah/2%3A255' \
  -H 'accept: application/json'

Request URL:

https://api-staging.quranhub.com/v1/ayah/2%3A255

Server response

{
  "code": 200,
  "status": "OK",
  "data": {
    "number": 262,
    "text": "?????????????? ?????? ?????????????? ???????????? ???????? ???????????????? ?????????????????????? ?? ?????? ???????????????????? ???????????? ?????????? ???????????? ?? ???????? ?????? ?????? ?????????????????????????? ?????????? ?????? ?????????????????? ?? ???????? ?????? ?????????????? ???????????????? ???????????????? ???????????? ???????????????????? ?? ???????????????? ?????? ???????????? ?????????????????????? ?????????? ???????????????????? ?? ?????????? ???????????????????? ???????????????? ???????? ???????????????? ???????????? ?????????? ?????????? ?? ???????????? ?????????????????????? ?????????????????????????? ?????????????????????? ?? ?????????? ?????????????????? ?????????????????????? ?? ???????????? ???????????????????? ????????????????????",
    "edition": {
      "identifier": "quran-simple",
      "language": "ar",
      "name": "Simple",
      "englishName": "Simple",
      "format": "text",
      "type": "quran",
      "direction": "rtl"
    },
    "surah": {
      "number": 2,
      "name": "???????? ????????????",
      "englishName": "Al-Baqara",
      "englishNameTranslation": "The Cow",
      "revelationType": "Medinan",
      "numberOfAyahs": 286
    },
    "numberInSurah": 255,
    "juz": 3,
    "manzil": 1,
    "page": 42,
    "ruku": 35,
    "hizbQuarter": 17,
    "sajda": false
  }
}