WeatherAPI
Real-time weather, forecasts, marine, astronomy and sports weather
WeatherAPI offers one of the most generous free tiers among weather APIs — 1 million monthly calls with no rate limiting. It covers current weather, hourly and 14-day forecasts, historical weather data, marine/tides, astronomy (sunrise/sunset, moon phases), air quality, and even sports venue weather. The Realtime API delivers conditions to the minute using multiple data sources. Available in JSON and XML. Particularly popular for its combination of data richness and extremely generous free tier, making it the top pick for developers wanting to ship quickly without worrying about API costs.
API Details
Categories
Frequently Asked Questions
WeatherAPI has a free plan with 1 million calls per month u2014 the most generous free weather API available. The plan includes current weather, 3-day forecast, historical data (last 7 days), astronomy data, and sports weather. Paid plans start at $4/month for 2 million calls and more forecast days.
WeatherAPI's free tier is extremely generous (1M calls/month vs OpenWeatherMap's 1K/day). It includes air quality index, astronomy data (sunrise/sunset, moon phase), sports weather, historical data, and a Marine API u2014 all at competitive prices. The API response format is also well-structured and easy to work with.
Yes. WeatherAPI provides historical weather data going back to January 1st, 2010 on paid plans (last 7 days on free). Historical data includes hourly temperature, precipitation, wind, humidity, and conditions for any location globally. This is useful for building weather-dependent analytics and retroactive reporting.
You can query by city name, postal code, IP address, latitude/longitude, or IATA airport code. WeatherAPI automatically resolves the nearest weather station. For IP-based queries, it uses geolocation to determine the location u2014 useful for auto-detecting user location without requiring explicit input.
