# Spain General government fiscal balance, % of GDP, quarterly (seasonally & calendar adjusted)

Spain General government fiscal balance, % of GDP, quarterly (seasonally & calendar adjusted) was −2.2% in Q2 2026, unchanged from Q1 2026 and unchanged from a year earlier.
Over the past ten years it has ranged from −20.2% (Q2 2020) to −2.1% (Q3 2025), averaging −4.2%.

- Source agency: Eurostat (Statistical Office of the European Union)
- Makrognosis code: `ES.GOVBAL.Q.SA.MEASURE-PCTGDP`
- Frequency: quarterly
- Units: % of GDP
- Coverage: 2001-01-01 to 2026-04-01 (102 observations)
- Page: https://makrognosis.robomacro.com/data/spain/general-government-fiscal-balance-pct-of-gdp-quarterly-seasonally-and

## Recent data

| Period | Value |
|---|---:|
| Q2 2026 | −2.2% |
| Q1 2026 | −2.2% |
| Q4 2025 | −2.3% |
| Q3 2025 | −2.1% |
| Q2 2025 | −2.2% |
| Q1 2025 | −3.1% |
| Q4 2024 | −3.8% |
| Q3 2024 | −3.2% |
| Q2 2024 | −3.0% |
| Q1 2024 | −2.7% |
| Q4 2023 | −2.8% |
| Q3 2023 | −3.5% |
| Q2 2023 | −4.3% |
| Q1 2023 | −2.7% |
| Q4 2022 | −5.6% |
| Q3 2022 | −4.7% |
| Q2 2022 | −4.4% |
| Q1 2022 | −3.6% |
| Q4 2021 | −4.2% |
| Q3 2021 | −6.7% |
| Q2 2021 | −7.3% |
| Q1 2021 | −8.6% |
| Q4 2020 | −7.5% |
| Q3 2020 | −8.4% |

## API

```
curl -H "X-API-Key: $MAKROGNOSIS_KEY" \
  "https://makrognosis.robomacro.com/v1/series/ES.GOVBAL.Q.SA.MEASURE-PCTGDP"

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