Weather · head-to-head
US Weather vs weather-api
The National Weather Service API serves official US government forecasts, active alerts, and observation-station data as GeoJSON and JSON-LD feeds, with no signup or API key required. It's widely used by third-party weather apps and accepts direct browser calls, though it requires a descriptive User-Agent header identifying your application on every request.
This is an MIT-licensed Go application that returns current conditions, wind speed, and a three-day forecast as JSON for a city name. The author runs a free public demo at goweather.xyz/v2/weather/{city}. It needs no key and sends open CORS headers. The older /weather/{city} route on that host now returns 404, so use the /v2 path. The repo is not archived, and the last push was in October 2026. You can also build the app and host it yourself.
| US Weather | weather-api | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | GeoJSON, JSON-LD, CAP/XML, DWML/XML, ATOM | JSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
US Weather supports 5 response formats, while weather-api offers fewer — pick US Weather for more integration flexibility.