Microproduct Data GuideIntermediate

Luxembourg LU-Alert CAP Messages

Official Luxembourg civil-alert messages published as CAP-LU files through the national open-data portal for tracking current civil emergencies.

Report a Problem

At a Glance

Difficulty
Intermediate — some data preparation helps
Size
Tiny · ≤0.01 GB
Formats
XML
Access
API
API Key
Not Required
Provider
Luxembourg Government LU-Alert
Updates
Near Real Time
Last Verified
Sep 28, 2026
Source Type
Government Source
  • Python Syntax Checked

From Source to Product Signal

Test a Product Idea in Four Steps

LU-Alert publishes issuer messages as CAP-LU XML resources in one portal dataset. Start with resource metadata from the first API page; inspect message status, validity, and cancellation before presenting an alert. Credit LU-Alert and retain the source resource URL.

1

Check the Setup

  • Python 3.10 or newer
  • An internet connection
  • The requests Python package
2

Access the Data

  1. 1.Read the LU-Alert dataset licence and CAP-LU documentation.
  2. 2.Fetch the dataset API metadata once and inspect one recent XML resource.
  3. 3.Keep issuer, event, message status, issue time, and affected area.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install requests

import xml.etree.ElementTree as ET
import requests

url = "https://data.public.lu/api/1/datasets/alertes-du-systeme-lu-alert/"
response = requests.get(url, timeout=30)
response.raise_for_status()
resources = [r for r in response.json()["resources"]
             if r.get("format", "").lower() == "xml"]
resource = resources[0]
alert = requests.get(resource["url"], timeout=30)
alert.raise_for_status()
root = ET.fromstring(alert.content)
namespace = root.tag.split("}")[0] + "}"
print(resource["title"], root.findtext(f"{namespace}identifier"),
      root.findtext(f"{namespace}status"), root.findtext(f"{namespace}sent"))
4

Inspect Official Luxembourg Alerts

Find recent CAP-LU resources for a bounded official alert review.

  1. 01Retain the source resource URL, update timestamp, and CAP identifier.
  2. 02Handle tests, updates, and cancellations before displaying a warning.
  3. 03Attribute each displayed message to LU-Alert.

Dataset Details

Luxembourg Government LU-Alert is a government source. Last verified 2026-09-28. Temporal coverage: current and archived CAP-LU alert files.

Geography

Formats

Provider

Luxembourg Government LU-Alert

Data Terms

CC BY 4.0; identify LU-Alert as the source of each alert.

Send Feedback