⚠️ You need Word by Word Quran script to render and highlight phrases.
Download it here
The ZIP file contains two JSON files:
phrases.json: A list of all shared phrases
phrase_verses.json: A mapping of each Ayah to the phrase IDs
phrases.json format and sample data
"50": {
"surahs": 32,
"ayahs": 70,
"count": 71,
"source": {
"key": "2:23",
"from": 15,
"to": 17
},
"ayah": {
"19:48": [
[4, 6]
],
"2:23": [
[15, 17]
]
}
}
- key key is the phrase ID (50 is this case)
- surahs: Number of Surahs where this phrase appears
- ayahs: Number of Ayahs containing this phrase
- count: Total number of times the phrase occurs
- source: The original Ayah and word range where this phrase is defined
- ayah:
List of Ayahs containing this phrase, key in this object is the ayah key
in
surah:ayah format and value is word range in ayah, these words should be highlighted
while showing this phrase.
phrase_verses.json format and sample data
"2:23": [50, 16379]
- Key: Ayah key in the
surah:ayah format
- Value: List of phrase IDs that appear in this Ayah