All Categories
🌤

Weather

NOAA Weather API
NOAA
US National Weather Service official API providing forecasts, alerts and observations.
Official ForecastsSevere AlertsRadar ImageryClimate OutlooksStation Observations
No AuthFreeHourlyCountry
Quick start
const res = await fetch(
  'https://api.weather.gov/gridpoints/TOP/31,80/forecast',
  { headers: { 'User-Agent': 'MyApp (contact@example.com)' } }
);
const { periods } = (await res.json()).properties;
periods.slice(0, 3).forEach(p =>
  console.log(`${p.name}: ${p.temperature}°${p.temperatureUnit} — ${p.shortForecast}`)
);
Visit
Open-Meteo
Open-Meteo
Free weather API with hourly forecasts. No API key required.
TemperaturePrecipitationWind SpeedUV IndexCloud Cover
No AuthFreeHourlyGlobal
Quick start
const res = await fetch(
  'https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current=temperature_2m,wind_speed_10m'
);
const { current } = await res.json();
console.log(`Berlin: ${current.temperature_2m}°C, wind ${current.wind_speed_10m} km/h`);
Visit
OpenWeatherMap
OpenWeather
Current weather, forecasts and historical data for any location worldwide.
Current Conditions5-day ForecastAir Quality IndexUV IndexRain Probability
API KeyFreeHourlyGlobal
Quick start
const res = await fetch(
  `https://api.openweathermap.org/data/2.5/weather?q=London&appid=${process.env.OWM_API_KEY}&units=metric`
);
const data = await res.json();
console.log(`${data.name}: ${data.main.temp}°C, ${data.weather[0].description}`);
Visit
Tomorrow.io
Tomorrow.io
Hyperlocal weather intelligence API with minute-level precipitation forecasts.
Minute PrecipitationPollen CountRoad ConditionsWildfire RiskMicroclimate Data
API KeyFreeReal-timeGlobal
Quick start
const res = await fetch(
  `https://api.tomorrow.io/v4/weather/realtime?location=new york&apikey=${process.env.TOMORROW_API_KEY}`
);
const { data: { values } } = await res.json();
console.log(`New York: ${values.temperature}°C, humidity ${values.humidity}%, wind ${values.windSpeed} m/s`);
Visit
WeatherAPI
WeatherAPI.com
Real-time weather, forecast, history and astronomy data via simple REST API.
Realtime WeatherAstronomy DataAir QualityTide DataSports Weather
API KeyFreeReal-timeGlobal
Quick start
const res = await fetch(
  `https://api.weatherapi.com/v1/current.json?key=${process.env.WEATHERAPI_KEY}&q=Seoul`
);
const { location, current } = await res.json();
console.log(`${location.name}: ${current.temp_c}°C, ${current.condition.text}`);
Visit
Weatherbit
Weatherbit
Current, forecast and historical weather data with air quality index.
Air Quality IndexSoil MoistureSoil TemperatureSnowfallDew Point
API KeyFreeHourlyGlobal
Quick start
const res = await fetch(
  `https://api.weatherbit.io/v2.0/current?city=London&key=${process.env.WEATHERBIT_KEY}`
);
const { data: [w] } = await res.json();
console.log(`${w.city_name}: ${w.temp}°C, ${w.weather.description}`);
Visit