بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
NOTE: If you are using this API, please sign up to the developer mailing list here so you can be informed of any updates or scheduled maintenance to the API.
Endpoints - Qibla Direction API
All endoints are available over https and httpss.
- Qibla Direction - http://api.aladhan.com/v1/qibla/:latitude/:longitude
-
Description:
Request the Qibla direction from a pair of co-ordinates
-
Method: GET
-
Parameters:
-
Endpoint URL: http://api.aladhan.com/v1/qibla/:latitude/:longitude
-
Example Request: http://api.aladhan.com/v1/qibla/25.4106386/51.1846025
-
Example Response:
HTTP/1.1 200 OK
{
code: 200,
status: "OK",
data: {
latitude: 25.4106386,
longitude: -54.189238,
direction: 68.92406695044804,
}
}