Public

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.

get/public/moon-phase

Query parameters

datestring date

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

langstring
Example:en

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

Accept-Languagestring

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

okboolean
_footerstring

Free-tier watermark, present on every public response. Keys on a paid plan do not receive it.

Example response

{
  "ok": true,
  "_footer": "Powered by astroway.api - get your own key at https://api.astroway.info"
}