Resources

Coding the Clouds: Innovations in Weather APIs for Developers

Coding the Clouds: Innovations in Weather APIs for Developers

Weather APIs look interchangeable until you need one number that is right for a specific place at a specific hour. Then the differences show. Resolution, forecast range, update frequency, commercial licensing and alert options vary a lot, and marketing pages rarely state the grid size.

Decide how local the data has to be

Cities contain microclimates. A park, a river or a block of tall buildings can make one neighborhood a few degrees different from the next, and a forecast for the city center misses that. How much it matters depends on the app.

  • A farming app that warns about frost in one field
  • A hiking app that shows conditions at different elevations on the same trail
  • A fitness or allergy app that reacts to the temperature, humidity or pollen where the user actually is

Obviously, you do not need street-level precision to tell someone to take an umbrella.

Commercial and open APIs side by side

Two providers show how far apart the options sit. Tomorrow.io is a commercial service whose site advertises 60+ data layers, 99.9% uptime and hyperlocal data, though the page gives no grid size. Open-Meteo is free for non-commercial use with no API key, and it combines more than 30 models from over 15 national weather services.

Tomorrow.io (free plan)Open-Meteo
Forecast range5 days on the free plan, 14 days on EnterpriseUp to 16 days, longer ranges in separate APIs
Free limits1 monitored location, 1 weather alert, 24 hours of historyNo key needed for non-commercial use
ResolutionCalled hyperlocal, no grid size statedUp to 1 km where regional models exist, 9 to 11 km for global models
Commercial usePaid plansNeeds a subscription

Neither is better in general.

One detail worth knowing about Open-Meteo is its best_match option, which picks a weather model automatically for each location. That is convenient, and it also means two nearby requests can come from different models, so a jump in the numbers at a regional border is not always a bug in your code. It is a mix of sources, and you should treat it that way when you debug odd values.

Open-Meteo is the easy start for a prototype or a hobby app. A product with alerts, SLAs and support needs a vendor contract, and that is where a commercial API earns its fee. Resolution claims are worth testing against a known station before you commit.

GraphCast and HRES

The model most people mean when they talk about AI forecasting is GraphCast, built by researchers at DeepMind, Google’s AI lab. It produces a 10-day forecast in under a minute on a single Google TPU v4 machine, on a 0.25 degree grid of about 28 km.

GraphCast and HRES compared by speed, hardware, grid size and accuracy

What it is measured against

HRES is the High Resolution Forecast from the European Centre for Medium-Range Weather Forecasts (ECMWF), a physics-based system that runs on supercomputers. DeepMind describes it as the industry gold standard. In DeepMind’s tests, GraphCast was more accurate on more than 90% of 1,380 variables and lead times.

What it does not change for you

A research model is not an API. You still need a provider that serves data in a format your app can call, with a license that fits your use. Still, artificial intelligence models change the cost picture. One TPU machine for a 10-day global forecast is a very different bill from a supercomputer, and the gap should reach the forecasts that APIs sell sooner or later.

Forecasts of this kind also cover more than weather. DeepMind points to climate, ecology, energy and agriculture as other areas where the same approach could apply, which is relevant if your app serves farms or utilities and not only people deciding what to wear.

Alerts, maps and what comes next

Alerts are where an API earns its place in a product. Developers can push warnings for events such as:

  • flash floods
  • tornadoes
  • heat waves
  • hailstorms, with enough lead time to move a car

Tomorrow.io’s free plan includes a single weather-based alert, so anything beyond a demo needs a paid tier or a second provider.

Live maps are the common display now, and AR overlays are still a prediction.

Cheaper forecasts are coming, and the hard part stays the same: getting a trustworthy number to the right screen on time.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.