OPEN DATA

Open data on Portugal, in CSV

The tables behind the statistics pages of this site, as 12 CSV files. Every value carries its period and the official source it comes from.

The datasets

DatasetSourcesRowsFile
The 308 municipalities: population, area, prices, earnings and taxesOne row per municipality with district or region, NUTS, area, population, density, sale price and rent per m², average monthly earnings, IMI rate and the share of IRS kept by the municipality, each value with its period and source.DGT (CAOP), INE, AT308concelhos-portugal.csv
Price per m² by municipality: sales, rents and bank appraisalsMedian sale value and median rent of new leases per m², 12-month windows, and bank appraisal, by municipality, with the previous period.INE2,156preco-casas-concelhos.csv
Average monthly earnings by municipalityAverage monthly earnings of full-time employees, by municipality, and the gap to the national average.INE (MTSSS/GEP, Quadros de Pessoal)924salario-medio-concelhos.csv
IMI rate, IMI familiar and IRS share by municipalityIMI rate on urban property, whether IMI familiar applies and the variable share of IRS in each municipality.AT1,232impostos-municipais.csv
Housing affordability by municipalityYears of gross earnings to buy an 80 m² home and the share of monthly earnings taken by rent, in each municipality, with local earnings and with national average earnings.INE309acessibilidade-habitacao.csv
Population of PortugalResident population, live births, deaths, natural and migration balances, age groups, by year, region and municipality.INE, Eurostat204populacao-portugal.csv
Foreign residents in PortugalForeign residents by year, nationality, district, age and sex; residence permits granted; net migration.AIMA, SEF, INE, Eurostat171imigrantes-em-portugal.csv
Average salary in PortugalAverage gross monthly pay by quarter and by year, mean and median earnings, minimum wage.INE, MTSSS, DGERT, Eurostat226salario-medio-portugal.csv
Inflation in Portugal, month by monthYear-on-year, monthly and 12-month average CPI rates, core inflation, CPI excluding housing and HICP.INE, Eurostat359inflacao-portugal.csv
House prices in PortugalHouse Price Index, median sale and rent values per m², homes sold, bank appraisal and mortgage interest rates.INE, Banco de Portugal, Eurostat638precos-habitacao-portugal.csv
Life expectancy in PortugalComplete life table by age and sex, life expectancy at birth and at 65 since 1960, by region and in the European Union.INE, Eurostat1,292esperanca-de-vida-portugal.csv
The IRN list of given namesThe given names on the list of the Instituto dos Registos e do Notariado, with the sex stated in the document.IRN7,461nomes-permitidos.csv

How the files are built

Each file is UTF-8 text with a header row, comma separators and a dot as the decimal mark. Periods are written in an ISO-like form (2026, 2026-10, 2026-Q2, or a range between two of these). Source columns name the official series or document behind every value. Values we compute ourselves, such as densities or differences to the national figure, are marked as calculations and their formula is on the dataset's page.

The reference period of each series, the date of the last update and the next release expected from the source are on the dataset's page, under its methodology. A file changes only when its source publishes new figures.

Licence and how to cite

The compiled tables and the figures computed by howto.pt are published under the Creative Commons Attribution 4.0 licence (CC BY 4.0): you may copy, adapt and republish them, commercially too, provided you credit the source. The underlying figures remain those of the bodies named in each file (INE, AIMA, Banco de Portugal, Autoridade Tributária, DGT, IRN, Eurostat) under their own terms of reuse.

Suggested citation: howto.pt, «name of the dataset», https://howto.pt/en/data/, with the date you accessed it.

Found an error in a file? Send it through the contact form. How pages are sourced and corrected is in the editorial policy.