Back to explore

religion

Prayer

Credits: 0.000001

Times

POST /v1/prayer/Times

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

Request

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

{
    "date": "2021-09-22",
    "days": 1,
    "location": "london",
    "latitude": 51.5073509,
    "longitude": -0.1277583,
    "times": [
        {
            "date": "2021-09-22",
            "fajr": "04:38",
            "sunrise": "06:47",
            "zuhr": "12:53",
            "asr": "16:11",
            "maghrib": "18:59",
            "isha": "20:52"
        }
    ]
}