PASAR API

🇪🇸 AEMET OpenData ~ Spain weather & climate data

← directory
Agencia Estatal de Meteorologia (AEMET)Realtimetier: openauth: API keypricing: freeverified 2026-07-05

Free REST API for forecasts, observations, and climatology; requires a free API key emailed on request, and responses use a two-step pattern (request returns a data URL).

View docs ↗ More Realtime APIs

Get started

# AEMET OpenData ~ Spain weather & climate data needs an API key ~ get yours at:
# https://opendata.aemet.es/
curl 'https://opendata.aemet.es/opendata/api/' \
  -H 'Authorization: Bearer YOUR_TOKEN'

AI prompt

I'm integrating a Spain API into my app.

API: AEMET OpenData ~ Spain weather & climate data
Provider: Agencia Estatal de Meteorologia (AEMET)
Auth: requires an API key (sign up: https://opendata.aemet.es/)
Pricing: free
Base URL: https://opendata.aemet.es/opendata/api/
Important note: Free REST API for forecasts, observations, and climatology; requires a free API key emailed on request, and responses use a two-step pattern (request returns a data URL).

Source: Agencia Estatal de Meteorologia (AEMET) (https://opendata.aemet.es/)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Needs API key
Last checked: 2026-07-05
Production caveat: Keep credentials server-side and confirm current limits, pricing, and webhook/error behaviour in the provider docs.

Help me set up the correct onboarding/authentication path and make the first valid request ~ explain exactly where credentials go and what must happen before production.

Related Realtime APIs

7-day weather forecast (live)Weather warnings (live)Earthquake warnings (live)River water levels & flood warnings (live)Transit schedules ~ Rapid KL LRT/MRT/monorail/bus (Prasarana GTFS)Train schedules ~ KTMB (GTFS)Live bus positions ~ Rapid KL & Rapid Penang (Prasarana GTFS-R)Live train positions ~ KTMB (GTFS-R)Bus schedules ~ myBAS Johor Bahru (GTFS)Live bus positions ~ myBAS Johor (GTFS-R)