European Central Bank — Government Statistics (GST)
Government Statistics (GST) is an official time series dataset published by the European Central Bank as part of its Data Portal, covering government finance and related economic indicators. It is distributed as the GST dataflow via the SDMX 2.1 REST API, with a single endpoint supporting multiple formats: SDMX-ML (XML), CSV (using the csvdata format parameter), and JSON (using the jsondata parameter). Users can retrieve specific series through key paths and refine results with startPeriod, endPeriod, or lastNObservations filters. The same underlying series can also be browsed and charted interactively on the ECB Data Portal website, without requiring authentication.》Government Statistics (GST) — official time series from the European Central Bank Data Portal, published as the GST dataflow over SDMX 2.1 REST. One endpoint serves XML (SDMX-ML), CSV (?format=csvdata) and JSON (?format=jsondata); extract exactly the series you need with a key path and startPeriod / endPeriod / lastNObservations filters. Browse and chart the same series on the ECB Data Portal.
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (30 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| FREQFrequency | dimension | Frequency of the observations, e.g. annual, monthly, quarterly.3 codes (e.g. Annual, Monthly, Quarterly) |
| REF_AREAReference area | dimension | Reference country or area code for the series.33 codes (e.g. Austria, Belgium, Bulgaria) |
| ADJUSTMENTAdjustment indicator | dimension | Indicates whether data are seasonally and/or working-day adjusted.2 codes (e.g. Neither seasonally nor working day adjusted, Working day and seasonally adjusted) |
| GOVNT_REF_SECTORCreditor user assets sector | dimension | Creditor sector holding the government asset, per ESA classification.38 codes (e.g. All sectors/ unspecified/ not applicable (ESA95)-NCBs, All sectors without central bank (ESA95)-NCBs, All sectors without general government (consolidation) (ESA95) - NCBs) |
| GOVNT_ITEM_ESAESA item - GST context | dimension | ESA classification of the government finance item measured.135 codes (e.g. Long-term securities other than shares, Short-term securities other than shares, Currency and deposits) |
| GOVNT_COUNT_SECTORDebtor resource liabil sector | dimension | Debtor sector counterpart holding the liability, per ESA classification.25 codes (e.g. General government (ESA95)-NCBs, The institutions of the EU (ESA95)-NCBs, All sectors/ unspecified/ not applicable (ESA95)-NCBs) |
| GOVNT_VALUATIONValuation - GST context | dimension | Valuation method applied to the financial or non-financial flow.9 codes (e.g. Financial flows at market value, Non-financial flows current prices, Non-financial flows chain-linked volumes at prices of the previous year) |
| GOVNT_ST_SUFFIXSeries variation - GST context | dimension | Series variation suffix indicating units or calculation method.13 codes (e.g. Euro, irrevocable conversion rate, Percentage points, series(t)/GDP(t), Perc points, ((ser(t)-ser(t-1))/ GDP(t), euro i.c.r. based calc) |
| TIME_PERIODTime period or range | time | Time period of the observation; filterable via start/end period.Time dimension — filter with startPeriod / endPeriod query params. |
| OBS_VALUEObservation value | number | Numeric value of the observation.The observed numeric value for each cell. |
| TIME_FORMATTime format code | attribute | Code indicating the format of the time period representation.Code indicating the format of the time period representation. |
| BREAKS | attribute | Indicates known breaks in the time series.Indicates known breaks in the time series. |
| COLLECTIONCollection indicator | attribute | Indicator describing how the data was collected or aggregated.Indicator describing how the data was collected or aggregated. |
| DOM_SER_IDSDomestic series ids | attribute | Identifiers of the corresponding domestic (national) data series.Identifiers of the corresponding domestic (national) data series. |
| PUBL_ECBSource publication (ECB only) | attribute | Reference to the ECB publication where the data appears.Reference to the ECB publication where the data appears. |
| PUBL_MUSource publication (Euro area only) | attribute | Reference to the euro area publication where the data appears.Reference to the euro area publication where the data appears. |
| PUBL_PUBLICSource publication (public) | attribute | Reference to the public source publication for the data.Reference to the public source publication for the data. |
| UNIT_INDEX_BASE | attribute | Base period or value used for an index unit.Base period or value used for an index unit. |
| COMPILATION | attribute | Notes on how the data series was compiled.Notes on how the data series was compiled. |
| COVERAGE | attribute | Description of the scope or coverage of the data.Description of the scope or coverage of the data. |
| DECIMALS | attribute | Number of decimal places shown in the observation value.Number of decimal places shown in the observation value. |
| NAT_TITLENational language title | attribute | Title of the series in the national language.Title of the series in the national language. |
| SOURCE_AGENCY | attribute | Agency that originally provided the data.Agency that originally provided the data. |
| SOURCE_DETAIL | attribute | Additional detail about the data source.Additional detail about the data source. |
| SOURCE_PUBPublication source | attribute | Publication from which the source data was taken.Publication from which the source data was taken. |
| TITLE | attribute | Short title describing the data series.Short title describing the data series. |
| TITLE_COMPLTitle complement | attribute | Extended or complementary title for the data series.Extended or complementary title for the data series. |
| UNIT | attribute | Unit of measurement for the observation value.Unit of measurement for the observation value. |
| UNIT_MULTUnit multiplier | attribute | Power-of-ten multiplier applied to the observation value.Power-of-ten multiplier applied to the observation value. |
| OBS_STATUSObservation status | attribute | Status code describing the nature of the observation, e.g. estimated.Status code describing the nature of the observation, e.g. estimated. |
Schema captured from sdmx 2 days ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1FREQ: A · OBS_COM: —
{
"FREQ": "A",
"OBS_COM": null,
"OBS_CONF": "F",
"REF_AREA": "AT",
"OBS_VALUE": 6712.1,
"ADJUSTMENT": "N",
"OBS_STATUS": "E",
"TIME_PERIOD": "2013",
"OBS_PRE_BREAK": null,
"GOVNT_ITEM_ESA": "BBM",
"GOVNT_ST_SUFFIX": "E",
"GOVNT_VALUATION": "FB",
"GOVNT_REF_SECTOR": "B0000",
"GOVNT_COUNT_SECTOR": "B1300"
}Record 2FREQ: A · OBS_COM: —
{
"FREQ": "A",
"OBS_COM": null,
"OBS_CONF": "F",
"REF_AREA": "AT",
"OBS_VALUE": 2.143094100289052,
"ADJUSTMENT": "N",
"OBS_STATUS": "E",
"TIME_PERIOD": "2013",
"OBS_PRE_BREAK": null,
"GOVNT_ITEM_ESA": "BBM",
"GOVNT_ST_SUFFIX": "G",
"GOVNT_VALUATION": "FB",
"GOVNT_REF_SECTOR": "B0000",
"GOVNT_COUNT_SECTOR": "B1300"
}Record 3FREQ: A · OBS_COM: —
{
"FREQ": "A",
"OBS_COM": null,
"OBS_CONF": "F",
"REF_AREA": "AT",
"OBS_VALUE": 532.5,
"ADJUSTMENT": "N",
"OBS_STATUS": "E",
"TIME_PERIOD": "2013",
"OBS_PRE_BREAK": null,
"GOVNT_ITEM_ESA": "BBS",
"GOVNT_ST_SUFFIX": "E",
"GOVNT_VALUATION": "FB",
"GOVNT_REF_SECTOR": "B0000",
"GOVNT_COUNT_SECTOR": "B1300"
}Record 4FREQ: A · OBS_COM: —
{
"FREQ": "A",
"OBS_COM": null,
"OBS_CONF": "F",
"REF_AREA": "AT",
"OBS_VALUE": 0.17002094849658378,
"ADJUSTMENT": "N",
"OBS_STATUS": "E",
"TIME_PERIOD": "2013",
"OBS_PRE_BREAK": null,
"GOVNT_ITEM_ESA": "BBS",
"GOVNT_ST_SUFFIX": "G",
"GOVNT_VALUATION": "FB",
"GOVNT_REF_SECTOR": "B0000",
"GOVNT_COUNT_SECTOR": "B1300"
}Record 5FREQ: A · OBS_COM: —
{
"FREQ": "A",
"OBS_COM": null,
"OBS_CONF": "F",
"REF_AREA": "AT",
"OBS_VALUE": 0,
"ADJUSTMENT": "N",
"OBS_STATUS": "E",
"TIME_PERIOD": "2013",
"OBS_PRE_BREAK": null,
"GOVNT_ITEM_ESA": "CDP",
"GOVNT_ST_SUFFIX": "E",
"GOVNT_VALUATION": "FB",
"GOVNT_REF_SECTOR": "B0000",
"GOVNT_COUNT_SECTOR": "B1300"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Query examples
curl -s 'https://data-api.ecb.europa.eu/service/dataflow/ECB' -H 'Accept: application/vnd.sdmx.structure+xml;version=2.1'All dataflows (datasets) published by this agency, as SDMX-ML.
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.