Hosted API access is disabled on `al-quran-database.vercel.app` for now. Use the repository locally or self-host this project to run the API endpoints documented here.
Ayahs API
Deep access to individual Ayahs, word-by-word breakdowns, and scholarly metadata from the knowledge layer.
Get Ayah by Global ID
Fetch a specific Ayah using its absolute ID (1-6236). Supports translation and knowledge hydration.
GET
/api/v1/ayahs/1?include_words=trueClick "Run" to see live API response...
Word-by-Word
Get the linguistic breakdown (Arabic tokens) for every word in a specific Ayah.
GET
/api/v1/words?ayah_id=1Click "Run" to see live API response...
Knowledge Entry
Retrieve curated thematic tags, cross-references, and scholarly notes for an Ayah.
GET
/api/v1/knowledge/1Click "Run" to see live API response...