Why a free public weather feed is enough for a local tracker
You asked for an iOS app that tracks local weather without paying for an API, using free public feeds. The honest answer is that the hard part is not the app shell â it is picking a feed that is genuinely free, stable, and licensed for the way you will use it. This page is a working version of that decision: it calls a real keyless public feed from your browser, renders the forecast, and lets you download the raw snapshot so you can see exactly what the feed returns before you commit to building an app around it.
Open-Meteo is the default here because it requires no signup, no key, and no credit card for non-commercial use, and it returns hourly and daily forecast variables in one JSON response. That makes it the lowest-friction starting point for a personal tracker. It is not the only option, and the tradeoffs below matter if you ever ship the app to other people.
The free feeds worth knowing
| Feed | Key needed | Best for | Watch out for |
|---|---|---|---|
| Open-Meteo | No | Personal apps, prototypes, hourly + daily in one call | Free tier is for non-commercial use; commercial use needs a paid plan |
| National Weather Service (api.weather.gov) | No | US locations, official alerts and discussions | US-only coverage; requires a descriptive User-Agent header |
| Open-Meteo ECMWF / GFS models | No | Comparing model output for the same coordinates | Same endpoint family; model choice changes the numbers, not the license |
| MET Norway (api.met.no) | No | Global coverage with a long track record | Requires an identifying User-Agent; terms ask for polite caching |
| Apple WeatherKit | Yes (developer account) | Native iOS integration | Not free at scale â this is the paid path you said you wanted to avoid |
Read the terms before you ship. âNo API keyâ is not the same as âfree for any use.â Open-Meteoâs free tier is explicitly non-commercial; NWS and MET Norway ask for an identifying User-Agent and reasonable request rates. For a personal tracker on your own phone, all of these are fine. For an App Store release, check each providerâs current terms.
How this tracker works
- Geocode the place name. The place you type is resolved through Open-Meteoâs free geocoding endpoint, which returns latitude, longitude, and a canonical name.
- Request the forecast. One call asks for current conditions, 24 hours of hourly temperature and precipitation probability, and 7 days of daily highs, lows, and weather codes.
- Render from one state object. The big number, the hourly strip, the chart, and the 7-day list all read from the same parsed response, so they can never disagree with each other.
- Download the snapshot. The download button writes the exact normalized data plus the request URL, so you have a record of what the feed actually returned.
What the weather codes mean
Open-Meteo returns a WMO weather code instead of a text description. The tracker maps those codes to plain language and to the icons you see above. The mapping is deliberately conservative: codes 0â3 are clear to overcast, 45 and 48 are fog, 51â57 are drizzle, 61â67 are rain, 71â77 are snow, 80â82 are showers, 85â86 are snow showers, and 95â99 are thunderstorms. If a code is unfamiliar, the tracker shows âMixed conditionsâ rather than guessing.
Building the iOS app around this feed
The browser tool above proves the data path. Moving it into an iOS app is mostly plumbing:
- Use
URLSessionwith a descriptive User-Agent. NWS and MET Norway both ask for one, and it is good manners for any public feed. - Cache aggressively. Forecasts do not change minute to minute. A 10â15 minute cache cuts requests dramatically and keeps you inside polite usage.
- Store the last good response. If the network fails, show the cached forecast with a timestamp rather than an empty screen.
- Respect the license. If you ever charge for the app or run it commercially, move to a paid plan or a feed whose terms allow it.
- Do not hardcode coordinates. Let the user pick a place, and store the resolved latitude and longitude so you do not geocode on every launch.
Common mistakes
- Treating âfreeâ as âunlimited.â Public feeds are donated infrastructure. Cache, batch, and back off on errors.
- Mixing units silently. Open-Meteo returns Celsius and km/h by default. Convert once, at the edge, and label every number.
- Assuming US coverage. NWS is US-only. If your users are elsewhere, you need a global feed.
- Ignoring time zones. Sunrise and sunset are local to the coordinates, not to your phone. Request the timezone explicitly.
Questions people ask
Is Open-Meteo really free without a key?
Yes for non-commercial use, with no signup and no key. Commercial use requires a paid plan. Check the current terms on open-meteo.com before shipping a paid app.
Can I use this for an App Store app?
You can build and ship an app that calls a free feed, but you must follow that feedâs terms. Open-Meteoâs free tier is non-commercial, so a paid or ad-supported app should move to a commercial plan or a different provider.
Why does the forecast differ from my phoneâs weather app?
Different providers run different models and update at different times. This tracker uses Open-Meteoâs default model; the ECMWF and GFS options in the feed selector show how much the model choice alone changes the numbers.
Does this tool send my location anywhere?
Only if you press âUse my location,â which asks the browser for coordinates and then sends them to the weather feed to fetch the forecast. Nothing is stored on a server by this page.
What happens if the feed is down?
The status line shows the error and the last successful forecast stays on screen with its timestamp, so you can tell stale data from fresh data.