Tutorials
Follow guided, end-to-end lessons to build runnable multi-city dashboards and terminal tools from scratch.
Structured documentation for the OpenWeatherMap REST API. Fetch live conditions, 5-day forecasts, and geocoding coordinates with production-ready patterns.
Organized with the Diátaxis framework so step-by-step lessons, task recipes, endpoint specifications, and system concepts never blur together.
Follow guided, end-to-end lessons to build runnable multi-city dashboards and terminal tools from scratch.
Solve specific integration problems with focused recipes for geocoding, forecasts, error recovery, and rate limits.
Look up exact HTTP endpoints, query parameters, authentication rules, status codes, and JSON response fields.
Understand observation pipelines, assimilation cycles, unit conversions, and how requests flow through the platform.
The OpenWeatherMap API uses standard HTTPS query parameters and JSON payloads, working cleanly with your preferred runtime and HTTP client.
curl -sS "https://api.openweathermap.org/data/2.5/weather?q=Tokyo,JP&units=metric&appid=$OPENWEATHER_API_KEY"{
"coord": { "lon": 139.6917, "lat": 35.6895 },
"weather": [
{ "id": 802, "main": "Clouds", "description": "scattered clouds", "icon": "03d" }
],
"main": { "temp": 22.1, "feels_like": 21.8, "humidity": 58, "pressure": 1014 },
"wind": { "speed": 4.1, "deg": 140 },
"sys": { "country": "JP" },
"name": "Tokyo",
"cod": 200
}Every guide, reference table, and interactive tool prioritizes technical accuracy and runnable code.