get_history
Retrieve historical weather data for past dates from 2010 onward, including daily summaries and hourly breakdowns, to analyze past conditions or verify weather events.
Instructions
Get historical weather data for a specific date from 1 January 2010 onwards. Returns daily summary and full hourly breakdown. Useful for past weather lookups, analytics, and backtesting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| dt | Yes | Date in yyyy-MM-dd format. Must be on or after 2010-01-01. | |
| end_dt | No | Optional end date for a date range (Pro+ plan only). Max 30 days range. yyyy-MM-dd. |