API LIVE · V1

Build for the ummah.

Your masjid is more than prayer times. The complete, community-maintained data behind MyLocalMasjid — times, jama‘ah, jummah, events, facilities, announcements — live now for you to build on.

base: https://api.mylocalmasjid.com/v1 · auth: X-API-Key header · JSON
GET /v1/masjids/{id}?include=times
/masjids/{id}/prayer-times/events/facilities/announcements
$ curl -H "X-API-Key: $MLM_KEY" \
  "https://api.mylocalmasjid.com/v1/masjids/{id}?include=times"
{
  "name": "Holborn Masjid",
  "data_source": "masjid_sourced",
  "times": [ {
    "date": "2026-10-11",
    "asr_start": "15:31:00", "asr_jammat": "16:00:00",
    "last_updated": "2026-10-09T18:12:00Z"
  } ],
  // …location, facilities, contact
}
// response trimmed — the full schema is in the docs
// why an open API

Data is sadaqah jariyah when others can build on it.

We've spent years gathering real masjid data — times, facilities, locations — that simply didn't exist in one place. Locking it away helps no one. An open API lets developers across the ummah build prayer widgets, community apps, smart displays and more — each one a continuing benefit for the people who use it.

~/changesLIVE · recent updates
12:04times.asr.jamaah → "19:00"· by masjid
11:50+ announcement "Tafsir after Maghrib, Fridays"
10:32+ event "Eid prayer · 9:00 & 10:00"
09:15facilities.womens_area → true· by local hero
08:01ramadan.iftar → "community provided"
// it's your whole masjid

Not just prayer times. Everything your community keeps updated.

When a masjid or a local hero updates a time, adds an event, or posts an announcement, it's in the API — and every record says where it came from and when it last changed.

Prayer timesJama‘ahJummahEid & RamadanFacilitiesAnnouncementsEvents & classesJanazahLocation & contact
Consistent methodology — Moon Sighting Committee · Shafi.
// what you can build

One dataset. Endless community tools.

// free for your masjid — no build needed
// or build your own with the API

Community & city apps

A local masjid app for your estate, town, or city — your branding.

Bots & voice

WhatsApp, Telegram & Discord reminders, plus Alexa / Google skills.

Discovery & research

Event/class finders, maps mashups, and datasets for councils & studies.

// …and whatever you can imagine. It's the ummah's data — build something good with it.

// endpoints · v1

Fifteen read endpoints, documented.

Every response is JSON. Full schemas, parameters and examples are in the API reference.

GET/v1/masjidsList masjids, with search and filters
GET/v1/masjids/nearestFind masjids near a point
GET/v1/masjids/{id}Get a masjid (?include= times, events, …)
GET/v1/masjids/{id}/prayer-timesDaily start and jama‘ah times
GET/v1/masjids/{id}/special-prayersEid, Taraweeh and other special prayers
GET/v1/masjids/{id}/announcementsAnnouncements
GET/v1/masjids/{id}/facilitiesFacilities
GET/v1/masjids/{id}/eventsEvents and classes
GET/v1/masjids/{id}/servicesServices the masjid offers
GET/v1/countriesList countries
GET/v1/countries/{country}/citiesCities in a country
GET/v1/countries/{country}/cities/{city}/areasAreas in a city
GET/v1/searchSearch places
GET/v1/hijri-dateConvert a Gregorian date to Hijri
GET/v1/usageYour key's usage against its quota

// on the roadmap: webhooks on change, a corrections endpoint, bulk export.

// found a problem with the API? Report it →

// tiers

Limits that fit what you're building.

Explore

10 req/min

100 requests a day

Every new key starts here. Enough to prototype and run a small project.

Build

60 req/min

10,000 requests a month

For apps people rely on. Ask for an upgrade from your developer portal.

Partner

300+ req/min

Quota agreed per partner

For larger platforms and organisations. Talk to us.

// built on amanah

Our values come with the keys.

✓ Free & fair access✓ Privacy-first — no user tracking✓ Attribution to masjids✓ Built to benefit, not exploit

Request a key.

Tell us who you are and what you're building. Sadik reviews every request in the admin app, usually within two working days. Approved developers get an invite by email to sign in and create their key.

© MyLocalMasjid · Free, for the sake of Allah.
Run a masjid? Set it up free →