Astronomy Lookup
astronomy_lookupRetrieve astronomy data: sunrise, sunset, moon phase, twilight times, solar noon, moonrise/moonset, and sun/moon positions. Input location by address, coordinates, or IP address.
Instructions
Get astronomy data for a location and date: sunrise/sunset, moon phase, twilight, golden/blue hour, solar noon, moonrise/moonset, and sun/moon position metrics. Provide one of: ip, location, or lat+long. At least one is required. Date format: YYYY-MM-DD (past or future), defaulting to today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | City name or address (e.g. 'London', 'Tokyo, Japan'). Use EITHER this OR lat+long OR ip. | |
| lat | No | Latitude (-90 to 90). Must be paired with 'long'. | |
| long | No | Longitude (-180 to 180). Must be paired with 'lat'. | |
| ip | No | IPv4 or IPv6 address for location. Required if 'location' and lat/long are not provided. | |
| date | No | Date in YYYY-MM-DD format. Accepts past or future dates. Defaults to today. | |
| elevation | No | Elevation above sea level in meters (0–10,000). Defaults to 0. | |
| time_zone | No | Preferred timezone for returned time values (tz database name, e.g. 'America/New_York'). Defaults to the resolved location's timezone. | |
| lang | No | Language for location name fields. Defaults to English. | en |