Endpoints
A list of API endpoints
Quran
Returns the entire Quran
URL: /api/quran
Response
Format JSON
Quran | 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
Hadith
Returns the entire Hadith
URL: /api/hadith
Response
Format JSON
Hadith | 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