"coord": "lon": -122.08, "lat": 37.39 , "weather": [ "id": 800, "main": "Clear", "description": "clear sky", "icon": "01d" ], "main": "temp": 282.55, "feels_like": 281.86, "temp_min": 280.37, "temp_max": 284.26, "pressure": 1023, "humidity": 100 , "wind": "speed": 1.5, "deg": 350 , "dt": 1560350645, "sys": "country": "US", "sunrise": 1560343627, "sunset": 1560396563 , "timezone": -25200, "name": "Mountain View"

| API Product | Description | Typical Use Case | | :--- | :--- | :--- | | | Real-time conditions (temp, humidity, wind, pressure) plus brief descriptions (e.g., "light rain"). | Displaying a live weather widget. | | 5-Day Weather Forecast | 3-hour interval forecasts for the next 5 days (40 data points). | Trip planning, event scheduling. | | Weather Maps | Tile layers (precipitation, clouds, pressure) for use with Leaflet or Google Maps. | Building custom radar visualizations. | | Historical Weather | Archived data for specific dates or time ranges (up to 40+ years). | Climate research, analytics. | | Air Pollution API | Current, forecasted, and historical data for CO, NO2, O3, PM2.5, and PM10. | Health and outdoor activity apps. | | One Call API | A single endpoint delivering current, minute‑by‑minute (1 hour), hourly (48h), daily (7 days), and air pollution data. | Reducing API calls and simplifying code. | API Response Example (Current Weather) A typical JSON response for a city looks like this:

Whether you’re building a weekend hobby project or a global logistics platform, OpenWeatherMap provides the data you need with minimal friction.

The data is collected from official meteorological services, satellite imagery, radar stations, and a network of private weather stations. The OpenWeatherMap API is not a single endpoint but a suite of products. Here are the most commonly used ones:

Sign up for a free API key, try the /weather endpoint in your terminal with curl , and start building something useful. The clouds are yours to forecast. ☁️ Have questions or an interesting project built with OpenWeatherMap? Share your experience in the comments below.

In the world of application development, integrating real-time weather data has become a standard requirement—from fitness apps planning outdoor runs to logistics companies rerouting shipments around storms. OpenWeatherMap provides one of the most popular and robust APIs for this purpose.

Latest Videos

SONY MWMI 07 DigitalPoster 1934x2866

Watch the Trailer for Merrily We Roll Along

The live film capture of the 2023 Broadway revival starring Daniel Radcliffe, Jonathan Groff, and Lindsay Mendez hits theaters December 5.