THE AZAN PRAYER TIMES API

Meaningful apps.
One simple API.

Bring Kerala’s prayer timetables into your next project. Straightforward JSON, familiar endpoints, and no API key to get in the way.

  • No authentication
  • JSON responses
  • Free to use
today.jsonExample response
{
  "date":    "01-10-2026",
  "subh":    "4:58 AM",
  "sunrise": "6:16 AM",
  "duhr":    "12:20 PM",
  "asar":    "3:38 PM",
  "maghrib": "6:21 PM",
  "isha":    "7:30 PM"
}
01 / GETTING STARTED

From request to prayer times.

Find a timetable in the locations index, then use its exact identifier to request a day, month, year, or the complete dataset.

BASE URLhttps://api.azantimes.in
JavaScript
const base = 'https://api.azantimes.in';
const location = 'Kuttiady_Assembly_Constituency';
const response = await fetch(
  `${base}/v1/timesheets/${encodeURIComponent(location)}/today.json`
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const times = await response.json();
console.log(times.subh); // '4:58 AM' in this example

These endpoints serve generated timetable files. Always check the returned date before presenting a record as today’s prayer times.

02 / ENDPOINTS

Five endpoints. No setup.

All requests use GET. Location identifiers are case-sensitive; URL-encode the identifier when building a request.

GET/v1/timesheets/index.json

Available timetables

An array of location and timetable identifiers.

string[]
GET/v1/timesheets/{location}/today.json

Daily timetable

A single record for the day the data was generated.

object
GET/v1/timesheets/{location}/month.json

Monthly timetable

The month selected when the data was generated.

object[]
GET/v1/timesheets/{location}/year.json

Yearly timetable

The year selected when the data was generated.

object[]
GET/v1/timesheets/{location}/all.json

Complete dataset

All published records for the selected timetable.

object[]
03 / TRY IT YOURSELF

Meet your next integration.

Make a real request. See exactly what comes back.

LIVE EXPLORER
GET/v1/timesheets/…/today.json
Response JSONLoading locations…
Your response will appear here.
04 / RESPONSE FORMAT

A familiar shape, every time.

Prayer times use 12-hour local time in India (Asia/Kolkata, UTC+05:30). Field names follow the source timetables.

Prayer timetable response fields
FieldDescriptionExample
dateDay, in DD-MM-YYYY format01-10-2026
subhFajr / dawn prayer4:58 AM
sunriseSunrise6:16 AM
duhrDhuhr / noon prayer12:20 PM
asarAsr / afternoon prayer3:38 PM
maghribMaghrib / sunset prayer6:21 PM
ishaIsha / night prayer7:30 PM
05 / INTEGRATION NOTES

A few things to build around.

Choose the right timetable

Some locations include different sources or schools of jurisprudence. Preserve the source name and let people select the timetable they follow.

Check dates, then cache

Files are generated ahead of serving. Validate their dates and cache a month or year for date-based lookups instead of repeatedly fetching daily data.

Handle unavailable data

Check the HTTP status before parsing JSON. Missing files can return a 404 or an HTML error page. Keep a helpful fallback in your interface.

Respect the local schedule

Timetable times are local to their location. Do not reinterpret them in the device’s timezone. Confirm local mosque timings for congregation times.

Made for everyday moments of faith.

Looking for prayer times? Open the Azan dashboard