API Documentation
Access prayer times, news, events, and more through our free public API. No authentication required.
No Auth Required
All endpoints are public
JSON Responses
Clean, structured data
AI-Friendly
Works with AI assistants
Prayer Times
Get daily prayer times and schedules for our mosque locations.
/api/prayer-timesList all locations with prayer times configured
/api/prayer-times/{location_slug}/todayGet today's prayer times for a specific location
/api/prayer-times/{location_slug}/date/{date}Get prayer times for a specific date (YYYY-MM-DD format)
/api/prayer-times/{location_slug}/monthGet prayer times for an entire month
Parameters
yearrequiredYear (e.g., 2026)monthrequiredMonth number 1-12/api/prayer-times/{location_slug}/ramadanGet Ramadan timetable with suhoor/iftar times
Parameters
yearYear (optional, defaults to current year)News & Articles
Access published news articles and announcements.
/api/newsList published articles with pagination
Parameters
pagePage number (default: 1)page_sizeItems per page (default: 20, max: 50)category_idFilter by category IDsearchSearch in title and contentfeaturedFilter featured articles only/api/news/slug/{slug}Get a single article by its URL slug
/api/news/categoriesList all news categories
Events
Browse upcoming and past community events.
/api/eventsList published events with pagination
Parameters
pagePage numberpage_sizeItems per pageupcomingShow only future events (true/false)categoryFilter by category (community, educational, charity, religious, youth)featured_onlyShow only featured eventssearchSearch in title and description/api/events/slug/{slug}Get event details by URL slug
Charity Projects
View active fundraising campaigns and charity projects.
/api/projectsList active charity projects
Parameters
pagePage numberpage_sizeItems per pagecategoryFilter by categorysearchSearch projects/api/projects/featuredGet featured projects for display
Parameters
limitNumber of projects to return/api/projects/slug/{slug}Get project details by URL slug
/api/projects/{project_id}/statsGet donation statistics for a project
Shop Products
Browse products available in our community shop.
/api/shopList active products
Parameters
pagePage numberpage_sizeItems per pagetypeProduct type (physical, external, preorder, interest)categoryFilter by categoryfeaturedFeatured products onlysearchSearch products/api/shop/{slug}Get product details by URL slug
Locations & Venues
Information about our mosque and community centre locations.
/api/locationsList all active locations
/api/locations/mainGet the main mosque/centre details
/api/locations/{slug}Get location details by URL slug
/api/locations/bookableList locations with room booking enabled
Room Booking
Check availability for room and hall bookings.
/api/bookings/availabilityCheck available time slots for a bookable unit
Parameters
unit_idrequiredThe bookable unit IDdaterequiredStart date (YYYY-MM-DD)endEnd date for range query (max 31 days)Donations
Public donation statistics.
/api/donations/statsGet public donation statistics (anonymized)
Example Response
Prayer times response from GET /api/prayer-times/al-jamia-al-zahra/today
{
"date": "2026-01-19",
"day_name": "Monday",
"fajr_start": "06:07",
"fajr_jamaat": "07:00",
"sunrise": "08:13",
"dhuhr_start": "12:22",
"dhuhr_jamaat": "13:00",
"asr_start": "14:37",
"asr_jamaat": "15:00",
"maghrib_start": "16:30",
"maghrib_jamaat": "16:30",
"isha_start": "17:52",
"isha_jamaat": "18:30",
"jummah_time": "13:00",
"is_ramadan": false,
"suhoor_end": null,
"iftar": null
}Need Help?
If you have questions about the API or need assistance integrating with our services, please get in touch.
Contact Us