Zum Inhalt springen
GET /v1/calendar

Monthly lunar calendar

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "days": 31,
        "year": 2026,
        "month": 1,
        "calendar": [
            {
                "date": "2026-01-01",
                "emoji": "🌔",
                "phase": "Waxing Gibbous",
                "age_days": 12.43,
                "illumination_percent": 93.9
            },
            {
                "date": "2026-01-02",
                "emoji": "🌔",
                "phase": "Waxing Gibbous",
                "age_days": 13.43,
                "illumination_percent": 98
            },
            {
                "date": "2026-01-03",
                "emoji": "🌕",
                "phase": "Full Moon",
                "age_days": 14.43,
                "illumination_percent": 99.9
            },
            {
                "date": "2026-01-04",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 15.43,
                "illumination_percent": 99.5
            },
            {
                "date": "2026-01-05",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 16.43,
                "illumination_percent": 96.9
            },
            {
                "date": "2026-01-06",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 17.43,
                "illumination_percent": 92.2
            },
            {
                "date": "2026-01-07",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 18.43,
                "illumination_percent": 85.6
            },
            {
                "date": "2026-01-08",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 19.43,
                "illumination_percent": 77.4
            },
            {
                "date": "2026-01-09",
                "emoji": "🌖",
                "phase": "Waning Gibbous",
                "age_days": 20.43,
                "illumination_percent": 67.9
            },
            {
                "date": "2026-01-10",
                "emoji": "🌗",
                "phase": "Last Quarter",
                "age_days": 21.43,
                "illumination_percent": 57.6
            },
            {
                "date": "2026-01-11",
                "emoji": "🌘",
                "phase": "Waning Crescent",
                "age_days": 22.43,
                "illumination_percent": 47
            },
            {
                "date": "2026-01-12",
                "emoji": "🌘",
                "phase": "Waning Crescent",
                "age_days": 23.43,
                "illumination_percent": 36.6
            },
            {
                "date": "2026-01-13",
                "emoji": "🌘",
                "phase": "Waning Crescent",
                "age_days": 24.43,
                "illumination_percent": 26.7
            },
            {
                "date": "2026-01-1
…