# OpenWeather API AI integration on Definable

> Provides access to current weather data, forecasts, and historical weather data for any location worldwide.

## What this connects

Provides access to current weather data, forecasts, and historical weather data for any location worldwide.

Vendor: https://openweathermap.org/

## Tools available

**21** tools available. First 12:

- `OPENWEATHER_API_DELETE_WEATHER_STATION` — Delete Weather Station — Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.
- `OPENWEATHER_API_GET5_DAY_FORECAST` — 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.
- `OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT` — Get Current Air Pollution Data — Tool to fetch current air pollution data for a location. Use when you need real-time air quality details by latitude and longitude.
- `OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST` — 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.
- `OPENWEATHER_API_GET_AIR_POLLUTION_HISTORY` — 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.
- `OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER` — 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.
- `OPENWEATHER_API_GET_CURRENT_WEATHER` — 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.
- `OPENWEATHER_API_GET_GEOCODING_BY_ZIP` — 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.
- `OPENWEATHER_API_GET_GEOCODING_DIRECT` — 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.
- `OPENWEATHER_API_GET_GEOCODING_REVERSE` — 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.
- `OPENWEATHER_API_GET_STATION_MEASUREMENTS` — Get Station Measurements — Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.
- `OPENWEATHER_API_GET_UV_INDEX` — Get Current UV Index — Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.

## Auth

Auth schemes: `API_KEY`.

## How agents use OpenWeather API

Inside a Definable workflow, OpenWeather API is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → OpenWeather API** — the Researcher (GPT-5.5) pulls context from OpenWeather API (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → OpenWeather API** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into OpenWeather API (create record, post message, draft email).
- **Designer / Engineer → Distributor → OpenWeather API** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via OpenWeather API (attach file, open PR comment, post status).

The Verifier checks every OpenWeather API call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/openweather_api/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
