TypeScript SDK

@pontx/ecb-data-portal

The operator-published SDK for European Central Bank Data Portal SDMX API covers every Endpoint in the current approved OAS.

v0.1.0Node.js ≥ 18ESM + CommonJSTypeScript declarationsSDK Endpoint coverage 8/8

SDK quality gate

The source for v0.1.0 passed its complete unit suite and built-package E2E on Node.js 18 / 20 / 22.

SDK quality: UT 100%, E2E passed
Unit tests
3/3 · 100%
E2E
Passed
Tested commit
533ef47
Verified
2026-08-14

Install and call

The SDK is produced by Pontx and typechecked and built before publication.

Install SDK
pnpm add @pontx/ecb-data-portal
TypeScript usage
import ecbDataPortalClient from "@pontx/ecb-data-portal";

const result = await ecbDataPortalClient.data.getDataBySeriesKey(
  "EXR",
  "M.USD.EUR.SP00.A",
  { lastNObservations: 1, format: "jsondata" }
);

Command-line access

This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.

Dedicated API CLI
pnpm add --global @pontx/ecb-data-portal

pontx-ecb-data-portal call data getDataBySeriesKey --flowRef EXR --key M.USD.EUR.SP00.A --lastNObservations 1 --format jsondata --dry-run