Rafiq for developers

Islamic answers, with their evidence.

The engine behind rafiqai.app, as an API. Ask a question about Islam and get an answer grounded in the Qur'an, hadith and scholarly fatwas — with the sources it used.

Get an API key  Read the docs

curl https://api.rafiqai.app/v1/chat \
  -H "Authorization: Bearer rk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"message": "Can I combine prayers while travelling?"}'

Grounded, not guessed

Every ruling comes from a retrieved scholarly document, and the sources come back with the answer.

It declines

When the corpus does not answer your question, Rafiq says so instead of inventing something. That is the point.

Reference data

Qur'an text, prayer times and Hijri dates — fast, deterministic and cacheable.

Da'wah mode

A separate corpus and a different voice, for people exploring Islam or working through a doubt.

Free to start

5,000 calls a month, 30 requests a minute. Sign in with your Nizam account and create a key — no card, no sales call. If you need more, ask.