Moon Phase (public, no key)
Geocentric moon phase for a date (computed at noon UTC): deterministic, no AI, no birth data. _footer watermark. The English phaseName, moonSign and sunSign are the stable identifiers to match on and never change; localized carries the same three in the requested language.
Query parameters
Calendar date YYYY-MM-DD (UTC). Defaults to today.
Language for this call, overriding Accept-Language. The canonical per-call form: a page that renders in one language passes it here rather than reconfiguring its client. Unknown or inactive codes fall back to uk.
Headers
BCP-47 language (e.g. uk, en, de). Set it once on your HTTP client as its default; for a single call, ?lang= overrides it. Unknown or inactive codes fall back to uk.
Response
OK
Example response
{
"ok": true,
"_footer": "Powered by astroway.api - get your own key at https://api.astroway.info"
}Changes
Changed in 1 of the 13 revisions of this API.2
- ○
added the new optional
headerrequest parameterAccept-Languagenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterlangnew-optional-request-parameter
- ○