# Spain Government Budget Balance

Spain Government Budget Balance was −2.4% in 2025, up 0.8 percentage points from 2024.
That is the highest reading since the series began in 2010.
Among the 23 economies Makrognosis covers on this measure, it is the 11th highest.

- Source agency: Eurostat (Statistical Office of the European Union)
- Makrognosis code: `ES.BUDGET.A.NSA`
- Frequency: annual
- Units: % of GDP
- Coverage: 2010-01-01 to 2025-01-01 (16 observations)
- Page: https://makrognosis.robomacro.com/data/spain/government-budget-balance

## Recent data

| Period | Value |
|---|---:|
| 2025 | −2.4% |
| 2024 | −3.2% |
| 2023 | −3.3% |
| 2022 | −4.6% |
| 2021 | −6.7% |
| 2020 | −9.9% |
| 2019 | −3.1% |
| 2018 | −2.6% |
| 2017 | −3.1% |
| 2016 | −4.2% |
| 2015 | −5.3% |
| 2014 | −6.0% |
| 2013 | −7.5% |
| 2012 | −11.5% |
| 2011 | −9.7% |
| 2010 | −9.5% |

## API

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

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