Endpoints
A list of API endpoints
Quran
Returns the entire Quran
URL: /api/quran
Response
Format JSON
Quran by Chapter
Returns a chapter of the quran
URL: /api/quran/{chapter}
Response
Format JSON
name
-string
- Name of chapternumber
-int
- Number of the chapterverses
-array
- Verses in the chapter
Quran by Verse
Returns a verse of the quran
URL: /api/quran/{chapter}/{verse}
Response
Format JSON
number
-int
- Number of the versetext
-string
- Text of the versearabic
-string
- Arabic text of the verse
Hadith
Returns the entire Hadith
URL: /api/hadith
Response
Format JSON
Hadith by Book
Returns a book from the hadith
URL: /api/hadith/{book}
Response
Format JSON
name
-string
- Name of bookhadiths
-array
- Hadiths in the book
Names
Returns the names of Allah
URL: /api/names
Response
Format JSON
Search
Get summarised answers via an LLM
URL: /api/search
Request
Format JSON
q
-string
- The question to ask
Response
Format JSON
q
-string
- The question askedanswer
-string
- Answer to the questionreferences
-array
- A list of references used