PrompTugal.news· Data
Version v0.1.47data read 2026-11-18 19:18 UTCPay for what you read · free here

IPMA daily forecasts by place

Five-day forecasts (minimum and maximum temperature, chance of rain, weather type, wind) for each district capital and island, and Loulé, Portimão and Sagres.

Three layers: the source (who publishes it, the terms, when it was read), the raw data as the publisher served it, and the processed data, what this site makes of it. The processing is where the value is: named fields, places joined, gaps marked, every value kept with its source and time.

1. The source

At a glance

FieldValue
PublisherIPMA, Instituto Português do Mar e da Atmosfera
Sourcehttps://api.ipma.pt/open-data/forecast/meteorology/cities/daily/
Reader pagehttps://www.ipma.pt/en/otempo/prev.localidade.hora/
Schedulehourly: the Pages workflow (.github/workflows/pages.yml), on a schedule at 17 minutes past each hour, and on every push to dev
Ownerdata@PrompTugal.dinis
Collectorsources/ipma-city-forecasts/collect.mjs
Since2026-11-17
Last read2026-11-18 19:15 UTC
Last runok: 36 requests ok, 0 failed
Now35 places
LicenceThe data: the source's terms (IPMA, Instituto Português do Mar e da Atmosfera). This page, the card and the records we add: CC BY 4.0.

Reuse terms

IPMA: free to copy and use for personal or public use if the use has no profit-making or offensive purpose; always name IPMA as the source. Reuse: with conditions: attribution to IPMA; no profit-making purpose.

O Utilizador pode copiar, importar ou utilizar gratuitamente informações ou símbolos nacionais existentes neste site para uso pessoal ou público desde que dessa utilização não decorram finalidades lucrativas ou ofensivas. O Utilizador deve referir, sempre, a fonte de informação.

Open question: Whether a paid reading meter on a PrompTugal site counts as a profit-making purpose under these terms is for Dinis to decide (or to ask IPMA). Until then the data site itself carries no meter.

2. The raw data

As IPMA served it at the latest read (2026-11-18 19:15 UTC), unprocessed. The files: city-1010500.json, city-1020500.json, city-1030300.json, city-1030800.json, city-1040200.json, city-1050200.json, city-1060300.json, city-1070500.json, city-1080500.json, city-1080800.json, city-1081100.json, city-1081505.json, city-1090700.json, city-1090821.json, city-1100900.json, city-1110600.json, city-1121400.json, city-1131200.json, city-1141600.json, city-1151200.json, city-1151300.json, city-1160900.json, city-1171400.json, city-1182300.json, city-2310300.json, city-2320100.json, city-3410100.json, city-3420300.json, city-3430100.json, city-3440100.json, city-3450200.json, city-3460200.json, city-3470100.json, city-3480200.json, city-3490100.json, distrits-islands.json.

IPMA's own daily forecast file for Faro, as served. The data.

3. The processed data

The collector reads one file per place (35 places), names the fields, and joins each place's name and position from IPMA's list. The result: latest.json.

Lowest and highest temperature by place, north to south, for each forecast day. The data.

More about this source

What runs by code, by agents and by people

Code

Agents

People

Cost

FieldValue
per run tokens0
per run model cost usd0
runnerGitHub Actions on a public repository: no charge (GitHub's terms for public repositories); about 3 minutes a run for all sources together (measured locally, 17 November 2026)
build tokensnot measured: accountant@'s ledger is not running on this account; to be added when it is
noteCode only: no model is called when the data is collected.

API addresses

These addresses stay for the life of v1 (the contract).

FileAddress
Latest readhttps://data.promptugal.news/api/v1/ipma-city-forecasts/latest.json
Every readhttps://data.promptugal.news/api/v1/ipma-city-forecasts/reads.json
Cardhttps://data.promptugal.news/api/v1/ipma-city-forecasts/card.json
OpenAPIhttps://data.promptugal.news/api/v1/ipma-city-forecasts/openapi.json
curl -s https://data.promptugal.news/api/v1/ipma-city-forecasts/latest.json
curl -s https://data.promptugal.news/api/v1/ipma-city-forecasts/reads.json | head -c 600

Vault

FieldValue
Vault iddn8m3051
Public read keysgit_public_read_33ba803fbab7d6d4d1c45b71ac38f384b1cc8d3236f43eee198b90036dacbf17
Clonesgit clone sgit_public_read_33ba803fbab7d6d4d1c45b71ac38f384b1cc8d3236f43eee198b90036dacbf17:dn8m3051
NotePublic read key: the source is public, so anyone may read the vault. A read key is derived one way and cannot write. The write key is never in this repository.

Last runs

Time (UTC)Requests okRequests failedReads with changed bytes
2026-11-18 19:15 UTC3600 of 36
2026-11-18 19:10 UTC3600 of 36
2026-11-18 19:06 UTC3600 of 36
2026-11-18 19:03 UTC3600 of 36
2026-11-18 18:55 UTC3600 of 36
2026-11-18 18:52 UTC36035 of 36
2026-11-18 17:54 UTC3600 of 36
2026-11-18 17:39 UTC36035 of 36
2026-11-18 16:30 UTC3600 of 36
2026-11-18 16:11 UTC3600 of 36
2026-11-18 16:08 UTC3600 of 36
2026-11-18 16:04 UTC3600 of 36
2026-11-18 15:59 UTC3600 of 36
2026-11-18 15:55 UTC3600 of 36
2026-11-18 15:51 UTC3600 of 36
2026-11-18 15:47 UTC3600 of 36
2026-11-18 15:43 UTC3600 of 36
2026-11-18 15:40 UTC36011 of 36
2026-11-18 15:36 UTC36024 of 36
2026-11-18 15:33 UTC3600 of 36
2026-11-18 15:28 UTC3600 of 36
2026-11-18 15:14 UTC3600 of 36
2026-11-18 15:08 UTC36036 of 36
2026-11-18 14:50 UTC040 of 4

Showing 24 of 48 runs kept. Full detail with sha256: reads.json.

Preview of the values

The first 5 of 35 entries in cities, as read 2026-11-18 19:15 UTC. Source: https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1010500.json. Long values are shortened here; the file has them whole.

idnamearealatlonsourceSource
1010500AveiroAVR40.6413-8.6535https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1010500.jsonsource
1020500BejaBJA38.02-7.87https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1020500.jsonsource
1030300BragaBRG41.5475-8.4227https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1030300.jsonsource
1030800GuimarãesBRG41.4434-8.2938https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1030800.jsonsource
1040200BragançaBGC41.8076-6.7606https://api.ipma.pt/open-data/forecast/meteorology/cities/daily/1040200.jsonsource