The Statec publishes a significant amount of statistical data on its [LUSTAT](https://lustat.statec.lu/) database.
All this data is accessible via this web portal but also via a REST API, which is based in particular on the [SDMX] standard(https://sdmx.org/): [Documentation of the REST API](https://sis-cc.gitlab.io/dotstatsuite-documentation/using-api/restful/)
This API is complemented by a faceted search API in metadata: [Documentation of the faceted search API](https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-sdmx-faceted-search#http-api)
### Examples:
— the list of tables made available by STATEC on LUSTAT can be obtained via a GET request on this URL: ‘https://lustat.statec.lu/rest/dataflow/LU1/all/all’
— by knowing the identifier of a dataflow, it is possible to recover your data as a CSV file using the cURL tool on the command line:
“'Curl -o myfile.csv -X GET -H”Accept: application/vnd.sdmx.data+csv;urn=true;file=true;labels=both“ https://lustat.statec.lu/rest/data/LU1,ID_DATAFLOW/all?dimensionAtObservation=AllDimensions”’
In this command line, it is necessary to replace ID_DATAFLOW with the relevant dataflow identifier, e.g. ‘DF_D7100’
Build on reliable and scalable technology
FAQ
Frequently Asked Questions
Some basic informations about API Store ®.
Operation and development of APIs are currently fully funded by company Apitalks and its usage is for free.
Yes, you can.
All important information such as time of last update, license and other information are in response of each API call.
In case of major update that would not be compatible with previous version of API, we keep for 30 days both versions so you will have enough time to transfer to new version. We will inform you about the changes in advance by e-mail.