Historical Weather API
The Historical Weather API allows you to quickly retrieve accurate, high resolution historical weather data for any location in the world. Our curated weather data is backed by over 120,000 weather stations as well as high resolution gridded weather datasets such as the ERA-5 re-analysis, and global satellite / doppler radar. Data retrieved from our API is gap-free (minimal missing data) due to its application of advanced machine learning, and statistical backfilling techniques.
Available weather fields:
- Temperature
- Pressure
- Dew point
- Wind speed
- Wind direction
- Precipitation
- Snowfall
- Cloud Cover
- Humidity
- Dew Point
- Solar Radiation
- UV Index
- Visibility
- Observed Weather
- Day/Night
Example API URL:
https://api.weatherbit.io/v2.0/history/subhourly?lat=35.78&lon=78.64&start_date=2024-10-05&end_date=2024-10-06&key=API_KEY
Available location retrieval methods:
- Latitude/longitude
- City name
- Weather station ID
- Airport ICAO code
- Postal (zip) code for any country in the world
Historical Weather API Advantages:
Advanced Historical Precipitation
The Historical Weather API provides information on rain/snowfall derived from high resolution historical datasets such as doppler radar, multi-sensor satellite, and ground based rain gauges.
Augmented Weather Station Data
Station data alone is not enough to capture small scale weather events. Retrieve real ground based observations in addition to derived data from accurate high resolution historical re-analysis products, and satellite-based observations with our API. This is particularly relevant in remote areas with poor data coverage. Read about how our competitors failed to depict a major flooding event in central Uganda with only station data.
Pinpoint Accuracy
Data from this API has an average spatial resolution of 1-15 kilometers (depending on region). This high resolution allows for a high degree of accuracy.
Sub-Hourly, Hourly, and Daily Weather Data
Historical weather data is available at sub-hourly (15 minute), hourly, and daily intervals going back more than 20 years in the past.
Gap Free
Gap free data is important to fueling AI/Machine Learning applications, and business intelligence use cases. Our API provides 99-100% data availability for any location in the world.
Historical Weather API's:
Daily Historical Weather
- Daily historical weather data for any location in the world.
- Backfilled, and gap-free historical data.
- Sourced from weather stations, radar, and re-analyses.
- Over 25 weather fields returned, including: min/max temperature, precipitation, snowfall/snow depth, UV index, solar irradiance, and wind speed.
Hourly Historical Weather
- Hourly historical weather data for any location in the world.
- Backfilled, and gap-free historical data.
- Sourced from weather stations, radar, and re-analyses.
- Over 20 weather fields returned, including: temperature, precipitation, estimated snowfall, UV index, solar irradiance, weather conditions, and wind speed.
Sub-Hourly Historical Weather
- Sub hourly (15 minute interval) historical weather data for any location in the world.
- Backfilled, and gap-free historical data.
- Sourced from weather stations, radar, and re-analyses.
- Over 20 weather fields returned, including: temperature, precipitation, estimated snowfall, UV index, weather conditions, and wind speed.
Climate Normals (1991-2020)
- Hourly / Daily / Monthly Climate Normals for any point in the world
- 30 year climate normals (averages) for any point in the world, at a spatial resolution of 9 kilometers. This API sources data from the "state of the art" 9 KM ERA-5 re-analysis
- 6 weather fields returned, including: temperature, precipitation, snowfall, dew point, wind speed, and wind direction
How do I get started?
- Sign up for an account.
- Use the API key provided in the account dashboard.
- Visit our API Documentation for usage instructions.