Quran Rihla

Developer API v1

A free, read-only JSON API with every dataset this site uses. No key is needed at low volume (300 requests per minute per IP; search 90 per minute). Responses carry ETag and cache headers.

Base URL: https://www.quranrihla.com/api/v1

Structure

  • GET /surahs, GET /surahs/{id}, GET /surahs/{id}/info?language=en|ur
  • GET /juzs, /hizbs, /pages, /rukus, /manzils

Verses

  • GET /verses/by_key/2:255
  • GET /verses?keys=1:1,2:255 (up to 100)
  • GET /verses/by_surah/{n}, /by_juz/{n}, /by_page/{n}, /by_hizb/{n}, /by_ruku/{n}, /by_manzil/{n}

Query options: translations=en-sahih,ur-maududi, words=true, word_language=en|ur, transliteration=true, script=uthmani|indopak|imlaei|tajweed, page, per_page (≤ 50).

Resources

  • GET /resources/translations, /resources/tafsirs, /resources/recitations, /resources/texts, /resources/languages
  • GET /tafsirs/{key}/by_ayah/2:255
  • GET /recitations/alafasy/by_surah/1, /recitations/alafasy/by_verse/2:255, /recitations/urdu-maududi/by_surah/1, /recitations/fr-leclerc/by_verse/2:255 (translation audio; list them with /resources/recitations)
  • GET /footnotes/{id}

Search

  • GET /search?q=mercy&language=en&surah=2&page=1
  • GET /suggest?q=yas

Example

curl 'https://www.quranrihla.com/api/v1/verses/by_key/1:1?translations=en-sahih&words=true'

Personal data

Endpoints under /me (bookmarks, notes, settings, reading position) need a signed-in session or a token. Token issuing for apps is planned for v2.

Please respect each dataset’s licence (see /resources/* and the sources page) and show attribution.

Go to

Add to your hifz

How well do you know it?

Saved in this browser. Sign in to keep it on all your devices.

Note on

Saved in this browser. Sign in to keep notes on all your devices.

Report an error in

Share as image