All CategoriesVisitVisitVisitVisitVisitVisit
🌤
Weather
AccuWeather API
AccuWeather
AccuWeather's AccuWeather API provides access to current conditions, hourly forecast, 12-day forecast and more. Global coverage, updated hourly. Free tier available.
Current conditionsHourly forecast12-day forecastWeather alarms
API KeyFreeHourlyGlobal
SO 795 Q's
VisitNOAA Weather API
NOAA
US National Weather Service official API providing forecasts, alerts and observations.
Official ForecastsSevere AlertsRadar ImageryClimate OutlooksStation Observations
No AuthFreeHourlyCountry
SO 149 Q's
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}`)
);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¤t=temperature_2m,wind_speed_10m'
);
const { current } = await res.json();
console.log(`Berlin: ${current.temperature_2m}°C, wind ${current.wind_speed_10m} km/h`);OpenWeatherMap
OpenWeather
Current weather, forecasts and historical data for any location worldwide.
Current Conditions5-day ForecastAir Quality IndexUV IndexRain Probability
API KeyFreeHourlyGlobal
SO 838 Q's
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}`);Pirate Weather API
Pirate Weather
Pirate Weather's Pirate Weather API provides access to currently, minutely, hourly and more. Global coverage, updated hourly. Free tier available.
CurrentlyMinutelyHourlyDailyAlertsFlags
API KeyFreeHourlyGlobal
SO 795 Q's
VisitTomorrow.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`);Visual Crossing Weather API
Visual Crossing
Visual Crossing's Visual Crossing Weather API provides access to historical weather, forecast, climate summaries and more. Global coverage, updated hourly. Free tier available.
Historical weatherForecastClimate summariesSolar data
API KeyFreeHourlyGlobal
SO 795 Q's
VisitWeatherAPI
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}`);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}`);