Weather · head-to-head
weather-api vs wttr.in
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.
wttr.in returns weather reports as ASCII art directly to curl, wget, or a plain browser request, so there's no client UI to build. It's a standalone open-source Go service with plain-text, colorized ANSI, PNG, and JSON output modes, and needs no signup or API key.
| weather-api | wttr.in | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON | plain text, ANSI, PNG, JSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
wttr.in supports 4 response formats, while weather-api offers fewer — pick wttr.in for more integration flexibility.