← Agent Data Hub · Search endpoints · /llms.txt
General government net lending (+) / net borrowing (-), i.e. the budget surplus or deficit, plus total revenue and total expenditure, as % of GDP, seasonally and calendar adjusted, quarterly, for the euro area, the EU and every member state; some countries also with interest expenditure, taxes and social contributions. Options for series: geo: EU27_2020, EA21, EA20, BE, BG, CZ, DK, DE, EE, IE, EL, ES, FR, HR, IT, CY, LV, LT, LU, HU, MT, NL, AT, PL, PT, RO, SI, SK, FI, SE, IS; item: B9, TE, TR, D41PAY, D2REC, D5REC, D61REC, P3.
GET https://api.agentdatahub.de/api/v1/call/eu-government-deficit-by-country?geo=EU27_2020&item=B9&compact=1
Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"eu-government-deficit-by-country"}
geo | Eurostat country code (DE, FR, EL …), euro area or EU27_2020 (required; several comma-separated to compare, up to 10 series): EU27_2020, EA21, EA20, BE, BG, CZ, DK, DE, EE, IE, EL, ES, FR, HR, IT, CY, LV, LT, LU, HU, MT, NL, AT, PL, PT, RO, SI, SK, FI, SE, IS |
item | B9 (surplus + / deficit -), TR (total revenue), TE (total expenditure), D41PAY (interest), D2REC/D5REC/D61REC (taxes, contributions), P3 (required; several comma-separated to compare, up to 10 series): B9, TE, TR, D41PAY, D2REC, D5REC, D61REC, P3 |
series | Optional full series key as returned by /ask (instead of the parameters above), comma-separated for several |
from | Optional start YYYY, YYYY-MM or YYYY-MM-DD |
to | Optional end YYYY, YYYY-MM or YYYY-MM-DD |
last | Number of most recent periods when no from/to is given, 1-500 (default: 13) |
{
"apiId": "eu-government-deficit-by-country",
"data_freshness": "live",
"data": {
"geo": "EU27_2020",
"item": "B9",
"series": "European Union - 27 countries (from 2020) — Net lending (+)/net borrowing (-) (general government, SCA)",
"unit": "% of GDP",
"frequency": "Q",
"latest": {
"period": "2026-Q2",
"value": -3.5
},
"history": [
{
"period": "2023-Q2",
"value": -3.2
},
{
"period": "2023-Q3",
"value": -3.4
},
{
"period": "2023-Q4",
"value": -3.7
},
{
"period": "2024-Q1",
"value": -3
},
{
"period": "2024-Q2",
"value": -3.1
},
{
"period": "2024-Q3",
"value": -3
},
{
"period": "2024-Q4",
"value": -3.3
},
{
"period": "2025-Q1",
"value": -2.9
},
{
"period": "2025-Q2",
"value": -2.9
},
{
"period": "2025-Q3",
"value": -3.3
},
{
"period": "2025-Q4",
"value": -3.4
},
{
"period": "2026-Q1",
"value": -3.1
},
{
"period": "2026-Q2",
"value": -3.5
}
],
"available": {
"from": "2002-Q1",
"to": "2026-Q2",
"points": 98
},
"verification": {
"checked_at": "2026-10-31T22:07:12.439Z",
"checks": [
{
"period": "2026-Q1",
"field": "value",
"expected": -3.1,
"ok": true,
"evidence": "Eurostat 2-21072026-BP: EU deficit -3.1 % of GDP in Q1 2026 (unchanged in the Q2 data)"
}
]
},
"source": {
"publisher": "Eurostat",
"licence": "Eurostat (reuse incl. commercial allowed, source acknowledged)",
"licence_url": "https://ec.europa.eu/eurostat/web/main/help/copyright-notice",
"series_title": "European Union - 27 countries (from 2020);Net lending (+)/net borrowing (-)"
},
"attribution": "Source: Eurostat"
},
"source": "Eurostat",
"source_url": "https://ec.europa.eu/eurostat/web/main/help/copyright-notice",
"license": "Eurostat (reuse incl. commercial allowed, source acknowledged)",
"licence_status": "green"
}
Recorded history available: /api/v1/history/eu-government-deficit-by-country?geo=EU27_2020&item=B9
| Source | Eurostat |
| License | Eurostat (reuse incl. commercial allowed, source acknowledged) |
| Source URL | https://ec.europa.eu/eurostat/web/main/help/copyright-notice |
| Terms | https://ec.europa.eu/eurostat/web/main/help/copyright-notice |
| Category | Finance & Markets › Euro Area & EU Statistics (ECB, Eurostat) |