AEMET Meteoalerta: Weather Warnings and Forecasts avatar

AEMET Meteoalerta: Weather Warnings and Forecasts

Pricing

from $4.00 / 1,000 weather warnings

Go to Apify Store
AEMET Meteoalerta: Weather Warnings and Forecasts

AEMET Meteoalerta: Weather Warnings and Forecasts

Official AEMET Meteoalerta weather warnings (avisos meteorológicos AEMET) from the public CAP feed (no API key) and, optionally, municipal daily forecasts if you provide your own free AEMET OpenData key. Structured rows with attribution to AEMET.

Pricing

from $4.00 / 1,000 weather warnings

Rating

0.0

(0)

Developer

Asier Sanchez

Asier Sanchez

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Spain AEMET Weather Warnings and Forecasts (Meteoalerta)

Get official AEMET Meteoalerta weather warnings (avisos meteorológicos AEMET) and, optionally, municipal daily forecasts as clean JSON or CSV rows.

Warnings do not need an API key. The Actor reads the official public CAP Atom feed and the individual CAP XML documents. Municipal forecasts use AEMET OpenData and require your own free OpenData key (apiKey in the input). This Actor never uses a shared key.

Ideal for civil protection, logistics, insurance, travel tools and AI/MCP or n8n agents that need official AEMET alerts.

What you get

Warnings (itemType = warning):

FieldDescription
headline, event, descriptionOfficial warning text (Spanish or English)
levelAEMET colour (yellow / orange / red)
severity, urgency, certaintyCAP severity classes (Moderate ≈ yellow)
area, geocodeAffected area
onset, expiresValidity window
webUrlOfficial link when present
sourceAttributionRequired © AEMET credit

Forecast days (itemType = forecast), only if you provide a free OpenData key and INE municipality codes: municipality, date, temperatureMax, temperatureMin, sky, precipitation and wind by period.

Input example (warnings, no API key)

{
"mode": "warnings",
"language": "es",
"areas": ["León", "Cataluña", "nieve"],
"maxItems": 10
}

Set mode to forecasts or both only when you also pass apiKey and municipalities (e.g. 28079 for Madrid, 08019 for Barcelona).

Output example (weather warning)

{
"itemType": "warning",
"identifier": "ES-AEMET-672401-20261122",
"status": "Actual",
"msgType": "Alert",
"event": "Nieve",
"headline": "Aviso amarillo por nieve en León",
"description": "Se prevén acumulaciones de nieve en zonas de montaña.",
"language": "es",
"urgency": "Expected",
"severity": "Moderate",
"certainty": "Likely",
"level": "yellow",
"onset": "2026-11-22T09:00:00+01:00",
"expires": "2026-11-22T21:00:00+01:00",
"area": "León",
"geocode": "ES241",
"webUrl": "https://www.aemet.es/es/eltiempo/prediccion/avisos",
"sourceAttribution": "© AEMET. Información elaborada por la Agencia Estatal de Meteorología.",
"scrapedAt": "2026-11-23T21:00:00+00:00"
}

Python example (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("innovito/aemet-avisos-predicciones").call(
run_input={
"mode": "warnings",
"language": "es",
"areas": ["León", "Cataluña"],
"maxItems": 10,
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["itemType"], item.get("headline") or item.get("municipality"), item.get("level"))

Pricing

Pay-per-event: $4.00 per 1,000 weather warnings or municipal forecast days written to the dataset, plus $0.00005 per Actor start. You are not charged for platform compute.

Data source and terms

  • Warnings: official AEMET Meteoalerta CAP Atom feed (no key). Forecasts: AEMET OpenData with the user’s free key (~40–50 requests/min).
  • Reuse is subject to the AEMET legal notice. Credit «© AEMET» / «Información elaborada por la Agencia Estatal de Meteorología». Do not alter the meaning or present this Actor as an official AEMET product.

Avisos meteorológicos AEMET (Meteoalerta) y predicciones

Obtiene los avisos meteorológicos oficiales de AEMET (Meteoalerta) y, si lo pides, las predicciones municipales diarias, en filas JSON o CSV.

Los avisos no necesitan clave de API. El Actor lee el canal CAP Atom oficial y los XML CAP individuales. Las predicciones municipales usan OpenData y exigen tu propia clave gratuita en el campo apiKey. Este Actor no utiliza ninguna clave compartida.

Ideal para protección civil, logística, seguros, viajes y agentes de IA, MCP o n8n que necesitan avisos oficiales de AEMET.

Qué devuelve

Avisos (itemType = warning): titular, fenómeno, nivel de color AEMET (amarillo / naranja / rojo), severidad CAP, zona, ventana de validez, enlace oficial y atribución © AEMET.

Predicciones (itemType = forecast), solo con clave OpenData gratuita y códigos INE de municipio: municipio, fecha, temperaturas máxima y mínima, cielo, precipitación y viento por tramos.

Ejemplo de entrada (avisos, sin clave)

{
"mode": "warnings",
"language": "es",
"areas": ["León", "Cataluña", "nieve"],
"maxItems": 10
}

Usa forecasts o both solo si también indicas apiKey y municipalities (p. ej. 28079 Madrid, 08019 Barcelona).

Ejemplo de salida (aviso meteorológico)

{
"itemType": "warning",
"headline": "Aviso amarillo por nieve en León",
"event": "Nieve",
"level": "yellow",
"severity": "Moderate",
"area": "León",
"onset": "2026-11-22T09:00:00+01:00",
"expires": "2026-11-22T21:00:00+01:00",
"sourceAttribution": "© AEMET. Información elaborada por la Agencia Estatal de Meteorología."
}

Ejemplo en Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("innovito/aemet-avisos-predicciones").call(
run_input={
"mode": "warnings",
"language": "es",
"areas": ["León", "Cataluña"],
"maxItems": 10,
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["itemType"], item.get("headline") or item.get("municipality"), item.get("level"))

Precio

Pago por uso: 4,00 $ por cada 1.000 avisos meteorológicos o días de predicción municipal escritos en el dataset, más 0,00005 $ por arranque. No se cobra el cómputo de la plataforma.

Origen y condiciones

  • Avisos: canal CAP Atom oficial de Meteoalerta (sin clave). Predicciones: AEMET OpenData con la clave gratuita del usuario (~40–50 pet./min).
  • Reutilización sujeta a la nota legal de AEMET. Hay que citar «© AEMET» / «Información elaborada por la Agencia Estatal de Meteorología». No se debe alterar el sentido ni presentar este Actor como un producto oficial de AEMET.