# Population (1 January) — Barcelona (NUTS-3 ES511)

Population (1 January) — Barcelona (NUTS-3 ES511) was 5,959,941 persons in 2025, up 1.4% from 2024.
That is the highest reading since the series began in 1990.
Over the past ten years it has ranged from 5,453,143 persons (2015) to 5,959,941 persons (2025), averaging 5,667,245 persons.

- Source agency: Eurostat (Statistical Office of the European Union)
- Makrognosis code: `ES-511.POP.A.NSA`
- Frequency: annual
- Units: persons
- Coverage: 1990-01-01 to 2025-01-01 (36 observations)
- Page: https://makrognosis.robomacro.com/data/spain/population-1-january-barcelona-nuts-3-es511

## Recent data

| Period | Value |
|---|---:|
| 2025 | 5,959,941 persons |
| 2024 | 5,877,672 persons |
| 2023 | 5,797,356 persons |
| 2022 | 5,699,634 persons |
| 2021 | 5,702,262 persons |
| 2020 | 5,690,371 persons |
| 2019 | 5,622,704 persons |
| 2018 | 5,556,273 persons |
| 2017 | 5,507,412 persons |
| 2016 | 5,472,926 persons |
| 2015 | 5,453,143 persons |
| 2014 | 5,459,762 persons |
| 2013 | 5,500,080 persons |
| 2012 | 5,518,280 persons |
| 2011 | 5,505,667 persons |
| 2010 | 5,488,633 persons |
| 2009 | 5,465,835 persons |
| 2008 | 5,387,705 persons |
| 2007 | 5,297,172 persons |
| 2006 | 5,221,841 persons |
| 2005 | 5,143,474 persons |
| 2004 | 5,052,814 persons |
| 2003 | 4,956,066 persons |
| 2002 | 4,835,593 persons |

## API

```
curl -H "X-API-Key: $MAKROGNOSIS_KEY" \
  "https://makrognosis.robomacro.com/v1/series/ES-511.POP.A.NSA"

# Python
import requests
r = requests.get("https://makrognosis.robomacro.com/v1/series/ES-511.POP.A.NSA",
                 headers={"X-API-Key": KEY})
obs = r.json()["observations"]
```
