SunriseSunset — Moon Phase & Lunar Times
sunrisesunset.moon.phaseGet moon phase, lunar illumination, and moonrise/moonset times for any location and date. Returns: moon phase name (New Moon, Waxing Crescent, First Quarter, Waxing Gibbous, Full Moon, Waning Gibbous, Last Quarter, Waning Crescent), phase value (0–1 cycle fraction), moon illumination percentage (0–100), moonrise time, moonset time, and flags for polar cases (moon_always_up / moon_always_down). No auth required; free commercial use. Source: SunriseSunset.io.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the target location (-90 to 90). Positive = North, Negative = South. | |
| lng | Yes | Longitude of the target location (-180 to 180). Positive = East, Negative = West. | |
| date | No | Date to query: "today", "tomorrow", or ISO date YYYY-MM-DD (e.g. 2026-01-15). Defaults to today. | |
| timezone | No | IANA timezone name for output times (e.g. America/New_York, Europe/London, Asia/Tokyo). Auto-detected from lat/lng if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |