# Weather APIs for Every Use Case

OpenWeather provides global weather data APIs for current conditions, forecasts, historical archives, air quality, maps, and industry-specific use cases. Explore the product families below to find the API that fits your application, workflow, or business need.

## Featured API

## One Call API  4.0

### All-in-One Weather Data, One Simple Call

**One Call API 4.0**

Access real-time weather, hourly & daily forecasts, national alerts, and historical data — through a unified timeline-based API. Whether you’re building apps, analytics, AI workflows, dashboards, and enterprise weather solutions, One Call API 4.0 is your all-purpose solution.

[Read the Detailed Product Description](/api/one-call-4-desciption.md)

- **Current Conditions**: Real-time weather conditions including temperature, humidity, wind, pressure, clouds, and more.
- **1-Minute Forecast**: Minute-by-minute precipitation forecast for the next 60 minutes.
- **15-Minute Forecast Timeline**: High-resolution 15-minute forecast timeline for the next 48 hours powered by the OWHL™ hyper-local model.
- **Hourly Weather Timeline**: Explore 47+ years+ years of hourly historical weather data and up to 48 hours of forecast records through a unified weather timeline endpoint.
- **Daily Weather Timeline**: Access long-range daily weather timelines combining 47+ years+ years of historical archive with forecasts up to 1.5 years ahead.
- **National Weather Alerts**: Government-issued weather alerts and detailed metadata from official national meteorological agencies (e.g. NOAA, EUMETNET)

- [Subscribe](https://home.openweathermap.org/subscriptions/unauth_subscribe/onecall_40/base)
- [Explore API Doc](/api/one-call-4.md)

<!-- block-id: collections -->

### Current Weather Data

- Access current weather data for any location
- We collect and process weather data from different sources such as global and local weather models, satellites, radars and a vast network of weather stations
- JSON, XML, and HTML formats
- Included in both free and paid subscriptions

### Hourly Forecast 4 days

- Hourly forecast is available for 4 days
- Forecast weather data for 96 timestamps
- JSON and XML formats
- Included in the Developer, Professional and Expert subscription plans

### Daily Forecast 16 days

- 16 days forecast is available for any location on the globe
- 1-day step for 16 days
- JSON and XML formats
- Included in all paid subscription plans

### Climatic Forecast 30 days

- Forecast weather data for 30 days
- JSON format
- Included in the Developer, Professional and Expert subscription plans

### Bulk Current Data

- Current weather, a variety of weather forecasts and their 7-day archive via regularly updated files
- Weather bulks are grouped by types of weather data and location lists (global city lists or ZIP code lists of EU, UK, and US)
- Bulk files are available via CSV and JSON formats
- Included in the Professional and Expert subscription plans

### 5 Day / 3 Hour Forecast

- 5 day forecast for any location on the globe
- 5 day forecast with a 3-hour step
- JSON and XML formats
- Included in both free and paid subscriptions

### Road Risk API

- Specify your route and get weather data and national alerts for the point of destination and along the route
- Current, forecast for 5 days and historical weather data for 1 year for your route
- Weather data are available for any point on the globe
- To receive information on price and get a quote, please [contact us](mailto:info@openweathermap.org)

### Solar Irradiance API

- Get the solar data by particular location and calculate energy generation!
- [GHI](/api/solar-irradiance.md), [DNI](/api/solar-irradiance.md), [DHI](/api/solar-irradiance.md) indices for clear sky and cloudy sky models
- Current data and forecast for 15 days ahead solar irradiation data
- 47+ years of historical data (from January 1, 1979)
- Daily aggregation with 1-hour and 15-minutes step detalization for specified day
- Available worldwide

### Solar Irradiance History Bulk

- Solar Irradiance History Bulk provides historical weather data for any location for more than 47+ years back (from January 1, 1979)
- [GHI](/api/solar-irradiance.md), [DNI](/api/solar-irradiance.md), [DHI](/api/solar-irradiance.md) indices for clear sky and cloudy sky models
- Data is available in 15-minutes and 1-hour steps
- CSV and JSON formats
- Available worldwide
- Available through our [Marketplace](https://home.openweathermap.org/marketplace)

### Solar Irradiance History Forecast Bulk

- Solar Irradiance History Bulk provides historical weather data for any location for more than 47+ years back (from January 1, 1979)
- [GHI](/api/solar-irradiance.md), [DNI](/api/solar-irradiance.md), [DHI](/api/solar-irradiance.md) indices for clear sky and cloudy sky models
- Data is available in 15-minutes and 1-hour steps
- CSV and JSON formats
- Available worldwide
- Available through our [Marketplace](https://home.openweathermap.org/marketplace)

### Solar Panel Energy Prediction

Get the particular solar panel power output, based on the panel’s technical characteristics!

- Create unlimited number of solar panels for particular location with the desired specifications
- Current and forecast for 15 days ahead solar panel power output data
- 47+ years of historical data (from January 1, 1979)
- Daily aggregation with 1-hour and 15-minutes step detalization for specified day
- Available worldwide

### Weather History API

- Through our API we provide historical weather data for any location on the globe
- Weather data have 1-hour step
- Weather History API is available in Professional and Expert subscription plans
- JSON format

### History Bulk

- History Bulk provides weather data for **any** location for 47+ years back (from January 01, 1979).
- Available through our [Marketplace](https://home.openweathermap.org/marketplace)
- CSV and JSON formats

### History Forecast Bulk

- Historical archive of 16-days forecast weather data
- Historical forecast data is available from October 7, 2017
- CSV and JSON formats
- You can purchase the product from our [Marketplace](https://home.openweathermap.org/marketplace)

### Statistical Weather API

- Statistical data on main weather parameters for any day and month of the year
- The statistics are calculated based on our [Historical weather data](/history.md)
- JSON format
- The weather data updated every hour
- Statistical Weather Data API is available in Expert subscription plan

### Accumulated Parameters

- Accumulated temperature and precipitation data
- Accumulated Parameters are available in Professional and Expert subscription plans
- JSON format
- More opportunities for agriculture in our [Agricultural API](https://agromonitoring.com/api/agro-api)

### Weather Maps 2.0 3-hour step

- Forecast, Historical, Current weather maps with 3-hour step
- 15 weather map layers
- The maps can be used as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps
- Included in Developer, Professional and Expert subscription plans

### Weather Maps 2.0 1-hour step

- Forecast, Historical, Current weather maps with 1-hour step
- 14 weather map layers
- The maps can be used as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps

### Weather Maps 1.0

- Weather maps include precipitation, clouds, pressure, temperature, wind, and more
- Integrate our weather maps to your mobile applications and websites
- Use as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps
- Included in both free and paid subscriptions

### Global Precipitation Maps Historical data

- Current and historical weather maps for the previous 2 days
- Historical precipitation data with 10-minutes step
- Resolution higher than 1 km
- Use as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps
- Included in Professional and Expert subscription plans

### Global Precipitation Maps Historical & Forecast data

- Current, forecast and historical precipitation maps
- Forecast is available for the next 6 hours for the US territory and for the next 2 hours for other global areas
- The historical weather map for the previous 2 days
- Data update period is every 10 minutes
- Resolution higher than 1 km
- Use as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps

### Relief Maps

- The combination of a layer tint (colored raster) and a hillshade
- Customizable color palette
- Use as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps
- Included in Developer, Professional and Expert subscription plans

### Air Pollution API

- Current, forecast and historical air pollution data
- Forecast for 4 days ahead with 1-hour step
- Air Pollution API includes both Air Quality Index and indices for CO, NO, NO2, O3, SO2, NH3, PM2.5, PM10
- Included in both free and paid subscriptions

### Fire Weather Index Maps

- Current and 5 days daily forecast fire weather index maps
- Use as layers in Direct Tiles, OpenLayers, Leaflet, and Google Maps

### Fire Weather Index API

- Current fire index and daily forecast for 5 days are available for any geo location (lat/lon)
- JSON format
- Please [contact us](mailto:info@openweathermap.org) to get a quote

### Geocoding API

- Geocoding API supports both the direct and reverse methods, working at the level of city names, areas and districts, countries and states
- You can cap how many locations with the same name or the nearby geographic coordinates will be seen in the API response
- Included in both free and paid subscriptions

### Weather Stations

- API for managing your personal weather stations
- Connect your stations and transfer the measurements
- Receive the aggregated measurements from the station
- Included in both free and paid subscriptions

### Sign Up & Get Your API Key

Create an account on OpenWeather to access your dashboard and generate your unique API key. This key is required for all API requests.

### Choose the Right API

OpenWeather offers a variety of APIs to fit different needs. Get full technical documentation, response examples, and integration tips.

### FAQ

Find quick answers to common questions about APIs, data coverage, limits, and integration.

### Agents frendly

Putting the data behind an AI agent instead? **OpenWeather for agents · powered by The Bot Forum** — the agent signs itself up with one request and pays per call from a balance you fund; the lane is operated and sold by Extreme Electronics Ltd, trading as The Bot Forum, under common ownership with OpenWeather. [openweathermap.org/agents](https://openweathermap.org/agents/)

### MCP Server

Over MCP: { "url": "https://mcp.openweathermap.org/mcp" } — six tools, no key needed to look; the description at [https://mcp.openweathermap.org/](https://mcp.openweathermap.org/).