zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Ecb
Logo Ecb

Ecb

The ECB's dataflow catalogue — the vocabulary `series` takes as its `dataflow`.

Endpoints
5
Requests
322
Updated
5 hours ago
For LLMs
llms.txt
Endpoint healthnot yet measured
  • dataflowsnot measured
  • seriesnot measured
  • exchange-ratesnot measured
  • hicpnot measured
  • key-ratesnot measured
no measurements yetdaily 01:00 WIB

Playground

5 endpoints
GET/v1/finance:ecb/dataflows1d cache2 paramschecking key…
Parameters
agencystring

Maintenance agency of the dataflows. Default ECB.

querystring

Case-insensitive filter over the dataflow id, name and data-structure id.

·
Response
EXAMPLE
{
  "count": 104,
  "items": [
    {
      "name": "AGR",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "AGR",
      "structure": "ECB_BCS1"
    },
    {
      "name": "AMECO",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "AME",
      "structure": "ECB_AME1"
    },
    {
      "name": "Banknotes statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BKN",
      "structure": "ECB_BKN1"
    },
    {
      "name": "Bank Lending Survey Statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BLS",
      "structure": "ECB_BLS1"
    },
    {
      "name": "Shipments of Euro Banknotes Statistics (ESCB)",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BNT",
      "structure": "ECB_BOP_BNT"
    },
    {
      "name": "Euro Area Balance of Payments and International Investment Position Statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BOP",
      "structure": "ECB_BOP1"
    },
    {
      "name": "Balance Sheet Items",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BSI",
      "structure": "ECB_BSI1"
    },
    {
      "name": "Balance Sheet Items Statistics (tables 2 to 5 of the Blue Book)",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BSP",
      "structure": "ECB_BSI1"
    }
  ],
  "query": null,
  "total": 104,
  "agency": "ECB",
  "dataset": "dataflows",
  "provider": "ecb"
}

Code examples

Dataflows
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:ecb", "dataflows", {
  "agency": "ECB",
  "query": "yield"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:ecb/dataflows?agency=ECB&query=yield" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

5 endpoints · plain text
GETDataflows/v1/finance:ecb/dataflowsThe ECB's dataflow catalogue — the vocabulary `series` takes as its `dataflow`.

Parameters

agencystringoptional
Maintenance agency of the dataflows. Default ECB.
querystringoptional
Case-insensitive filter over the dataflow id, name and data-structure id.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:ecb/dataflows?agency=ECB&query=yield" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 104,
  "items": [
    {
      "name": "AGR",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "AGR",
      "structure": "ECB_BCS1"
    },
    {
      "name": "AMECO",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "AME",
      "structure": "ECB_AME1"
    },
    {
      "name": "Banknotes statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BKN",
      "structure": "ECB_BKN1"
    },
    {
      "name": "Bank Lending Survey Statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BLS",
      "structure": "ECB_BLS1"
    },
    {
      "name": "Shipments of Euro Banknotes Statistics (ESCB)",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BNT",
      "structure": "ECB_BOP_BNT"
    },
    {
      "name": "Euro Area Balance of Payments and International Investment Position Statistics",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BOP",
      "structure": "ECB_BOP1"
    },
    {
      "name": "Balance Sheet Items",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BSI",
      "structure": "ECB_BSI1"
    },
    {
      "name": "Balance Sheet Items Statistics (tables 2 to 5 of the Blue Book)",
      "agency": "ECB",
      "version": "1.0",
      "dataflow": "BSP",
      "structure": "ECB_BSI1"
    }
  ],
  "query": null,
  "total": 104,
  "agency": "ECB",
  "dataset": "dataflows",
  "provider": "ecb"
}
GETSeries/v1/finance:ecb/seriesAny of the ECB's 104 SDMX dataflows, by dataflow and series key.

Parameters

dataflowstringrequired
ECB dataflow id — EXR, FM, ICP, YC, BSI, MIR, BOP, GST, STS and 95 more. dataflows lists them.
keystringoptional
Series key: dimension values dot-joined in the dataflow's order, + to OR within one position, empty between dots for a wildcard. Default all series in the dataflow.
fromstringoptional
First period, in the series' own period format (2026-08-20, 2026-08, 2026-Q2, 2026).
tostringoptional
Last period, same format as from.
lastnumberoptional
Return only the newest N observations per series.
firstnumberoptional
Return only the oldest N observations per series.
detailenumoptional
full (default), dataonly (drops attributes), serieskeysonly or nodata — use the last two to resolve a wildcard key cheaply. Values: full, dataonly, serieskeysonly, nodata.
updatedAfterstringoptional
Only observations changed after this ISO timestamp.
historyenumoptional
Return every point-in-time vintage instead of the current values, adding action, validFrom and validTo to each observation. Default false. Values: true, false.
lengthnumberoptional
Observations per series to return, newest first. Default 200, max 20000.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:ecb/series?dataflow=EXR&key=D.USD.EUR.SP00.A&from=2026-01-01&to=2026-08-20&last=10&first=10&detail=serieskeysonly&updatedAfter=2026-08-01T00%3A00%3A00Z&history=true&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "key": null,
  "from": null,
  "count": 4027,
  "items": [
    {
      "key": "EXR.A.ARS.EUR.SP00.A",
      "unit": "ARS",
      "count": 1,
      "title": "Argentine peso/Euro",
      "total": 1,
      "values": [
        {
          "value": 53.8200352941176,
          "period": "2019",
          "status": "A",
          "comment": "Indicative rate"
        }
      ],
      "frequency": "A",
      "attributes": {
        "unit": "ARS",
        "title": "Argentine peso/Euro",
        "decimals": "5",
        "unitMult": "0",
        "collection": "A",
        "timeFormat": "P1Y",
        "titleCompl": "Indicative exchange rate, Euro/Argentine peso, 2:15 pm (C.E.T.)",
        "sourceAgency": "4F0"
      },
      "dimensions": {
        "freq": "A",
        "exrType": "SP00",
        "currency": "ARS",
        "exrSuffix": "A",
        "currencyDenom": "EUR"
      },
      "latestValue": 53.8200352941176,
      "latestPeriod": "2019"
    },
    {
      "key": "EXR.A.ARS.EUR.SP00.E",
      "unit": "ARS",
      "count": 1,
      "title": "Euro/Argentine peso",
      "total": 1,
      "values": [
        {
          "value": 67.2692,
          "period": "2019",
          "status": "A"
        }
      ],
      "frequency": "A",
      "attributes": {
        "unit": "ARS",
        "title": "Euro/Argentine peso",
        "decimals": "5",
        "unitMult": "0",
        "collection": "E",
        "timeFormat": "P1Y",
        "titleCompl": "Indicative exchange rate, Euro/Argentine peso, 2:15 pm (C.E.T.)",
        "sourceAgency": "4F0"
      },
      "dimensions": {
        "freq": "A",
        "exrType": "SP00",
        "currency": "ARS",
        "exrSuffix": "E",
        "currencyDenom": "EUR"
      },
      "latestValue": 67.2692,
      "latestPeriod": "2019"
    },
    {
      "key": "EXR.A.AUD.EUR.SP00.A",
      "unit": "AUD",
      "count": 1,
      "title": "Australian dollar/Euro ECB reference exchange rate",
      "total": 1,
      "values": [
        {
          "value": 1.75176,
          "period": "2025",
          "status": "A",
          "confidentiality": "F"
        }
      ],
      "frequency": "A",
      "attributes": {
        "unit": "AUD",
        "title": "Australian dollar/Euro ECB reference exchange rate",
        "decimals": "4",
        "unitMult": "0",
        "collection": "A",
        "timeFormat": "P1Y",
        "titleCompl": "ECB reference exchange rate, Australian dollar/Euro, 2.15 pm (C.E.T.)",
        "sourceAgency": "4F0"
      },
      "dimensions": {
        "freq": "A",
        "exrType": "SP00",
        "currency": "AUD",
        "exrSuffix": "A",
        "currencyDenom": "EUR"
      },
      "latestValue": 1.75176,
      "latestPeriod": "2025"
    }
  ],
  "total": 4027,
  "detail": "full",
  "dataset": "series",
  "history": false,
  "dataflow": "EXR",
  "provider": "ecb"
}
GETExchange Rates/v1/finance:ecb/exchange-ratesECB euro foreign-exchange reference rates.

Parameters

currencystringoptional
ISO currency codes, comma-separated, up to 40 in one call. Default USD. Rates are units per euro.
frequencyenumoptional
D daily, M monthly average, Q quarterly average or A annual average. Default D. Values: D, M, Q, A.
fromstringoptional
First period, YYYY-MM-DD for daily, YYYY-MM for monthly, YYYY-Q1 for quarterly, YYYY for annual.
tostringoptional
Last period, same format as from.
asOfstringoptional
A single period. Overrides from and to. A day the ECB did not publish returns 404.
lastnumberoptional
Return only the newest N observations per currency. Default 30 when no window is given.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:ecb/exchange-rates?currency=USD%2CGBP%2CJPY&frequency=D&from=2026-08-01&to=2026-08-20&asOf=2026-08-20&last=5" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "base": "EUR",
  "from": null,
  "count": 3,
  "items": [
    {
      "base": "EUR",
      "count": 30,
      "title": "US dollar/Euro ECB reference exchange rate",
      "values": [
        {
          "rate": 1.1681,
          "period": "2026-08-20",
          "status": "A"
        },
        {
          "rate": 1.1605,
          "period": "2026-08-19",
          "status": "A"
        },
        {
          "rate": 1.1576,
          "period": "2026-08-18",
          "status": "A"
        },
        {
          "rate": 1.1593,
          "period": "2026-08-17",
          "status": "A"
        },
        {
          "rate": 1.1567,
          "period": "2026-08-14",
          "status": "A"
        },
        {
          "rate": 1.1534,
          "period": "2026-08-13",
          "status": "A"
        },
        {
          "rate": 1.1545,
          "period": "2026-08-12",
          "status": "A"
        },
        {
          "rate": 1.154,
          "period": "2026-08-11",
          "status": "A"
        }
      ],
      "currency": "USD",
      "latestRate": 1.1681,
      "latestPeriod": "2026-08-20"
    },
    {
      "base": "EUR",
      "count": 30,
      "title": "Pound sterling/Euro ECB reference exchange rate",
      "values": [
        {
          "rate": 0.85725,
          "period": "2026-08-20",
          "status": "A"
        },
        {
          "rate": 0.85608,
          "period": "2026-08-19",
          "status": "A"
        },
        {
          "rate": 0.85585,
          "period": "2026-08-18",
          "status": "A"
        },
        {
          "rate": 0.855,
          "period": "2026-08-17",
          "status": "A"
        },
        {
          "rate": 0.8545,
          "period": "2026-08-14",
          "status": "A"
        },
        {
          "rate": 0.8549,
          "period": "2026-08-13",
          "status": "A"
        },
        {
          "rate": 0.85358,
          "period": "2026-08-12",
          "status": "A"
        },
        {
          "rate": 0.85483,
          "period": "2026-08-11",
          "status": "A"
        }
      ],
      "currency": "GBP",
      "latestRate": 0.85725,
      "latestPeriod": "2026-08-20"
    },
    {
      "base": "EUR",
      "count": 30,
      "title": "Japanese yen/Euro ECB reference exchange rate",
      "values": [
        {
          "rate": 185.45,
          "period": "2026-08-20",
          "status": "A"
        },
        {
          "rate": 184.62,
          "period": "2026-08-19",
          "status": "A"
        },
        {
          "rate": 184.87,
          "period": "2026-08-18",
          "status": "A"
        },
        {
          "rate": 184.59,
          "period": "2026-08-17",
          "status": "A"
        },
        {
          "rate": 183.93,
          "period": "2026-08-14",
          "status": "A"
        },
        {
          "rate": 183.77,
          "period": "2026-08-13",
          "status": "A"
        },
        {
          "rate": 183.67,
          "period": "2026-08-12",
          "status": "A"
        },
        {
          "rate": 183.72,
          "period": "2026-08-11",
          "status": "A"
        }
      ],
      "currency": "JPY",
      "latestRate": 185.45,
      "latestPeriod": "2026-08-20"
    }
  ],
  "total": 90,
  "dataset": "exchange-rates",
  "missing": [],
  "provider": "ecb",
  "resolved": [
    "GBP",
    "JPY",
    "USD"
  ],
  "frequency": "D",
  "currencies": [
    "USD",
    "GBP",
    "JPY"
  ]
}
GETHicp/v1/finance:ecb/hicpEuro-area inflation — the Harmonised Index of Consumer Prices.

Parameters

itemstringoptional
COICOP item code — 000000 overall, 010000 food, 040000 housing, XEF000 excluding energy and food. Comma-separated for several. Default 000000.
areastringoptional
Reference area — U2 euro area, DE, FR, IT, ES and the other member states. Default U2.
measureenumoptional
ANR annual rate of change, INX index level, ANR_S seasonally adjusted annual rate, MRR monthly rate, CTG contribution, CTG_S adjusted contribution, WGT weight. Default ANR. Values: ANR, INX, ANR_S, MRR, CTG, CTG_S, WGT.
fromstringoptional
First month, YYYY-MM.
tostringoptional
Last month, YYYY-MM.
lastnumberoptional
Return only the newest N months per item. Default 24 when no window is given.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:ecb/hicp?item=000000&area=U2&measure=ANR&from=2025-01&to=2025-12&last=12" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "area": "U2",
  "from": null,
  "count": 1,
  "items": [
    {
      "area": "U2",
      "item": "000000",
      "unit": "PCCH",
      "count": 24,
      "title": "HICP - Overall index",
      "values": [
        {
          "value": 1.9,
          "period": "2025-12"
        },
        {
          "value": 2.1,
          "period": "2025-11"
        },
        {
          "value": 2.1,
          "period": "2025-10"
        },
        {
          "value": 2.2,
          "period": "2025-09"
        },
        {
          "value": 2,
          "period": "2025-08"
        },
        {
          "value": 2,
          "period": "2025-07"
        },
        {
          "value": 2,
          "period": "2025-06"
        },
        {
          "value": 1.9,
          "period": "2025-05"
        }
      ],
      "measure": "ANR",
      "latestValue": 1.9,
      "measureName": "Annual rate of change",
      "latestPeriod": "2025-12"
    }
  ],
  "total": 24,
  "dataset": "hicp",
  "measure": "ANR",
  "missing": [],
  "provider": "ecb",
  "resolved": [
    "000000"
  ],
  "itemCodes": [
    "000000"
  ],
  "latestPeriod": "2025-12"
}
GETKey Rates/v1/finance:ecb/key-ratesThe ECB's three policy rates and every date they changed.

Parameters

ratestringoptional
Policy rates, comma-separated: MRR_FR (main refinancing), DFR (deposit facility), MLFR (marginal lending facility). Default all three.
fromstringoptional
First date, YYYY-MM-DD. The series is daily and repeats the level between changes.
tostringoptional
Last date, YYYY-MM-DD.
lastnumberoptional
Return only the newest N observations per rate. Default 20 when no window is given.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:ecb/key-rates?rate=MRR_FR%2CDFR&from=2024-01-01&to=2026-08-20&last=10" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "from": null,
  "count": 2,
  "items": [
    {
      "name": "Main refinancing operations - fixed rate",
      "rate": "MRR_FR",
      "unit": "percent per annum",
      "count": 20,
      "title": "Main refinancing operations  - fixed rate tenders (fixed rate) (date of changes) - Level",
      "values": [
        {
          "date": "2026-08-21",
          "rate": 2.4
        },
        {
          "date": "2026-08-20",
          "rate": 2.4
        },
        {
          "date": "2026-08-19",
          "rate": 2.4
        },
        {
          "date": "2026-08-18",
          "rate": 2.4
        },
        {
          "date": "2026-08-17",
          "rate": 2.4
        },
        {
          "date": "2026-08-16",
          "rate": 2.4
        },
        {
          "date": "2026-08-15",
          "rate": 2.4
        },
        {
          "date": "2026-08-14",
          "rate": 2.4
        }
      ],
      "latestDate": "2026-08-21",
      "latestRate": 2.4
    },
    {
      "name": "Deposit facility",
      "rate": "DFR",
      "unit": "percent per annum",
      "count": 20,
      "title": "Deposit facility  - date of changes (raw data) - Level",
      "values": [
        {
          "date": "2026-08-21",
          "rate": 2.25
        },
        {
          "date": "2026-08-20",
          "rate": 2.25
        },
        {
          "date": "2026-08-19",
          "rate": 2.25
        },
        {
          "date": "2026-08-18",
          "rate": 2.25
        },
        {
          "date": "2026-08-17",
          "rate": 2.25
        },
        {
          "date": "2026-08-16",
          "rate": 2.25
        },
        {
          "date": "2026-08-15",
          "rate": 2.25
        },
        {
          "date": "2026-08-14",
          "rate": 2.25
        }
      ],
      "latestDate": "2026-08-21",
      "latestRate": 2.25
    }
  ],
  "rates": [
    "MRR_FR",
    "DFR"
  ],
  "total": 40,
  "dataset": "key-rates",
  "provider": "ecb"
}

Related APIs

More in finance

Pluang

finance/pluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

27.9K calls·1d cache

Binance Vision

finance/binance-vision

Binance's public bulk archive: klines, 5-minute open-interest and long/short metrics, funding, book depth and liquidations, back to 2017.

7.9K calls·1d cache

TradingView

finance/tradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

57K calls·1d cache

Stockbit

finance/stockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

17.7K calls·1d cache

Mempool Space

finance/mempool-space

Recommended fee tiers in sat/vB, as mempool.space's own estimator sees them.

1.1K calls·2m cache

Etherscan

finance/etherscan

Current gas price tiers and base fee, from Etherscan's V2 multichain API.

683 calls·30s cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026