Documentation menu
API reference
All endpoints use GET and return JSON from https://api.azantimes.in. Ids are lower case with hyphens. Each endpoint has its own page with a Try it panel.
| Endpoint | Description | Size |
|---|---|---|
GET/List timetables | Every timetable with its district, school and coordinates | 156 KB |
GET/Get a timetable | One timetable, with the years available | 1 KB |
GET/Get a year timetable Most used | Every day of one calendar year | 43 KB |
GET/Get the perpetual timetable | The 366-day table, valid for any year | 42 KB |
GET/Get API information | Prayer keys, years, links and dataVersion | 1 KB |
How the files fit together
Every file carries links to the next, so you can start at the index and follow them.
api.azantimes.in/v2/index.jsonAbout the APIlocations.json191 timetablesopenapi.jsonOpenAPI 3.1locations/{id}.jsonOne timetable{id}/timetables/{year}.jsonOne yearperpetual.jsonAny yearPath parameters
idstringrequiredTimetable id from List timetables, for example kuttiady-assembly-constituency.
yearintegerrequiredCalendar year from 2020 to 2031. A new year is added each January.