European Central BankEuropean Central Bank Data Portal SDMX API
GET/{resource}/{agencyID}
List structural metadata by maintainer
Returns structural metadata of one type maintained by a specified SDMX agency.
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
listMetadataByAgency- 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
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.