Back to home
About Multilingual Al-Quran API
Learn more about this project and how to use it
Project Overview
The Multilingual Al-Quran API is a RESTful API that provides access to the Holy Quran with translations in multiple languages. This project aims to make the Quran more accessible to speakers of different languages and developers who want to build applications that include Quranic content.
Supported Languages
The API currently supports the following languages:
- Arabic (Original text)
- Bengali
- English
- Spanish
- French
- Indonesian
- Russian
- Swedish
- Turkish
- Urdu
- Chinese
- Transliteration
Data Source
The Quran data is stored in JSON format in the public directory of this application. Each language has its own JSON file with the appropriate translations.
API Usage
The API provides several endpoints to access Quran data in different languages:
- Get available languages:
/api/quran/languages
- Get all surahs:
/api/quran?lang={language_code}
- Get a specific surah:
/api/quran/surah/{id}?lang={language_code}
- Get a specific verse:
/api/quran/surah/{id}/verse/{verseId}?lang={language_code}
- Search the Quran:
/api/quran/search?q={query}&lang={language_code}