Data availability queries

Get information about data availability

get/availableconstraint/{flow}/{key}/{provider}/{componentID}

Request

Path parameters

flowstring required

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
keystring required

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.
providerstring required

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
componentIDstring required

The id of the Dimension for which to obtain availability information about. Use all to indicate that data availability should be provided for all dimensions.

Query parameters

mode'exact' | 'available'

Instructs the web service to return a ContentConstraint which defines a Cube Region containing values which will be returned by executing the query (mode="exact") vs a Cube Region showing what values remain valid selections that could be added to the data query (mode="available"). A valid selection is one which results in one or more series existing for the selected value, based on the current data query selection state defined by the current path parameters.

references'none' | 'all' | 'datastructure' | 'conceptscheme' | 'codelist' | 'dataproviderscheme' | 'dataflow'

Instructs the web service to return (or not) the artefacts referenced by the ContentConstraint to be returned.

startPeriodstring

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)
endPeriodstring

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)
updatedAfterstring date-time

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).

Headers

Accept-Encoding'br' | 'compress' | 'deflate' | 'exi' | 'gzip' | 'identity' | 'pack200-gzip' | 'zstd'

Specifies whether the response should be compressed and how.

identity (the default) indicates that no compression will be performed.

Accept-Languagestring

Specifies the client's preferred language.

If-Modified-Sincestring date-time

Instructs to return the content matching the query only if it has changed since the supplied timestamp.

Response

OK

string required

Changes

No recorded changes to this operation across all 1 revision of this API.