The whole tafsir catalog, live
Every tafsir in turath.io’s catalog and the Qur’an are loaded, and the API that searches them is live at grep.getbayan.app.
The API is live
https://grep.getbayan.app answers the ayah lookup, search, quotes, context and the book list for everyone, with no key, rate-limited per address. The docs describe it as it runs. Agentic search stays off for now.
All 275 tafsirs are loaded
The whole tafsir catalog of turath.io, from Mujahid ibn Jabr (d. 104 AH) to the commentaries of our own century: 992,812 passages, each one cited. With the Qur’an’s ayahs that is 999,048 passages, 995,568 of them searchable by keyword and by meaning.
The Qur’an, from the Tanzil Project
All 6,236 ayahs of Tanzil’s Uthmani text, word for word, one passage to an ayah, credited and linked as Tanzil asks.
The Books page
Books lists the Qur’an and every tafsir the library holds: its passages, how much of the Qur’an it covers, its quote links, whether the ayah lookup answers from it, and a link to read it on turath.
Ayah mapping across the catalog
Each book’s passages are mapped to the ayahs they explain from its own structure: its ayah anchors, its headings, the ayah numbers it prints, or a section that opens by quoting the ayah. 80 tafsirs answer the ayah lookup, 19 of them with a passage on every one of the 6,236 ayahs. Headings that name a whole surah no longer give every ayah of it to each of their passages. See Ayah lookup.
Quote links
664,725 of the passages’ quotations in ﴿…﴾ are matched to the ayahs they quote, so GET /v1/quotes/:surah/:ayah and the ayah lookup’s quotedBy cover the whole library.
The models
Meaning search embeds with embeddinggemma-2 at 256 dimensions, and Gemma 4 turns an English question into Arabic search terms. Nothing is reranked by default: in the model test a reranker lowered the quality of results. Every model call goes through Cloudflare’s AI Gateway, with its logs off.