Public APIs
WeatherAPI favicon

WeatherAPI

Weather

Weather API with other stuff like Astronomy and Geolocation API.

WeatherAPI's website screenshot

About WeatherAPI

WeatherAPI provides a JSON and XML API for real-time, forecasted, historical, and future weather data, along with geolocation-related endpoints. It covers current conditions, 14-day daily, hourly, and 15-minute interval forecasts, future weather predictions up to 365 days ahead, and hourly historical weather data from 2010 onward, for locations worldwide. Additional endpoints cover marine weather, astronomy, solar irradiance, air quality, pollen, evapotranspiration, IP lookup, time zone, sports, currency conversion, and mapping.

The service is aimed at developers integrating weather and location data into applications, offering bulk request support and documentation for both commercial and non-commercial use. Data is sourced from global weather stations and high-resolution local weather models, with automated model selection described as using AI and machine learning.

Signup is free, with the ability to upgrade at any time and no long-term commitment required. The provider states an average API response time of 200 ms and 99.99% uptime, citing over 850,000 users worldwide.

Key features

  • Real-time weather data with pollen and air quality from global weather stations
  • 14-day forecast with daily, hourly, and 15-minute intervals
  • Historical weather data from 2010 onwards and future forecasts up to 365 days ahead
  • Marine weather, astronomy, and solar irradiance data
  • Geolocation, IP lookup, time zone, sports, currency, and map APIs
  • JSON and XML output with 200 ms average response time and bulk request support

Frequently asked questions

Is there a free tier?

Yes, WeatherAPI.com offers a free weather API for both commercial and non-commercial use, and users can upgrade anytime with no long-term commitment.

What data formats does the API support?

The API returns data in lightweight JSON and XML formats.

Does it support historical and future weather data?

Yes, it provides hourly historical weather from 2010 onwards and future weather forecasts up to 365 days ahead.

What other data is available beyond weather forecasts?

It also offers air quality, pollen, time zone, astronomy, IP lookup, sports, currency, and map data through its geolocation API.

How reliable is the service?

WeatherAPI.com is trusted by over 850,000 users worldwide and offers 99.99% uptime with managed infrastructure.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product