DevelopersPembangun
Islamic events APIAPI acara Islam
Kuliah, ceramah, tadarus and classes at mosques and surau across Malaysia, each checked by the TaubatApp team. Free JSON API and calendar feeds for your mosque website, app or digital signage.Kuliah, ceramah, tadarus dan kelas di masjid dan surau seluruh Malaysia, setiap satu disemak oleh pasukan TaubatApp. API JSON dan suapan kalendar percuma untuk laman web masjid, aplikasi atau papan digital anda.
No keyTanpa kunci
60 calls an hourpanggilan sejam
Per IP address, answers cached for 5 minutes. Fine for a website calling from the browser.Bagi setiap alamat IP, jawapan disimpan 5 minit. Sesuai untuk laman web yang memanggil dari pelayar.
Free keyKunci percuma
10,000 calls a daypanggilan sehari
For servers, apps and signage. Sign in, name it, done. Up to 3 keys.Untuk pelayan, aplikasi dan papan digital. Log masuk, namakan, siap. Sehingga 3 kunci.
PartnersRakan kongsi
20–100 events sent a dayacara dihantar sehari
Send your events from your own system. Most accounts get it straight away; a moderator checks every event.Hantar acara dari sistem anda. Kebanyakan akaun mendapatnya serta-merta; moderator menyemak setiap acara.
Quick startMula pantas
- Optional: make a free key if you’ll call more than 60 times an hour.Pilihan: buat kunci percuma jika anda memanggil lebih 60 kali sejam.
- Make your first call. No sign-up needed for this:Buat panggilan pertama. Tidak perlu mendaftar untuk ini:
curl "https://www.taubat.app/api/v1/events?state=selangor&category=kuliah"- Show “Events by TaubatApp” with a link to taubat.app/events wherever the events appear.Paparkan “Events by TaubatApp” dengan pautan ke taubat.app/events di mana-mana acara dipaparkan.
Your keysKunci anda
Send a key as the x-api-key header (or ?key=). Each answer says how many calls are left today in X-RateLimit-Remaining.Hantar kunci sebagai pengepala x-api-key (atau ?key=). Setiap jawapan menyatakan baki panggilan hari ini dalam X-RateLimit-Remaining.
Sign in with Google or Apple to make a key. No forms, no waiting: your key appears straight away.Log masuk dengan Google atau Apple untuk membuat kunci. Tiada borang, tiada menunggu: kunci anda muncul serta-merta.
Use the account you use in TaubatApp. We only use it to link what you send to you. See our privacy policy.Gunakan akaun yang sama seperti dalam TaubatApp. Kami hanya menggunakannya untuk mengaitkan apa yang anda hantar kepada anda. Lihat dasar privasi kami.
List eventsSenarai acara
GET/api/v1/events
Published events with at least one date in the range, soonest first.Acara yang dipaparkan dengan sekurang-kurangnya satu tarikh dalam julat, yang terawal dahulu.
| Parameter | What it does | Example |
|---|---|---|
state | One of: johor, kedah, kelantan, melaka, negeri-sembilan, pahang, perak, perlis, pulau-pinang, sabah, sarawak, selangor, terengganu, wp-kuala-lumpur, wp-labuan, wp-putrajaya | selangor |
category | One of: kuliah, kuliah_kitab, ceramah, tazkirah, forum, majlis_ilmu, kelas, tadarus, qiyamullail, zikir_selawat, solat_hajat_tahlil, seasonal, community, other | kuliah |
from / to | Malaysian dates, YYYY-MM-DD. Default: the next 14 days. At most 120 days. | 2026-10-16 |
venue | A venue id from /api/v1/venues | 9a1e… |
limit / offset | Up to 500 per page (default 100), and how many to skip. | 100 |
{
"licence": "Free to use with the credit \"Events by TaubatApp\" and a link to https://www.taubat.app/events",
"from": "2026-10-16",
"to": "2026-10-30",
"count": 1,
"events": [
{
"id": "3f0c…",
"slug": "kuliah-maghrib-tafsir-masjid-al-falah",
"url": "https://www.taubat.app/events/kuliah-maghrib-tafsir-masjid-al-falah",
"title": "Kuliah Maghrib: Tafsir Surah Al-Kahfi",
"category": "kuliah",
"language": "ms",
"speaker": "Ustaz Ahmad Faiz",
"organiser": null,
"venue": { "id": "9a1e…", "name": "Masjid Al-Falah", "address": "Jalan USJ 9/5, Subang Jaya",
"state": "Selangor", "jakim_zone": "SGR01", "lat": 3.0449, "lng": 101.5853 },
"repeat": "weekly", "weekday": 2, "nth": null,
"start_date": "2026-09-01", "end_date": null,
"time_mode": "prayer", "prayer_anchor": "maghrib", "offset_min": 0, "clock_time": null,
"duration_min": 60,
"online_url": null, "poster_url": null,
"tauliah_checked": true,
"updated_at": "2026-10-12T09:30:00Z",
"dates": ["2026-10-20", "2026-10-27"]
}
]
}VenuesTempat
GET/api/v1/venues
Mosques, surau and other places that have published events, with a calendar feed for each.Masjid, surau dan tempat lain yang ada acara dipaparkan, dengan suapan kalendar untuk setiap satu.
| Parameter | What it does | Example |
|---|---|---|
state | Optional, as above. | johor |
curl "https://www.taubat.app/api/v1/venues?state=johor"Calendar feedsSuapan kalendar
GET/api/v1/events.ics
An iCalendar feed people subscribe to in Google, Apple or Outlook Calendar. Repeating events carry their repeat rule. One feed per state or per venue; the same parameters as /events.Suapan iCalendar untuk dilanggan dalam Google, Apple atau Outlook Calendar. Acara berulang membawa peraturan ulangannya. Satu suapan bagi setiap negeri atau tempat; parameter sama seperti /events.
https://www.taubat.app/api/v1/events.ics?state=wp-kuala-lumpur
https://www.taubat.app/api/v1/events.ics?venue=<venue id>
https://www.taubat.app/events/<slug>/calendar.ics (one event)On a website, link to it with webcal:// instead of https:// so phones open the subscribe sheet.Di laman web, pautkan dengan webcal:// dan bukan https:// supaya telefon membuka helaian langganan.
Times and datesMasa dan tarikh
Many kuliah start “after Maghrib”, so a clock time would be wrong half the year. Each event has either time_mode: "clock" with clock_time (HH:MM, Malaysia time), or time_mode: "prayer" with prayer_anchor (subuh, zohor, asar, maghrib, isyak, jumaat) and offset_min. Work out the clock time from the JAKIM times for venue.jakim_zone on that date.Banyak kuliah bermula “selepas Maghrib”, jadi waktu jam akan salah separuh tahun. Setiap acara sama ada time_mode: "clock" dengan clock_time (HH:MM, waktu Malaysia), atau time_mode: "prayer" dengan prayer_anchor dan offset_min. Kira waktu jam daripada waktu JAKIM untuk venue.jakim_zone pada tarikh itu.
dates lists the dates inside your range, with cancelled weeks already taken out. repeat is once, weekly (on weekday, 0 = Sunday) or monthly (the nth weekday, -1 = last). Languages: ms, en, ar, ta, zh, mixed.dates menyenaraikan tarikh dalam julat anda, tanpa minggu yang dibatalkan. repeat ialah once, weekly (pada weekday, 0 = Ahad) atau monthly (nth, -1 = terakhir).
Limits and errorsHad dan ralat
Errors come back as JSON with a code and a plain sentence:Ralat dipulangkan sebagai JSON dengan kod dan ayat biasa: {"error":"OPEN_LIMIT","message":"…"}
| Status | Code | What to do |
|---|---|---|
| 400 | BAD_JSON | Send the event as one JSON object under 8 KB. |
| 401 | BAD_KEY | The key is wrong or revoked. Make a new one above. |
| 403 | NOT_ALLOWED | The key can’t send events. Ask for partner access on the key. |
| 422 | BAD_STATE, BAD_DATE… | A field is wrong; the message says which. |
| 429 | OPEN_LIMIT | 60 an hour without a key. Wait for Retry-After seconds, or use a key. |
| 429 | RATE_LIMIT | The key’s daily limit. It resets at 8:00 am Malaysia time (00:00 UTC). |
| 503 | ERROR | Our side; try again in a minute. |
Without a key, answers are cached at the edge for 5 minutes: poll every 5 to 10 minutes at most. Events rarely change more often.Tanpa kunci, jawapan disimpan 5 minit: tinjau setiap 5 hingga 10 minit sahaja. Acara jarang berubah lebih kerap.
Send events (partners)Hantar acara (rakan kongsi)
Mosques, organisers and apps can send their events from their own system. Make a key above, then choose Send events with this key. Most accounts get 20 a day straight away (100 for accounts whose events we’ve already approved). Brand-new accounts wait for our team, usually under a day.Masjid, penganjur dan aplikasi boleh menghantar acara dari sistem mereka. Buat kunci di atas, kemudian pilih Hantar acara dengan kunci ini. Kebanyakan akaun mendapat 20 sehari serta-merta (100 bagi akaun yang acaranya telah kami luluskan). Akaun baharu menunggu pasukan kami, biasanya kurang sehari.
POST/api/v1/events
The body is the event's fields, as on the Add an event form. Answer: 202 with the submission id. Every event waits for a moderator before it's published.Badan permintaan ialah medan acara, seperti borang Tambah acara. Jawapan: 202 dengan id penghantaran. Setiap acara menunggu moderator sebelum dipaparkan.
curl -X POST "https://www.taubat.app/api/v1/events" \
-H "x-api-key: tk_…" -H "content-type: application/json" \
-d '{"title":"Kuliah Maghrib","category":"kuliah","speaker":"Ustaz Ahmad Faiz",
"venue_name":"Masjid Al-Falah","state":"Selangor","jakim_zone":"SGR01",
"repeat":"weekly","weekday":2,"start_date":"2026-10-20",
"time_mode":"prayer","prayer_anchor":"maghrib","offset_min":0}'| Parameter | What it does | Example |
|---|---|---|
title * | 3 to 160 characters. | Kuliah Maghrib |
category * | A category key, as above. | kuliah |
venue_name *, state * | The place, and one of the 16 state names. | Selangor |
repeat *, start_date * | once, weekly or monthly; the first date. | weekly, 2026-10-20 |
weekday, nth | Needed for weekly (weekday) and monthly (both). | 2 |
time_mode * | clock with clock_time, or prayer with prayer_anchor and offset_min. | prayer |
speaker, organiser, venue_address, jakim_zone, end_date, duration_min, language, description, online_url | Optional. | SGR01 |
RulesPeraturan
- Show “Events by TaubatApp” with a link to https://www.taubat.app/events wherever the events appear.Paparkan “Events by TaubatApp” dengan pautan ke https://www.taubat.app/events di mana-mana acara dipaparkan.
- The API never includes who sent an event, reports or original posters.API tidak pernah mengandungi siapa yang menghantar acara, laporan atau poster asal.
- Don't change event details or present them as your own checks. Link back so people can report mistakes.Jangan ubah butiran acara atau mendakwanya sebagai semakan anda. Pautkan kembali supaya orang boleh melaporkan kesilapan.
- We may revoke keys that are abused. Questions: support@taubat.app.Kami boleh membatalkan kunci yang disalahgunakan. Soalan: support@taubat.app.