Is the WeatherAPI.com weather API free?
Yes. The Free plan gives you 100,000 API calls a month with realtime weather, a 3-day forecast, search, astronomy, IP lookup and weather maps. No credit card is needed and commercial use is allowed. Paid plans start at $7 a month and come with a 7-day free trial.
What weather data does the API provide?
Realtime weather, 14-day daily and hourly forecasts, 15-minute forecasts (Enterprise), historical weather from 1 January 2010, future weather up to 300 days ahead, marine weather and tides, air quality, pollen, government weather alerts, solar irradiance, solar PV energy forecasts, evapotranspiration, next-hour rain (minutely), weather radar, astronomy, time zone, IP lookup, sports events and weather map tiles, plus webhooks that notify your server when the weather changes.
Where does the weather data come from?
We blend global and high resolution weather models, including GFS, HRRR and ECMWF IFS/AIFS, with live observations such as METAR airport reports. Data is available for millions of locations worldwide at 1 to 11 km resolution.
How far back does the historical weather data go?
Hourly historical weather is available from 1 January 2010 onwards. The Free plan includes the past day, Starter the past 7 days, Pro+ the past 365 days, and Business and Enterprise the full archive from 2010.
Which formats and languages are supported?
Every endpoint returns JSON or XML. Weather condition text is available in more than 40 languages using the lang parameter.
Can I use the API in a commercial product?
Yes. Commercial and non-commercial use is allowed on every plan, including the Free plan.
What is the Solar Energy API?
The Solar Energy API (/v1/solar.json) forecasts the power and energy output of a solar PV system for up to 14 days. Give it your array size and, optionally, tilt, azimuth and tracking, and it returns hourly and daily kW and kWh. It is available on the Business plan and above.
What is the Agriculture API?
The Agriculture API (/v1/agriculture.json) gives farmers and agtech apps growing degree days, rainfall, evapotranspiration and crop water use, chill hours, frost and heat stress, leaf wetness, disease risk and hourly spray windows for up to 14 days, plus season-to-date totals. Choose a crop preset or set your own values. It is available on the Business plan and above.
Is there a minute-by-minute rain forecast and weather radar?
Yes. The Minutely API (/v1/minutely.json) gives the rain rate every 5 minutes for the next hour with a one-line summary, using radar nowcasts in the United States (including Alaska, Hawaii, Puerto Rico and Guam), Germany and most of Europe, and our forecast model everywhere else. It is available on Starter and above. The Radar API (/v1/radar.json) gives animated radar map tiles for the past two hours plus a one-hour nowcast for the same areas, on Pro+ and above.
Can WeatherAPI.com notify my app when the weather changes?
Yes. Weather webhooks send a signed HTTPS POST to your server when a government weather alert is issued for a location, or when a value such as wind, rain or temperature crosses your limit, now or in the forecast. Pro+ includes 5 webhooks, Business 20, and High Volume and Enterprise 50.
Do I need a new API key when I upgrade?
No. Your API key stays the same when you upgrade or change plan, so there is nothing to change in your code.
What if I need more than 10 million calls a month?
Choose a High Volume plan: everything in Business, with 20 million to 500 million calls a month, from $95 a month (10% less when paid yearly). You can upgrade or change it any time from your dashboard, and your API key stays the same.
Can I use WeatherAPI.com with AI assistants and LLMs?
Yes. There is an official MCP server (weatherapi-mcp) for Claude and other AI assistants, an OpenAPI specification at /openapi.json and an llms.txt file describing every endpoint.
Can more than one person use my WeatherAPI.com account?
Yes. Invite colleagues from the Team page in your dashboard. Each person signs in with their own login and gets a role (Admin, Developer, Billing or Viewer), so you control who can see API keys and who can manage billing. Starter includes 3 people, Pro+ 10 and Business 25.
Does WeatherAPI.com support two-step login and passkeys?
Yes, on every plan including Free. Turn on two-step login with an authenticator app, or add a passkey to sign in with Face ID, Touch ID, Windows Hello or a security key instead of a password.