📡
Public REST API
Access our data via API
Base URL: https://www.muslimaxis.com/api/v1
📌 All responses in JSON. Most endpoints are public. Pass lang=ar for Arabic results.
🕌 Places
GET
/places
List places
| Parameters | Type | Description |
|---|---|---|
country | string | Country code (SA, IQ…) |
city | string | City slug |
type | string | Place type (mosque, halal...) |
q | string | Search query |
limit | int | Result count (max 100) |
offset | int | For pagination |
GET
/place
Single place detail
| Parameters | Type | Description |
|---|---|---|
id * | int | Place identifier |
POST
/review
Submit a review
| Field | Type | Description |
|---|---|---|
place_id * | int | |
rating * | int 1–5 | |
comment | string | Review text |
name | string | Reviewer name |
🕐 Prayer Times
GET
/prayer
Prayer times by location
| Parameters | Type | Description |
|---|---|---|
lat * | float | Latitude |
lng * | float | Longitude |
method | int | Calculation method (1–23) |
school | 0|1 | 0=Shafi 1=Hanafi |
date | YYYY-MM-DD | Specific date (optional) |
📅 Events
GET
/events
List events
| Parameters | Description |
|---|---|
country | Country code |
city | City slug |
limit | max 50 |
🔍 Search & Cities
GET
/search
Unified search
| Parameters | Description |
|---|---|
q * | Search text |
country | Filter by country |
GET
/cities
List cities
| Parameters | Description |
|---|---|
country | Filter by country |
💡 All responses contain {"ok":true,"data":[...]} on success or {"ok":false,"error":"..."} on failure.
