Skip to main content

OpenWeatherMap API documentation

Welcome to the unofficial developer documentation for the OpenWeatherMap REST API, authored as a technical writing portfolio sample by Michel Silveira.

This site guides you from your first authenticated 200 OK request to production-ready caching, coordinate resolution, and error recovery. Every page follows the Diátaxis framework so you can move directly to hands-on learning, task-oriented code recipes, exact endpoint schemas, or architectural mental models.

What you can access on the free tier​

OpenWeatherMap's free tier requires no credit card and includes 60 calls per minute and 1,000,000 calls per month across two versioned REST services under https://api.openweathermap.org:

  • Current weather (GET /data/2.5/weather): Near-real-time temperature, humidity, atmospheric pressure, wind vector, visibility, cloud cover, and precipitation observations refreshed every 10 minutes.
  • 5-day forecast (GET /data/2.5/forecast): 40 forecast steps in 3-hour synoptic UTC intervals covering the next 5 days, including probability of precipitation (pop) and 3-hour rain or snow accumulation.
  • Global geocoding (GET /geo/1.0/direct, /geo/1.0/reverse, and /geo/1.0/zip): Forward place-name search, reverse coordinate lookup, and postal-code resolution into exact latitude and longitude coordinates.

Historical weather archives, extended 16-day daily forecasts, and One Call API 3.0 (/data/3.0/onecall) require separate paid billing plans and are not included in the free tier.

GoalSectionWhere to start
Send your first 200 OK API request in under 5 minutesGetting startedCheck prerequisites and set up your key
Build a complete end-to-end weather applicationTutorialsBuild a weather dashboard
Copy production-ready recipes in curl, Node.js, and PythonHow-to guidesGet current weather
Look up exact parameters, JSON schemas, and status codesAPI referenceAuthentication and endpoints
Understand meteorological grids, SI units, and proxy topologyConceptsHow weather data works
Diagnose 401, 404, 429, and browser CORS failuresTroubleshootingResolve common errors
Test live requests in your browser without writing codeInteractive playgroundOpen the interactive API playground

How this documentation is organized​

Rather than mixing conceptual background into reference tables or burying task recipes inside beginner lessons, this site separates content across the four Diátaxis quadrants—supported by dedicated onboarding and troubleshooting paths:

Diátaxis quadrantPrimary intentReader contextRepresentative pages
TutorialsLearning through hands-on practiceStudying by building a working project end to endBuild a weather dashboard, Build a CLI weather tool
How-to guidesAccomplishing a specific engineering taskSolving a real integration problem in codeQuery weather by coordinates, Set up rate limiting and caching
API referenceLooking up exact technical factsVerifying parameters, types, units, and payloadsCurrent weather, 5-day forecast, Geocoding
ConceptsDeepening architectural understandingEvaluating how the platform models and serves dataHow weather data works, Unit systems and conversions, API architecture overview

About this project​

This site runs on Docusaurus and applies docs-as-code workflows using Git, Markdown, Mermaid diagrams, automated link verification, and CI/CD deployment.

Independent portfolio project

This site is an independent technical writing portfolio sample created by Michel Silveira and is not affiliated with or endorsed by OpenWeatherMap. For official vendor announcements, billing plans, and enterprise API catalogs, visit the official OpenWeatherMap API documentation.