Moon Phase (SVG)
astroway_render_moon_phaseRender the moon disk with its illuminated fraction at any given moment, returning an SVG plus illumination metrics for charts and reports.
Instructions
Render the moon disk with its illuminated fraction at the given moment. Returns SVG plus illumination metrics.
[Group: Visualization] [Endpoint: POST /v1/render/moon-phase] [Cost: 10 credits (Tier 1)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC; send timezone instead (an IANA name such as Europe/Kyiv, or auto) and the offset for that date is worked out, summer time included. city is a display label only: nothing here geocodes it, so it never stands in for coordinates. houseSystem is a single Swiss Ephemeris letter, P by default; a name such as "Placidus" is refused, and the case matters because I and i are two different Sunshine systems. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | ||
| phase | No | ||
| waxing | No | ||
| elongationDeg | No | ||
| illuminationFraction | No |