Sunrise Sunset
science__sunrise-sunsetCalculate sunrise, sunset, and twilight times for any location and date using scientific data. Returns results with quality scoring and source verification for research accuracy.
Instructions
[Science & Research Agent] Get sunrise, sunset, and twilight times for a given latitude/longitude and date. Source: Sunrise-Sunset API (Public), updates daily. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude | |
| lng | Yes | Longitude | |
| date | No | Date in YYYY-MM-DD format, or 'today' | today |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |