About this endpoint
What it does
Returns the Moon phase, zodiac sign, illumination percentage, and elongation for the given moment. If birth_utc is omitted, the current UTC time is used.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| birth_utc | String | No | Date/time in UTC (date-time format). Defaults to the current moment if omitted. |
Response
Returns a JSON object with birth_utc as a String, moon_sign as a String, moon_phase as a String, elongation_deg as a Number, and illumination_pct as a Number.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| birth_utc | String | Yes | The moment used for the calculation (echoes input, or current time if none was given). |
| moon_sign | ENUM | Yes | Allowed values: Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces. |
| moon_phase | ENUM | Yes | Allowed values: New Moon, First Quarter, Full Moon, Last Quarter. |
| elongation_deg | Number | Yes | Moon elongation in degrees. Range: 0 to 360. |
| illumination_pct | Number | Yes | Moon illumination percentage. Range: 0 to 100. |