/v1/timings
Daily prayer times
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/prayer-api/v1/timings" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/prayer-api/v1/timings", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/prayer-api/v1/timings");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/prayer-api/v1/timings",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"timings": {
"date": {
"hijri": {
"day": "14",
"date": "14-12-1447",
"year": "1447",
"month": "Dhū al-Ḥijjah",
"weekday": "Al Ahad",
"month_ar": "ذوالحجة",
"designation": "AH",
"month_number": 12
},
"gregorian": "31-05-2026"
},
"method": "Muslim World League",
"location": {
"lat": 21.42,
"lon": 39.83,
"timezone": "Asia/Riyadh"
},
"prayer_times": {
"Asr": "15:34",
"Fajr": "04:14",
"Isha": "20:18",
"Dhuhr": "12:18",
"Imsak": "04:04",
"Sunset": "18:59",
"Maghrib": "18:59",
"Sunrise": "05:38",
"Midnight": "00:18"
}
}
},
"meta": {
"timestamp": "2026-05-31T15:30:51.041Z",
"request_id": "97cd5433-4f7c-4ee0-9c61-77955c771ec9"
},
"status": "ok",
"message": "Timings retrieved",
"success": true
}