Get data
Request
- Base URLhttps://sdw-wsrest.ecb.europa.eu/service
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The statistical domain (aka dataflow) of the data to be returned.
Examples:
- EXR: The ID of the domain
- ECB,EXR: The EXR domain, maintained by the ECB
- ECB,EXR,1.0: Version 1.0 of the EXR domain, maintained by the ECB
The (possibly partial) key identifying the data to be returned.
The keyword all can be used to indicate that all data belonging to the specified dataflow and provided by the specified provider must be returned.
The examples below are based on the following key: Frequency, Country, Component of inflation, Unit of measure.
- M.DE.000000.ANR: Full key, matching exactly one series, i.e. the monthly (M) rates of change (ANR) of overall inflation (000000) in Germany (DE).
- A+M.DE.000000.ANR: Retrieves both annual and monthly data (A+M), matching exactly two series
- A+M..000000.ANR: The second dimension is wildcarded, and it wil therefore match the annual and monthly rates of change of overall inflation in any country.
The provider of the data to be retrieved.
The keyword all can be used to indicate that all data matching the supplied key and belonging to the specified dataflow and provided by any data provider must be returned.
Examples:
- ECB: Data provided by ECB
- CH2+NO2: Data provided by CH2 or NO2
Query parameters
The start of the period for which results should be supplied (inclusive).
Can be expressed using 8601 dates or SDMX reporting periods.
Examples:
- 2000: Year (ISO 8601)
- 2000-01: Month (ISO 8601)
- 2000-01-01: Date (ISO 8601)
- 2000-Q1: Quarter (SDMX)
- 2000-W01: Week (SDMX)
The end of the period for which results should be supplied (inclusive).
Can be expressed using 8601 dates or SDMX reporting periods.
Examples:
- 2000: Year (ISO 8601)
- 2000-01: Month (ISO 8601)
- 2000-01-01: Date (ISO 8601)
- 2000-S1: Semester (SDMX)
- 2000-D001: Day (SDMX)
The last time the query was performed by the client.
The response should include the latest version of what has changed in the database since that point in time (i.e. additions, revisions or deletions since the last time the query was performed).
The maximum number of observations to be returned starting from the oldest one
The maximum number of observations to be returned starting from the most recent one
Indicates how the data should be packaged.
The options are:
- TIME_PERIOD: A timeseries view
- The ID of any other dimension: A cross-sectional view of the data
- AllDimensions: A flat view of the data.
The amount of information to be returned.
Possible options are:
- full: All data and documentation
- dataonly: Everything except attributes
- serieskeysonly: The series keys. This is useful to return the series that match a certain query, without returning the actual data (e.g. overview page)
- nodata: The series, including attributes and annotations, without observations.
Retrieve previous versions of the data.
When true, the response will contain up to two datasets per dissemination, one containing new or updated values and one containing the deleted data (if any).
Headers
Specifies whether the response should be compressed and how.
identity (the default) indicates that no compression will be performed.
Specifies the client's preferred language.
Instructs to return the content matching the query only if it has changed since the supplied timestamp.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.