/v1/meta
Calculation methods & options
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/prayer-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/prayer-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/prayer-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Islamic prayer times, Hijri ⇄ Gregorian date conversion and Qibla direction. /v1/timings = the five daily prayers (+ sunrise, imsak, midnight) for a coordinate and date (default today), with the Hijri date and a calculation method; /v1/convert = convert a date between the Gregorian and Hijri calendars (from=gregorian|hijri); /v1/qibla = the compass direction & distance to the Kaaba. Dates accept YYYY-MM-DD or DD-MM-YYYY.",
"source": "Aladhan API (prayer times & Islamic calendar) + local Qibla calculation",
"endpoints": [
"/v1/timings",
"/v1/convert",
"/v1/qibla",
"/v1/meta"
],
"calculation_methods": {
"0": "Shia Ithna-Ansari",
"1": "University of Islamic Sciences, Karachi",
"2": "ISNA",
"3": "Muslim World League (default)",
"4": "Umm al-Qura, Makkah",
"5": "Egyptian General Authority",
"7": "Institute of Geophysics, Tehran",
"8": "Gulf Region",
"9": "Kuwait",
"10": "Qatar",
"11": "Singapore",
"12": "France",
"13": "Turkey",
"99": "Custom"
}
},
"meta": {
"timestamp": "2026-05-31T15:30:51.295Z",
"request_id": "a0c88eae-4fc2-435a-98fb-278b6dab816a"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}