Open data

Data and API

Everything the site shows comes from a public, read-only API at https://api.impactopublico.pt, with no key and no account. Responses use the {data, meta} envelope: records travel in data and provenance — observation instant, official URL, SHA-256 and counts — travels in meta.source.

IDENTITY

/v1/build

The published cut: commit, publication instant and repository-derived counts, including the municipal universe.

SOURCES

/v1/source-status

The latest observation of every source in the public catalogue: operational state, counts, coverage and detected changes.

POLICY FILES

/v1/policies

Published policy files; the /v1/policies/:slug detail joins lifecycle, SHA-256 sources, evidence, coverage search and source diversity.

PARLIAMENT

/v1/parliament-daily

Agenda, open consultations, observed changes, votes and enacted laws for the day.

INITIATIVES

/v1/initiatives

Searchable catalogue of the current legislature's initiatives, with filters and an opaque cursor; detail at /v1/initiatives/:externalId.

PARTIES

/v1/parties

Parliamentary groups with per-author counts; profile at /v1/parties/:slug.

DAILY RECORD

/v1/daily-highlight

The four areas of the daily record, with the number of candidates assessed and the public selection rule.

CONTRACTS

/v1/contracts

Public contracts from the active Portal BASE version, with search, filters and detail at /v1/contracts/:externalId.

MUNICIPAL ACCOUNTS

/v1/municipal-finances

Revenue collected and spending paid per municipality, from the accepted annual DGAL cut.

MUNICIPALITIES

/v1/municipalities

Observed municipal index; per-municipality documents at /v1/municipalities/:slug/documents.

EVALUATIONS

/v1/evaluations

Evaluations from the AD&C catalogue, with each one's official products.

RSS

/assembleia/feed.xml

Account-free RSS: the parliamentary day, the daily record at /feed.xml and each policy file at /politicas/:slug/feed.xml.