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|urGET /juzs,/hizbs,/pages,/rukus,/manzils
Verses
GET /verses/by_key/2:255GET /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/languagesGET /tafsirs/{key}/by_ayah/2:255GET /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=1GET /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.