capabilities.work

Zip To Forecast

A 3-step recipe with OpenWeatherMap. We can help you get access.

Recipe · 3 steps

Zip To Forecast

Resolve a zip code to coordinates, then return five day and sixteen day forecasts.

  1. Resolve the supplied zip or postal code into geographic coordinates.
  2. Fetch the five day three hour forecast at the geocoded coordinates for a near-term outlook.
  3. Fetch the sixteen day daily forecast at the same coordinates for an extended outlook. Served from the Pro forecast base URL.
What you'll need to have ready
  • zip: Zip or postal code and country code, comma-separated (e.g. "90210,US").
  • units: Units of measurement (standard, metric, or imperial).
  • lang: Localization language code for weather condition text.
  • dailyCount: Number of days to return from the daily forecast (1 to 16).
  • appid: OpenWeather API key.
For your developer

Arazzo workflow openweathermap:zip-to-forecast, 3 operations: getZipGeocoding → getForecastFiveDay → getForecastDaily. Specs on APIs.io.