Перейти до вмісту
AstroWay/api v2.95.1 · docs
усі системи в нормі

Moon Phase (public, no key)

GET
/public/moon-phase
Code sample: cURL
request.sh
curl 'https://api.astroway.info/v1/public/moon-phase'

Geocentric moon phase for a date (computed at noon UTC) — deterministic, no AI, no birth data. _footer watermark.

date
string format: date

Calendar date YYYY-MM-DD (UTC). Defaults to today.

OK

Media type application/json
Example
{
"ok": true,
"data": {
"date": "2026-06-14",
"phase": 0.006,
"phaseName": "New Moon",
"majorPhase": "new_moon",
"illuminationPercent": 0.6,
"elongationDeg": 8.9,
"ageDays": 0.73,
"waxing": true,
"moonSign": "Gemini",
"sunSign": "Gemini"
},
"_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
}

Invalid sign or date

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_SIGN",
"message": "sign must be one of the 12 zodiac signs"
}
}
Корисно?