European Central BankEuropean Central Bank Data Portal SDMX API
GET/schema/{context}/{agencyID}/{resourceID}
Get the latest structure-specific data XML Schema
Generates the latest Structure Specific Data XML Schema for a context, maintainer, and resource identifier.
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
getStructureSpecificSchema- Server
https://data-api.ecb.europa.eu/service- Authentication
- None
Request parameters
context
pathstringrequired
SDMX constraint context used to generate the XML Schema.
datastructure
agencyID
pathstringrequired
Identifier of the SDMX agency maintaining the artefact.
ECB
resourceID
pathstringrequired
SDMX artefact identifier.
EXR
Accept-Encoding
headerstring
Requests a compressed response, for example gzip.
gzip
Responses
200
stringapplication/vnd.sdmx.schema+xml;version=2.1application/xmltext/xml
XML Schema for validating Structure Specific Data messages.
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.