Loading...
Loading...
Complete documentation for the Mizan API. Analyze Quranic text with letter counting, word analysis, and Abjad calculations.
Make your first API request to analyze the Basmalah:
curl -X POST http://localhost:8000/api/v1/analysis/abjad \
-H "Content-Type: application/json" \
-d '{"text": "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ"}'/api/v1/analyzeAnalyze Arabic text for letters, words, and Abjad value
{
"text": "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ",
"letter_count": 19,
"word_count": 4,
"abjad_value": 786,
"letter_method": "traditional",
"abjad_system": "mashriqi"
}/api/v1/verses/{surah}/{ayah}Get a specific verse by surah and ayah number
{
"surah": 1,
"ayah": 1,
"text": "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ"
}/api/v1/surahsGet list of all surahs with metadata
{
"surahs": [
{
"number": 1,
"name_arabic": "الفاتحة",
"name_english": "Al-Fatiha",
"verse_count": 7
}
],
"total": 114
}/api/v1/healthCheck API health status
{
"status": "healthy",
"version": "0.1.0"
}traditionalInclude Alif Wasla, exclude Khanjariyya (Default)
uthmani_fullInclude both Alif Wasla and Khanjariyya
no_waslaBase letters only, exclude special characters
mashriqiEastern system - most common (Default)
maghribiWestern/North African system
| Metric | Value | Source |
|---|---|---|
| Al-Fatiha letters | 139 | Tanzil.net |
| Basmalah letters | 19 | Traditional |
| Allah Abjad | 66 | Universal |
| Basmalah Abjad | 786 | Universal |
| Total verses | 6,236 | Consensus |
| Total surahs | 114 | Consensus |