Back to explorereligion

Prayer

Islamic prayer times

Times

Get the prayer (salah) times for a location on a given date

Price: Free

Request Payload

datestring

optional date in YYYY-MM-DD format, otherwise uses today

daysnumber

number of days to request times for

latitudenumber

optional latitude used in place of location

locationstring

location to retrieve prayer times for. this can be a specific address, city, etc

longitudenumber

optional longitude used in place of location

Response

datestring

date of request

daysnumber

number of days

latitudenumber

latitude of location

locationstring

location for the request

longitudenumber

longitude of location

timesarray

prayer times for the given location

Request

Response

1{
2    "date": "2021-09-22",
3    "days": 1,
4    "location": "london",
5    "latitude": 51.5073509,
6    "longitude": -0.1277583,
7    "times": [
8        {
9            "date": "2021-09-22",
10            "fajr": "04:38",
11            "sunrise": "06:47",
12            "zuhr": "12:53",
13            "asr": "16:11",
14            "maghrib": "18:59",
15            "isha": "20:52"
16        }
17    ]
18}