Skip to main content
Free weather API providing current conditions, 5-day/3-hour forecasts, and air quality data worldwide. Standalone endpoints for /weather, /forecast, /air_pollution. Best for simple weather lookups and basic forecasting. For higher-resolution data (minutely, hourly, daily, alerts), use openweather_onecall. 1 example endpoint available through Lava’s AI Gateway. See the OpenWeather API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://api.openweathermap.org/data/2.5 is supported. GET any path under https://api.openweathermap.org/data/2.5/ (e.g., /weather, /forecast, /air_pollution). The endpoints below are curated examples.

Endpoints

Get current weather

GET https://api.openweathermap.org/data/2.5/weather?q=London&units=metric — Free
const data = await lava.gateway('https://api.openweathermap.org/data/2.5/weather?q=London&units=metric', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests