← Agent Data Hub · Search endpoints · /llms.txt
Energy import dependency (all products) for any EU/EEA country or aggregate (geo code, e.g. DE, FR, EU27_2020, EA for the euro area), latest value plus history. Eurostat dataset nrg_ind_id.
GET https://api.agentdatahub.de/api/v1/call/eurostat-energy-import-dependency?geo=DE&periods=12&compact=1
Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"eurostat-energy-import-dependency"}
curl:
curl -s 'https://api.agentdatahub.de/api/v1/call/eurostat-energy-import-dependency?geo=DE&periods=12&compact=1'
Python (standard library only):
import json, urllib.request
url = "https://api.agentdatahub.de/api/v1/call/eurostat-energy-import-dependency?geo=DE&periods=12&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
data = json.load(r)
print(json.dumps(data, indent=2)[:2000])
Google Sheets:
=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/eurostat-energy-import-dependency?geo=DE&periods=12&_order=desc&_limit=500&format=csv")
The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.
geo | Eurostat geo code, e.g. DE, FR, IT, EU27_2020, EA = euro area as composed today (default: DE) |
exact | true: the geo code exactly as given, e.g. EA20 for the 2023-2025 composition (optional) |
periods | Number of most recent periods, 1-400 (default: 24) |
{
"apiId": "eurostat-energy-import-dependency",
"trust": "checked",
"data_freshness": "cached",
"data": {
"dataset": "nrg_ind_id",
"title": "Energy import dependency (all products)",
"unit": "% of gross available energy",
"geo": "DE",
"latest": {
"period": "2024",
"value": 66.812
},
"history": [
{
"period": "2013",
"value": 62.411
},
{
"period": "2014",
"value": 61.779
},
{
"period": "2015",
"value": 62.132
},
{
"period": "2016",
"value": 63.752
},
{
"period": "2017",
"value": 63.959
},
{
"period": "2018",
"value": 63.478
},
{
"period": "2019",
"value": 67.055
},
{
"period": "2020",
"value": 63.676
},
{
"period": "2021",
"value": 63.395
},
{
"period": "2022",
"value": 68.652
},
{
"period": "2023",
"value": 66.831
},
{
"period": "2024",
"value": 66.812
}
],
"served_from": "archive",
"attribution": "Source: Eurostat"
},
"source": "Eurostat",
"source_url": "https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/nrg_ind_id",
"license": "Eurostat (reuse incl. commercial allowed, source acknowledged)",
"licence_status": "green",
"as_of": "2024",
"checked": "2026-12-03"
}
Recorded history available: /api/v1/history/eurostat-energy-import-dependency?geo=DE&periods=12
| Source | Eurostat |
| License | Eurostat (reuse incl. commercial allowed, source acknowledged) |
| Source URL | https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/nrg_ind_id |
| Terms | https://ec.europa.eu/eurostat/web/main/help/copyright-notice |
| Category | Finance & Markets › Euro Area & EU Statistics (ECB, Eurostat) · more: eurostat-energy-intensity · eurostat-ev-charging-points · eurostat-excess-mortality |