SDMX-JSON Official Statistics Parser

tools/sdmx-jsonFormat Readers

Parse IMF, OECD, ECB, and Eurostat SDMX-JSON cubes into tidy SQL tables.

Reads SDMX-JSON 1.0 and 2.0 APIs from IMF, OECD, ECB, BIS, and Eurostat using official.sdmx_json, joining dimension codes to readable labels automatically. Outputs tidy long-form tables with full metadata for SQL, REST, Parquet, CSV, and MCP.

Use in chatQuery Eurostat's SDMX-JSON API for monthly HICP energy inflation across EU member states.

What SDMX-JSON Official Statistics Parser does

SDMX-JSON Official Statistics Parser handles the messy structure of global macro APIs where observations sit inside index tuples separated from dimension codelists. It binds official.sdmx_json@1.0.0 so every observation key resolves its country, series, frequency, and unit labels.

Scheduled refreshes fetch updated statistical releases inside Mostly Right, attach explicit currency and unit metadata, and serve results over SQL, REST JSON APIs, Parquet/CSV/JSON downloads, and MCP.

Input & output example

Expands compact SDMX index keys into human-readable dimension columns.

Indexed SDMX-JSON cube

series "0:1:0" -> observations: {"0": [2.4], "1": [2.6]}

Tidy relational rows

countryindicatorperiodvalue
DEUHICP_YOY2026-082.4
DEUHICP_YOY2026-092.6

How it works

  1. 1

    Query an SDMX-JSON 1.0 or 2.0 endpoint

    Connect IMF, OECD, ECB, or Eurostat dataflow endpoints with series filters and date-range parameters.

  2. 2

    Resolve dimensions via official.sdmx_json

    Automatically map positional series keys against SDMX structural codelists into readable columns.

  3. 3

    Publish tidy macroeconomic series

    Normalize periods and units in DuckDB SQL and expose tables via Parquet download, REST API, and MCP.

Try with an agent

Pre-loads SDMX-JSON in chat

Pull Eurostat inflation & energy series

Query Eurostat's SDMX-JSON API for monthly HICP energy inflation across EU member states.

Common use cases

  • Eurostat, OECD, IMF, BIS, and ECB time series
  • Cross-country GDP, inflation, and trade cubes
  • Decoding integer-indexed SDMX observation keys

Details

Identifier
sdmx-json
Inputs
SDMX-JSON 1.0 / 2.0 APIs
Outputs
Tidy long-form tables
Dataset delivery
Parquet · CSV · JSON · SQL · REST API · MCP

Frequently asked questions

Why use official.sdmx_json instead of generic JSON?

SDMX-JSON encodes dimension labels in separate structural dictionaries that official.sdmx_json joins automatically.

Does it support both SDMX-JSON 1.0 and 2.0 responses?

Yes. official.sdmx_json handles both SDMX-JSON 1.0 and 2.0 structural payloads cleanly.

Are series frequencies and units preserved on each row?

Yes. All series-level and observation-level attributes from the SDMX structure map into clean columns.

Related tools