Zum Inhalt springen
GET /v1/convert

Convert Gregorian <-> Hebrew date

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/hebcal-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/hebcal-api/v1/convert" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hebcal-api/v1/convert", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hebcal-api/v1/convert");
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/hebcal-api/v1/convert",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "events": [
            "Erev Shavuot",
            "Parashat Nasso",
            "49th day of the Omer"
        ],
        "hebrew": {
            "day": 5,
            "year": 5785,
            "month": "Sivan",
            "display": "ה׳ בְּסִיוָן תשפ״ה"
        },
        "gregorian": {
            "day": 1,
            "year": 2025,
            "month": 6
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:22:55.640Z",
        "request_id": "bda466a0-76c6-4260-85a6-4faf5e246d95"
    },
    "status": "ok",
    "message": "Date converted",
    "success": true
}