European Central Bank/getVersionedMetadataArtefact

Preview only · details below

European Central BankEuropean Central Bank Data Portal SDMX API

GET/{resource}/{agencyID}/{resourceID}/{version}

Get a versioned structural metadata artefact

Returns structural metadata for a maintainer, resource identifier, and version.

Query the European Central Bank's public SDMX 2.1 statistical data, structural metadata, and structure-specific XML schemas, including complete path variants, content negotiation, and 12 searchable schemas.

Request

operationId
getVersionedMetadataArtefact
Server
https://data-api.ecb.europa.eu/service
Authentication
None

Request parameters

resource

pathstringrequired

SDMX structural-metadata artefact type.

dataflow

agencyID

pathstringrequired

Identifier of the SDMX agency maintaining the artefact.

ECB

resourceID

pathstringrequired

SDMX artefact identifier.

EXR

version

pathstringrequired

SDMX artefact version.

1.0

detail

querystring

Structural metadata detail level.

allstubs

references

querystring

Includes or excludes related artefacts; a concrete resource type is also accepted.

none

Accept

headerstring

Selects the response representation. The ECB recommends versioned, specific media types.

application/vnd.sdmx.structure+xml;version=2.1

Accept-Encoding

headerstring

Requests a compressed response, for example gzip.

gzip

Responses

200

stringapplication/vnd.sdmx.structure+xml;version=2.1application/xml

Structural metadata XML.

400

ErrorBodytext/plainapplication/xmlapplication/json

The query parameters contain a syntax or semantic error.

404

ErrorBodytext/plainapplication/xmlapplication/json

No result matched the query.

406

ErrorBodytext/plainapplication/xmlapplication/json

The requested representation is not supported.

500

ErrorBodytext/plainapplication/xmlapplication/json

An internal ECB service error occurred.

501

ErrorBodytext/plainapplication/xmlapplication/json

The request uses SDMX REST functionality not implemented by the ECB service.

503

ErrorBodytext/plainapplication/xmlapplication/json

The ECB service is temporarily unavailable.