Weather — entry 004 of 31

Aemet

Verified Jul 2026

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.

forecasthistoricalgovernmentalerts
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSUnknownNot documented — test from the browser before relying on it.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, XML, CSVResponses can be requested as JSON or XML or CSV.

GreatAPIs Score

Score84out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats15/15Supports 3 response formats
Freshness20/20Verified within 6 months

Embed this badge

Scored 84 on greatapis.com
<a href="https://greatapis.com/api/aemet/"><img src="https://greatapis.com/badge/aemet.svg" alt="Scored 84 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.