Now in Public Beta

Islamic Knowledge API

Access 87,000+ verified Islamic sources via a simple REST API. Build intelligent Islamic applications powered by authentic scholarship.

Integrate in Minutes

One endpoint. Any language. Instant answers.

JavaScript
const response = await fetch('https://muslimai.uk/api/v1/ask', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer mai_live_your_key_here',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    question: 'What are the five pillars of Islam?'
  })
});

const data = await response.json();
console.log(data.answer);
Python
import requests

response = requests.post(
    'https://muslimai.uk/api/v1/ask',
    headers={
        'Authorization': 'Bearer mai_live_your_key_here',
        'Content-Type': 'application/json'
    },
    json={
        'question': 'What are the five pillars of Islam?'
    }
)

data = response.json()
print(data['answer'])
cURL
curl -X POST https://muslimai.uk/api/v1/ask \
  -H "Authorization: Bearer mai_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"question": "What are the five pillars of Islam?"}'
Response
{
  "answer": "The five pillars of Islam are the foundational acts of worship...",
  "sources": [
    { "title": "Sahih al-Bukhari 8", "score": 0.95 },
    { "title": "Sahih Muslim 16", "score": 0.91 }
  ],
  "usage": {
    "tokensIn": 1250,
    "tokensOut": 180,
    "latencyMs": 1340,
    "dailyRemaining": 9,
    "monthlyRemaining": 299
  }
}

Built for Developers

Everything you need to build Islamic knowledge applications.

📚

Verified Sources

Access 87,000+ verified Islamic texts including Quran, Hadith, Tafsir, and scholarly works.

RAG-Powered

Retrieval-Augmented Generation ensures answers are grounded in authentic Islamic scholarship.

🚀

Fast Response

Average response time under 2 seconds powered by Groq inference infrastructure.

📑

Source Citations

Every response includes source citations so you can verify and reference the original texts.

🔨

Simple REST API

Single endpoint, Bearer token auth. Integrate in minutes with any language or framework.

📊

Rate Limiting

Built-in rate limiting with clear headers. Know your usage and remaining quota at all times.

Simple, Transparent Pricing

Start free. Scale as you grow.

Free

Free
  • 10 requests/day
  • 300 requests/month
  • 5 req/min rate limit
  • 300 max tokens
  • Community support
Get Started Free

Basic

£4.99/month
  • 500 requests/day
  • 15,000 requests/month
  • 30 req/min rate limit
  • 500 max tokens
  • Email support
Start Basic Plan
Most Popular

Pro

£19.99/month
  • 5,000 requests/day
  • 150,000 requests/month
  • 60 req/min rate limit
  • 800 max tokens
  • Priority support
Start Pro Plan

Enterprise

£49.99/month
  • Unlimited requests
  • Unlimited monthly
  • 120 req/min rate limit
  • 2,000 max tokens
  • Dedicated support
Contact Sales

Ready to Get Started?

Create your free API key and start building with Islamic knowledge in under a minute.

Create Free API Key