Events in Portugal, by place
Public events on now or in the next 60 days in Lisbon and the Algarve places, as schema.org Event records, each with its source URL and the time read.
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
| Field | Value |
|---|---|
| Publisher | Câmara Municipal de Lisboa (Agenda Cultural de Lisboa, agendalx.pt) Câmara Municipal de Lagos (cm-lagos.pt), Teatro das Figuras, Faro (teatrodasfiguras.pt) and Câmara Municipal de Tavira (cm-tavira.pt) |
| Source | https://www.agendalx.pt/wp-json/agendalx/v1/events |
| Reader page | https://www.agendalx.pt/ |
| Schedule | every 6 hours: the Pages workflow (.github/workflows/pages.yml) at 17 minutes past 00, 06, 12 and 18 UTC (the agendas change daily); every other hourly run keeps the last read, copied from the live site |
| Owner | data.b@PrompTugal.dinis |
| Collector | sources/events-pt/collect.mjs |
| Since | 2026-11-18 |
| Last read | 2026-11-18 19:14 UTC |
| Last run | partly failed: 6 requests ok, 2 failed |
| Now | 141 events |
| Licence | The data: the source's terms (the agenda each event comes from). This page, the card and the records we add: CC BY 4.0. |
Reuse terms
Strictest of the sources: no reuse licence or terms page was found for any of the four hosts (teatrodasfiguras.pt and cm-tavira.pt show only "Todos os direitos reservados" in their footers, and cm-tavira.pt has no robots.txt). The robots.txt files that exist allow the paths read; agendalx.pt sets Content-Signal search=yes, ai-train=no, use=reference. So: reference use only, name the source, link to the event, no AI training. Not reviewed by a person: whether this is enough to republish is for Dinis. Reuse: unclear: no licence found; reference use with attribution and a link to each event's page.
User-agent: * Content-Signal: search=yes,ai-train=no,use=reference Allow: /
Open question: No reuse terms were found on agendalx.pt, lisboa.pt (403), cm-lagos.pt, teatrodasfiguras.pt or cm-tavira.pt. Dinis to decide whether to republish on this basis, or to ask the four publishers (Câmara Municipal de Lisboa, Câmara Municipal de Lagos, Teatro das Figuras, Câmara Municipal de Tavira). The Autódromo Internacional do Algarve terms forbid reuse, so it is not read.
2. The raw data
The raw files are the agendas as served (Agenda LX's JSON pages, the Lagos and Teatro das Figuras pages, Tavira's calendar route): kept in the vault copy only, as they hold publisher text this site does not republish. What is shown here is our record of each event: name, dates, venue, link.
3. The processed data
The collector reads each agenda through its public interface, keeps the next 60 days, maps each event to a place, drops events without a web address and keeps no organiser text; discovery adds claims with their evidence links, and the claims are confirmed only at a source we read. The result: latest.json.
More about this source
What runs by code, by agents and by people
Code
- the collector reads robots.txt, then the agenda route or page, and writes latest.json and reads.json
- collect/events-by-place.mjs derives data/events/by-place/<place>.json from latest.json
- GitHub Actions runs it every hour and deploys the site
Agents
- data.b.collector@PrompTugal.dinis (Sonnet) researched the sources and wrote the collector and this card on 18 November 2026, for data.b@PrompTugal.dinis
People
- Dinis Cruz decided the events collection on 18 November 2026; no person has checked the values yet (not reviewed)
Cost
| Field | Value |
|---|---|
| per run tokens | 0 |
| per run model cost usd | 0 |
| runner | GitHub Actions on a public repository: no charge; about 12 requests and 30 seconds a run (measured locally, 18 November 2026) |
| build tokens | not measured |
| note | Code only: no model is called when the data is collected. |
API addresses
These addresses stay for the life of v1 (the contract).
curl -s https://data.promptugal.news/api/v1/events-pt/latest.json
curl -s https://data.promptugal.news/api/v1/events-pt/reads.json | head -c 600
Vault
Vault not yet created. The collector writes the bytes of each read to a vault copy; until the vault exists they are not kept.
Last runs
| Time (UTC) | Requests ok | Requests failed | Reads with changed bytes |
|---|---|---|---|
| 2026-11-18 19:14 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 19:10 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 19:06 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 19:03 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 18:55 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 18:51 UTC | 6 | 2 | 3 of 8 |
| 2026-11-18 17:54 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 17:39 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 16:30 UTC | 6 | 2 | 3 of 8 |
| 2026-11-18 16:11 UTC | 6 | 2 | 3 of 8 |
| 2026-11-18 16:07 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 16:04 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:58 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 15:54 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:51 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 15:47 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 15:43 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:39 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:36 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:32 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:27 UTC | 6 | 2 | 1 of 8 |
| 2026-11-18 15:13 UTC | 6 | 2 | 2 of 8 |
| 2026-11-18 15:08 UTC | 6 | 2 | 5 of 8 |
| 2026-11-18 14:50 UTC | 3 | 1 | 1 of 4 |
Showing 24 of 34 runs kept. Full detail with sha256: reads.json.
Preview of the values
The first 5 of 12 entries in gaps, as read 2026-11-18 19:14 UTC. Source: https://www.agendalx.pt/wp-json/agendalx/v1/events?per_page=50. Long values are shortened here; the file has them whole.
| host | why | read_at | Source |
|---|---|---|---|
| dados.cm-lisboa.pt | Cloudflare bot check ("Just a moment...") on the open data API; its robots.tx... | 2026-11-18T14:00:00Z | source |
| www.lisboa.pt | HTTP 403 on its legal and terms pages (aviso-legal, termos-e-condicoes). Resp... | 2026-11-18T14:00:00Z | source |
| visitalgarve.pt, eventos.visitalgarve.pt | eventos.visitalgarve.pt robots.txt allows all (read 18 Nov 2026), but the age... | 2026-11-18T18:00:00Z | source |
| autodromodoalgarve.com | robots.txt allows /race-calendar/ and the list is plain HTML, but the site te... | 2026-11-18T18:00:00Z | source |
| www.portugalmotogp.com | self-described "not the official Portuguese Grand Prix website ... independen... | 2026-11-18T18:00:00Z | source |