Getting started
Focus is made in the APIs on the general delivery of statistical data and related metadata starting from a product online data code found either in Data Browser, in publications or Eurostat website.
Additionally, data discovery is supported via
- the listing of the data products in SDMX APIs as SDMX dataflows
- the Eurostat Table of Contents XML or as RDF document expressed in DCAT Application Profile in CATALOGUE API.
The following REST APIs are available: Statistics API is a REST web service for data query focused on supporting Eurostat Visualisations Tools and open for public use. This web service: provides data in JSON-stat 2.0 format; supports only REpresentation State Transfer (REST) protocol; delivers responses in English, French or German. API - Getting started with statistics API API - Detailed guidelines - API Statistics The SDMX 3.0 API is a programmatic access to metadata and data, in line with SDMX technical specifications for version 3.0, with the possibility to: Get a complete list of publicly available datasets Get the complete structure definition for a specific dataset Download a dataset in full, or a subset of a specific dataset. This supports customised requests for data. Processing time and the data response depend on the query and the target dataset size: A request for a small subset of a dataset could result in a response with few kilobytes, and can be returned within seconds A request for full dataset could result in a response of up to several megabytes, and can be returned after several minutes. When submitting this kind of request, asynchronous requests (described hereafter), may be useful. This API supports returning data in formats other than SDMX-ML 3.0: SDMX-CSV 2.0 TSV API - Getting started with SDMX3.0 API API - Detailed guidelines - SDMX3.0 API The SDMX 2.1 API is a programmatic access to metadata and data, in line with SDMX technical specifications for version 2.1, with the possibility to: Get a complete list of publicly available datasets Get the complete structure definition for a specific dataset Download a dataset in full, or a subset of a specific dataset. This supports customized requests for data. Processing time and the data response depend on the query, i.e. A request for a small subset of a dataset could result in a response with few kilobytes, and can be returned within seconds A request for full dataset could result in a response of up to several megabytes, and can be returned after several minutes. When submitting this kind of request, asynchronous requests (described hereafter), may be useful. This API supports returning data in formats other than SDMX-ML 2.1: TSV API - Getting started with SDMX2.1 API API - Detailed guidelines - SDMX2.1 API The CATALOGUE API serves dataset discovery purposes via programmatic access to catalogue of datasets.APIs documentation
STATISTICS API
SDMX 3.0 API
SDMX 2.1 API
CATALOGUE API
Additional information
Parameter <api_base_uri> in all operations descriptions
This documentation mentions a parameter <api_base_uri> in the operation description for each REST request. This parameter is specific to each organization exposing the API.
The allowed values for parameter <api_base_uri> are:
Agency | <api_base_uri> value to be used |
---|---|
Eurostat | https://ec.europa.eu/eurostat/api/dissemination https://ec.europa.eu/eurostat/api/comext/dissemination ("DS-" prefixed Comext and Prodcom datasets) |
DG EMPL | https://webgate.ec.europa.eu/empl/redisstat/api/dissemination |
DG GROW | https://webgate.ec.europa.eu/grow/redisstat/api/dissemination |
DG TAXUD | https://webgate.ec.europa.eu/taxation_customs/redisstat/api/dissemination |