OpenWeather API icon

OpenWeather API

Weather data API for current conditions, forecasts, alerts, historical weather, and location-based climate data.

Supports weather lookups by location or ZIP code, covering current conditions and forecast data.

Example Use Cases

These are the OpenWeather API actions Snow can use when building apps with you. Connecting an account does not make Snow run these on its own.

Get Current Weather

Tool to retrieve current weather data for a location. Use when you need up-to-the-minute weather info. Exactly one location identifier must be provided per call: either `q`, `id`, `zip`, or the pair `lat`+`lon`. Passing multiple identifiers causes errors or ambiguous matches.

Get Direct Geocoding

Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.

Get Geocoding by Zip Code

Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.

Get Reverse Geocoding

Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.

Add Weather Station

Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.

Delete Weather Station

Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.

Get 5 Day Forecast

Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.

Get Air Pollution Forecast

Tool to get forecasted air pollution data for a specific location. Use after confirming latitude and longitude. Forecast availability may be limited for remote or oceanic coordinates; verify response timestamps to confirm returned data represents a true forecast rather than a current snapshot.

Get Air Pollution History

Tool to retrieve historical air pollution data. Use when you need past air quality levels for a specific latitude/longitude and time range.

Get Circle City Weather

Tool to search for current weather data in cities around a geographic point. Use when you need to fetch weather within a radius circle after confirming latitude and longitude.