Weather Time Series
weather_time_seriesRetrieve historical weather data for any past date range up to 90 days daily or 7 days hourly. Requires start and end dates and a location.
Instructions
Get historical weather data over a date range (time series). Max range: 90 days for daily precision, 7 days for hourly. Only past dates are allowed — current or future dates are rejected. Data available back to 1940. Provide at least one of: 'location', lat+long, or 'ip'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | Start date in YYYY-MM-DD format. Must be a past date. | |
| end_date | Yes | End date in YYYY-MM-DD format. Must be a past date. Max 90 days from start_date (daily) or 7 days (hourly). | |
| location | No | Target location — city name, place name, or full address (e.g. "London", "Paris, France", "1600 Amphitheatre Parkway, Mountain View, CA"). | |
| 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. Required if 'location' and lat/long are not provided. | |
| precision | No | Data granularity: 'daily' (default, max 90 days) or 'hourly' (max 7 days). | daily |
| time_zone | No | Timezone for returned timestamps (tz database name, e.g. 'America/New_York'). Defaults to the resolved location's timezone. |