history_weather_api
Retrieve historical weather data for specific dates and locations to analyze past conditions, supporting queries by coordinates, city names, zip codes, and other parameters.
Instructions
History weather API method returns historical weather for a date on or after 1st Jan, 2010 (depending upon subscription level) as json.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Query parameter based on which data is sent back. It could be following: Latitude and Longitude (Decimal degree) e.g: q=48.8567,2.3508 city name e.g.: q=Paris US zip e.g.: q=10001 UK postcode e.g: q=SW1 Canada postal code e.g: q=G2J metar: e.g: q=metar:EGLL iata:<3 digit airport code> e.g: q=iata:DXB auto:ip IP lookup e.g: q=auto:ip IP address (IPv4 and IPv6 supported) e.g: q=100.0.0.1 | |
| lang | No | Returns 'condition:text' field in API in the desired language | |
| hour | No | Restricting history output to a specific hour in a given day. | 0 |
| dt | Yes | For history API 'dt' should be on or after 1st Jan, 2010 in yyyy-MM-dd format | |
| end_dt | No | Restrict date output for History API method. Should be on or after 1st Jan, 2010. Make sure end_dt is equal to or greater than 'dt'. |