European Central Bank API
Read-only access to ECB public SDMX dataflows, series responses, and simplified observations. Data is fetched live from the ECB data API.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the European Central Bank API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://api.agent-data.dev/data-ecb-europa-eu/v1/dataflows' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETDataflows/v1/dataflows
List ECB dataflows exposed by the public SDMX service.
Input
No input parameters.
Response
dataflowsobject[]dataflows[].idstringdataflows[].name?string | nulldataflows[].agency?string | nulldataflows[].version?string | nulldataflows[].description?string | nullFields marked ? are optional.
GETSeries/v1/series
Retrieve the ECB SDMX response for one flow and dot-separated series key.
Input
flow_refRequiredQuery · stringECB dataflow identifier, such as ICP.
Example: ICP
series_keyRequiredQuery · stringDot-separated series key within the dataflow.
Example: M.DE.N.000000.4.ANR
detailOptionalQuery · string | nullOptional SDMX detail level.
Example: dataonly
last_nOptionalQuery · integer, min: 1, max: 10000 | nullReturn at most the last N observations.
Example: 12
first_nOptionalQuery · integer, min: 1, max: 10000 | nullReturn at most the first N observations.
Example: 12
end_periodOptionalQuery · string | nullInclusive end period, such as 2025-12.
Example: 2025-12
start_periodOptionalQuery · string | nullInclusive start period, such as 2024-01.
Example: 2024-01
updated_afterOptionalQuery · string | nullOnly data updated after this timestamp.
Example: 2024-01-01T00:00:00Z
include_historyOptionalQuery · boolean | nullRequest historical revisions when supported.
Example: true
Response
headerobjectheader.idstringheader.testbooleanheader.sender?string | nullheader.prepared?string | nulldata_setsobject[]structureobjectFields marked ? are optional.
GETObservations/v1/observations
Retrieve a simplified observation list for one ECB series.
Input
flow_refRequiredQuery · stringECB dataflow identifier, such as ICP.
Example: ICP
series_keyRequiredQuery · stringDot-separated series key within the dataflow.
Example: M.DE.N.000000.4.ANR
Response
series_keystringobservationsobject[]observations[].value?string | nullobservations[].period?string | nullobservations[].attributes?objectobservation_countintegerFields marked ? are optional.
Don’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.