Astronomy API
API by Data and APIs · rest
Sunrise, sunset, twilight, golden hour, moon phase and moonrise for any coordinates and date, computed in-worker. Sun and moon, computed for any point on Earth and any date: sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight, the golden-hour window photographers plan around, live solar position (azimuth and elevation), moonrise and moonset, moon phase with its name and illumination percentage, lunar distance, and the dates of the next full and new moon. Pure computation with the standard astronomical algorithms — no upstream services, no rate-limited providers, answers in milliseconds at the lowest token cost. Accuracy is almanac-grade: New York''s 2026 summer-solstice sunrise lands within a minute of the published time, the equator gets its 12.1-hour equinox day, Tromso correctly reports polar night in January and midnight sun in June, and the computed next new and full moons match the real 2026 lunar calendar to the day. The almanac endpoint returns up…
Endpoint: https://api-astronomy.dataandapis.com/
Verification: observed. Source: crawl.
Capabilities (3)
- Multi-Day Almanac
- Moon Phase & Times
- Sun Times & Position