Aller au contenu
GET /v1/easter

Western & Orthodox Easter

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/easter-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/easter-api/v1/easter" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/easter-api/v1/easter", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/easter-api/v1/easter");
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/easter-api/v1/easter",
    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": {
        "note": "Western Easter by the Anonymous Gregorian (Meeus/Jones/Butcher) computus; Orthodox Easter by the Julian computus converted to the Gregorian calendar. Easter is the first Sunday after the paschal full moon. 2024 → 31 March (West), 5 May (Orthodox).",
        "inputs": {
            "year": 2025
        },
        "western": {
            "day": 20,
            "date": "2025-04-20",
            "month": "April",
            "weekday": "Sunday"
        },
        "orthodox": {
            "day": 20,
            "date": "2025-04-20",
            "month": "April",
            "weekday": "Sunday"
        }
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:21.689Z",
        "request_id": "1c44bb6a-97c2-4468-b9ba-cdc189df0539"
    },
    "status": "ok",
    "message": "Easter dates",
    "success": true
}