---
title: "Moon Phase"
method: POST
path: "/moon-phase"
tags: ["Calendar & Cycles"]
---

# Moon Phase

`POST /moon-phase`

Current moon phase at a given moment — illumination %, age in days, elongation, waxing/waning, sun + moon zodiac signs. Geocentric Sun-Moon elongation per Meeus Ch.48.

## Request body

- object

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `phase` number, nullable
    - `phaseName` string, nullable
    - `majorPhase` string, nullable
    - `illuminationPercent` number, nullable
    - `elongationDeg` number, nullable
    - `ageDays` number, nullable
    - `waxing` boolean, nullable
    - `moonSign` string, nullable
    - `sunSign` string, nullable
    - `moonLongitude` number, nullable
    - `sunLongitude` number, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/793e5c2dbcdf/schema)
