skypeek: sunrise, sunset, twilight and moon phase
sun_moon_timesskypeek: sunrise, sunset, solar noon, day length and civil / nautical / astronomical twilight, plus moonrise, moonset, moon phase, illumination and distance, for a point and a local date, in a time zone you choose. Input: lat, lon, optional date (YYYY-MM-DD, 1900-2100, default today) and tz (IANA zone, default UTC). Computed locally (Meeus series; no upstream call): sun and twilight times within about 1 minute, moonrise and moonset within about 3 minutes; sea-level horizon, terrain and weather not modelled. A bad date or time zone is a 422 (not charged). Typically under 0.2 s. Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day (every skypeek route shares one pool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone for the date and the output (such as Asia/Manila); default UTC. | |
| lat | Yes | Latitude in degrees (-90 to 90). | |
| lon | Yes | Longitude in degrees (-180 to 180). | |
| date | No | Local date YYYY-MM-DD (1900-2100); default today. |