Islamic API
Free Islamic REST API providing Prayer Times, Qibla Direction, 99 Names of Allah, and more — with a simple JSON interface.
Getting Started
Islamic API provides Islamic services through a simple REST API. All responses are JSON. No SDK needed — just fetch() any endpoint.
Base URL
https://your-domain.com
Format
All responses return JSON with success, service, data, and timestamp fields.
json
{
"success": true,
"service": "qibla-direction",
"data": { ... },
"timestamp": "2026-05-10T10:00:00.000Z"
}API Key Required
Every endpoint requires a valid API key. Generate your key →
Available APIs
| API | Endpoint | Description |
|---|---|---|
| Prayer Time | GET /api/v1/prayer-time | Accurate prayer times for any location |
| 99 Names of Allah | GET /api/v1/asma-ul-husna | Asma ul Husna with Arabic, transliteration, and meanings |
| Qibla Direction | GET /api/v1/qibla | Precise compass bearing to the Kaaba |
Quick Example
bash
curl "https://your-domain.com/api/v1/qibla?lat=24.7136&lon=46.6753&api_key=YOUR_KEY"json
{
"success": true,
"service": "qibla-direction",
"data": {
"qibla_direction": "Northwest",
"compass_bearing": 295.4,
"distance_km": 865.2,
"distance_miles": 537.6,
"location": {
"latitude": 24.7136,
"longitude": 46.6753
},
"kaaba_coordinates": {
"latitude": 21.4225,
"longitude": 39.8262
}
},
"timestamp": "2026-05-10T10:00:00.000Z",
"api_info": {
"usage": "GET /api/v1/qibla?lat=LATITUDE&lon=LONGITUDE&api_key=YOUR_KEY"
}
}