Barcelona rent and sale price data
8,545 quarterly observations covering all 10 districts and all 73 neighbourhoods, as JSON. Access is keyed and metered.
Every figure on this site comes from official Generalitat de Catalunya statistics: registered rental deposits and registered sales, not listing prices. They publish it as per-year spreadsheets in two different layouts; we compile it into one series and serve it as JSON.
Coverage
| Series | Period | Observations |
|---|---|---|
| Barcelona rent | 2000 Q1 – 2026 Q1 | 105 |
| District rent | 2000 Q1 – 2026 Q1 | 1,050 |
| Neighbourhood rent | 2014 Q1 – 2026 Q1 | 3,347 |
| Barcelona sale price | 2013 Q4 – 2026 Q1 | 50 |
| District sale price | 2013 Q4 – 2026 Q1 | 510 |
| Neighbourhood sale price | 2013 Q4 – 2026 Q1 | 3,483 |
Neighbourhood rent starts in 2014 because that is when the Generalitat began publishing below district level. District and city rent go back to 2000.
In one command
curl https://www.barcelona-rent.fyi/api/data/latest.jsonThat is the current quarter for all 83 areas, no key and no account. The full quarterly series needs a free key, which is one more command:
curl -X POST https://www.barcelona-rent.fyi/api/keys
curl -H "Authorization: Bearer YOUR_KEY" \
https://www.barcelona-rent.fyi/api/data/history.jsonThe quickstart has the same thing with a button, plus Python and JavaScript.
Where to go next
- Quickstart: Get a key, make a request, read your quota.
- Endpoints: Five of them, field by field, each runnable from the page.
- Definitions: What each number measures, and the three things that catch people out.
- Terms: What you may do with the figures, and what you may not.