Weather · head-to-head
Aemet vs weather-api
AEMET OpenData is the official REST API of Spain's national meteorological agency, publishing forecasts, observations, climatology, and warnings ("avisos") restricted to Spanish territory. Requests return a metadata JSON envelope containing a signed URL that must be fetched separately to retrieve the actual payload (JSON, XML, or CSV depending on endpoint), and the service is documented via an interactive Swagger UI and machine-readable OpenAPI spec.
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.
| Aemet | weather-api | |
|---|---|---|
| Authentication | API Key | None |
| Pricing | free | free |
| Formats | JSON, XML, CSV | JSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
weather-api needs no API key, while Aemet requires API Key — pick weather-api to start without signup.