{"uid":"cap_6xpZQA2Rjxc8cD2O7ChDB","slug":"eu-government-gross-debt-maastricht-of-gdp-eurostat-8f4f56d1","name":"EU Government Gross Debt (Maastricht) % of GDP — Eurostat","description":"General government gross debt (Maastricht) as % of GDP for any European country, quarterly; without a country, a ranking with the latest figure of each. Official Eurostat data.","url":"https://api.vextorium.com/deuda-publica-ue-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"pais":{"type":"string","description":"ISO code (ES, DE, FR...), EU, EA or omit for a ranking of all countries"},"trimestres":{"type":"integer"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"pais":{"type":["string","null"]},"serie":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"periodo":{"type":["null","string"]},"deuda_pct_pib":{"type":["null","number"]}}}},"fuente":{"type":["string","null"]},"nombre":{"type":["string","null"]},"ultimo":{"type":["object","null"],"properties":{"periodo":{"type":["string","null"]},"deuda_pct_pib":{"type":["number","null"]}}},"actualizado":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"pais":"ES","serie":[{"periodo":"2025-Q2","deuda_pct_pib":103.4},{"periodo":"2025-Q3","deuda_pct_pib":103.1},{"periodo":"2025-Q4","deuda_pct_pib":100.7},{"periodo":"2026-Q1","deuda_pct_pib":101.6}],"fuente":"Eurostat (gov_10q_ggdebt, CC BY 4.0)","nombre":"Spain","ultimo":{"periodo":"2026-Q1","deuda_pct_pib":101.6},"actualizado":"2026-07-21T11:00:00+0200"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q2RRoOiaavD-65TLHyQab","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns quarterly general government gross debt as % of GDP for a European country, or a ranking of all EU countries with their latest figure, sourced from official Eurostat data.","exampleAgentPrompt":"Can you pull the latest quarterly Eurostat data on Spain's general government gross debt as a percentage of GDP, going back 8 quarters?","exampleUseCases":[{"title":"Country debt-to-GDP time series","prompt":"Give me Spain's government gross debt as a percentage of GDP for the last 8 quarters — I need the full quarterly series from Eurostat."},{"title":"EU debt ranking snapshot","prompt":"Which European countries have the highest government debt right now? Pull the latest Eurostat Maastricht debt ranking across all EU countries."},{"title":"Fiscal health comparison for a specific country","prompt":"What is Germany's current general government gross debt as a share of GDP according to the latest Eurostat figures?"}],"resultDescription":"Returns a JSON object with the country ISO code, full name, a quarterly time series of debt-to-GDP values (period label + percentage), the most recent period and its figure, the Eurostat data source attribution, and the last update timestamp. When no country is specified, returns a ranking list of all EU/EA countries with their latest figure.","failureModes":["Invalid or unrecognised country ISO code returns an error or empty result","Requesting a country not covered by Eurostat (non-EU) may return no data","Data lag: Eurostat publishes quarterly data with a delay, so the most recent quarter may not yet be available","Specifying a very large number of quarters may exceed available historical data"],"whenToPreferThis":"Use this endpoint when you need official EU government gross debt figures sourced directly from Eurostat (the authoritative EU statistical office), especially for the Maastricht-definition debt metric at quarterly frequency. Prefer it over general financial data APIs when official EU compliance-grade data is required, or when you want a cross-country EU debt ranking without building your own aggregation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:23.949Z","isFirstParty":false,"canonicalSlug":"eu-government-gross-debt-maastricht-of-gdp-eurostat-8f4f56d1"}