Moon Phase (public, no key)
GET
/public/moon-phase
Code sample: cURL
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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” date
string format: date
Calendar date YYYY-MM-DD (UTC). Defaults to today.
Responses
Section titled “ Responses ”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" }} Корисно?
Дякуємо за фідбек.