Microproduct Data GuideBeginner

IPMA Portuguese Weather Warnings

Official Portuguese weather-warning JSON from IPMA for reviewing affected forecast areas, severity levels, and warning validity.

Report a Problem

At a Glance

Difficulty
Beginner — comfortable for a first prototype
Size
Tiny · ≤0.01 GB
Formats
JSON
Access
API
API Key
Not Required
Provider
Instituto Português do Mar e da Atmosfera
Updates
Near Real Time
Last Verified
Sep 28, 2026
Source Type
Government Source
  • Python Syntax Checked
  • Runnable Notebook

From Source to Product Signal

Test a Product Idea in Four Steps

IPMA publishes area-based weather warnings as JSON. Start with five entries and preserve area code, start/end time, and awareness level. The public service is documented for noncommercial use; confirm the IPMA conditions before wider reuse. Green entries are not proof of no other hazards.

1

Check the Setup

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

Access the Data

  1. 1.Read IPMA's API documentation and linked conditions of use.
  2. 2.Fetch the current warning JSON once.
  3. 3.Inspect each warning's area code and validity window.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install requests

import requests

response = requests.get(
    "https://api.ipma.pt/open-data/forecast/warnings/warnings_www.json",
    timeout=30,
)
response.raise_for_status()
for warning in response.json()[:5]:
    print(warning["idAreaAviso"], warning["awarenessLevelID"],
          warning["startTime"], warning["endTime"])
4

Inspect Five IPMA Warnings

Check whether IPMA warnings can support a bounded area warning card.

  1. 01Keep official area IDs and the full validity interval.
  2. 02Treat each category and severity separately before displaying it.
  3. 03Explain IPMA's noncommercial-use limit and why these entries do not imply a local all-clear.

Dataset Details

Instituto Português do Mar e da Atmosfera is a government source. Last verified 2026-09-28. Temporal coverage: current warnings up to three days.

Geography

Formats

Provider

Instituto Português do Mar e da Atmosfera

Data Terms

Free public IPMA data for noncommercial analysis; read IPMA conditions before reuse.

Send Feedback