# Spain Net international investment position, % of GDP

Spain Net international investment position, % of GDP was −42.7% in 2025, down 2.8 percentage points from 2024.
That is the lowest reading since 2023.
Over the past ten years it has ranged from −87.7% (2015) to −39.9% (2024), averaging −68.0%.

- Source agency: Eurostat (Statistical Office of the European Union)
- Makrognosis code: `ES.NIIP.A.NSA`
- Frequency: annual
- Units: % of GDP
- Coverage: 2001-01-01 to 2025-01-01 (25 observations)
- Page: https://makrognosis.robomacro.com/data/spain/net-international-investment-position-pct-of-gdp

## Recent data

| Period | Value |
|---|---:|
| 2025 | −42.7% |
| 2024 | −39.9% |
| 2023 | −49.5% |
| 2022 | −56.4% |
| 2021 | −69.2% |
| 2020 | −83.7% |
| 2019 | −72.0% |
| 2018 | −78.0% |
| 2017 | −84.4% |
| 2016 | −84.3% |
| 2015 | −87.7% |
| 2014 | −95.2% |
| 2013 | −92.4% |
| 2012 | −88.5% |
| 2011 | −93.3% |
| 2010 | −90.5% |
| 2009 | −97.2% |
| 2008 | −85.1% |
| 2007 | −85.0% |
| 2006 | −73.0% |
| 2005 | −63.7% |
| 2004 | −59.5% |
| 2003 | −50.6% |
| 2002 | −45.7% |

## API

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

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