Sky snapshot for a place and moment
astro_sky_todayOne-call snapshot of the whole sky for a place and moment: moon phase and illumination, which planets are up and worth looking at, the next eclipse, and (with a location) sun times. Reach for this first when the question is broad, like "what is in the sky tonight". For solar-day detail use astro_sun; for choosing an observing night use astro_dark_window; for one planet's exact position use astro_positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone like "Europe/Lisbon" to render event times in local time. Optional; a resolved place supplies its own timezone. | |
| lat | No | Latitude in decimal degrees, north positive. Send lat and lon together. | |
| lon | No | Longitude in decimal degrees, east positive (Lisbon is about -9.14). Send lat and lon together. | |
| date | No | ISO 8601 UTC date or datetime, e.g. "2026-08-06" or "2026-08-06T21:00:00Z". Omit for the current moment. Years 1700 to 2200 only; outside that range the API refuses with DATE_OUT_OF_RANGE because the ephemeris is not reliable there. | |
| place | No | Place name instead of lat/lon, as "City" or "City,CC" with an ISO country code, e.g. "Lisbon,PT". Resolved server-side; the response then carries a required GeoNames CC BY 4.0 credit in its attribution field, which must be preserved when shown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | A whole-sky snapshot for one place and moment. | |
| rights | No | Either unrestricted, or attribution_required when third-party place data was used. When attribution_required, the attribution line must be shown. | |
| warnings | No | Machine-readable notices about this answer. Present only when non-empty. Never changes whether the call succeeded. | |
| attribution | No | The credit line to display verbatim when rights is attribution_required. | |
| next_cursor | No | Present only when more rows exist. Send it back with the SAME start/end arguments as the first call to get the next page. | |
| not_computed | No | Data this API deliberately does not serve, and why. Present only when the question touched such a field. An absence named here is information: treat it as "withheld", never as "none exists". |