API documentation
Quickstarts, parameters, and what each plan includes.
- Ephemerides Sun and moon rise and set times for any latitude, longitude and elevation on Earth, with twilight phases, transit times and lunar phase. Pass your height above the horizon and every time is corrected for it.
- Solar Solar position (azimuth, altitude, zenith), clear-sky direct, diffuse and global horizontal irradiance, and Daily Light Integral for any location on Earth. Computed from JPL DE421 with an NREL SPA-equivalent method and the Bird Clear Sky Model, taking the observer's elevation into account.
- Tides Astronomical tide heights, high and low waters, harmonic constituents, and tide windows combined with sun and moon times, for any coastal point on Earth. Computed from the FES2022 global tide atlas for any date, past or future.
- MCP server Connect Claude, Cursor or any other MCP client directly to the data without writing an integration. Tool calls need a paid plan.
- Webhooks Event subscriptions for the Ephemerides and Solar APIs. Each delivery is HMAC-signed, retried with exponential backoff if it fails, and carries an idempotency key. Pro plans and up.