data.public.lu
data.public.lu
Luxembourg's national open-data portal, on udata.
GET /v1/data/datapubliclu/dataset1Request
The dataset ObjectId or its URL slug.
curl "https://api.fastcrw.com/v1/data/datapubliclu/dataset?id=etat-de-la-population-population-structure" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from data.public.lu.
{
"acronym": null,
"archived": null,
"badges": [],
"contact_point": null,
"created_at": "2016-03-31T16:07:05.467000+00:00",
"deleted": null,
"description": "Population par canton et commune 1821 - 2016\n\nJusqu'en 1970 et pour les années 1981, 1991, 2001 et 2011 : date du recensement général de la population. Pour les autres années: situation au 1er janvier.\n\n---\n \t\nSituation as of 1st January.\n\nException for the following years:\nUntil 1970 and for 1981, …",
"extras": {},
"frequency": "annual",
"frequency_date": "2017-03-31T18:05:44+00:00",
"harvest": null,
"id": "56fd4b29855e9b76a718e38b",
"internal": {
"created_at_internal": "2016-03-31T16:07:05.467000+00:00",
"last_modified_internal": "2022-07-26T16:48:04.621000+00:00"
},
"last_modified": "2022-07-26T16:48:04.621000+00:00",
"last_update": "2022-07-26T16:47:34.595000+00:00",
"license": "cc-zero",
"metrics": {
"discussions": 0,
"followers": 0,
"resources_downloads": 0,
"reuses": 0,
"views": 201
},
"organization": {
"acronym": "STATEC",
"badges": [
{
"kind": "public-service"
},
{
"kind": "certified"
}
],
"class": "Organization",
"id": "56f3c3390d6ceb1b0b4030e8",
"logo": "https://download.data.public.lu/avatars/36/ef6e49688f4bd28a41b2625a13b6fc-original.jpg",
"logo_thumbnail": "https://download.data.public.lu/avatars/36/ef6e49688f4bd28a41b2625a13b6fc-100.jpg",
"name": "STATEC Institut national de la statistique et des études économiques du Grand-Duché de Luxembourg",
"page": "https://data.public.lu/fr/organizations/statec-institut-national-de-la-statistique-et-des-etudes-economiques-du-grand-duche-de-luxembourg/",
"slug": "statec-institut-national-de-la-statistique-et-des-etudes-economiques-du-grand-duche-de-luxembourg",
"uri": "https://data.public.lu/api/1/organizations/statec-institut-national-de-la-statistique-et-des-etudes-economiques-du-grand-duche-de-luxembourg/"
},
"owner": null,
"page": "https://data.public.lu/fr/datasets/etat-de-la-population-population-structure/",
"private": false,
"quality": {
"all_resources_available": true,
"dataset_description_quality": true,
"has_open_format": true,
"has_resources": true,
"license": true,
"resources_documentation": false,
"score": 0.5555555555555556,
"spatial": false,
"temporal_coverage": false,
"update_frequency": true,
"update_fulfilled_in_time": false
},
"resources": [
{
"checksum": null,
"created_at": "2016-04-11T18:23:33.475000+00:00",
"description": null,
"extras": {
"check:count-availability": 78,
"check:date": "2025-07-23T02:13:13.761325+00:00",
"check:headers:charset": "iso-8859-1",
"check:timeout": true,
"check:url": "https://lustat.statec.lu/vis?pg=0&df[ds]=ds-release&df[id]=DF_X021&df[ag]=LU1&df[vs]=1.0&pd=2015%2C2022&dq=A.&vw=tb&lc=en"
},
"filesize": null,
"filetype": "remote",
"format": "html",
"harvest": null,
"id": "2a0cd49e-e11a-4e68-afc1-6f14b8476606",
"internal": {
"created_at_internal": "2016-04-11T18:23:33.475000+00:00",
"last_modified_internal": "2022-07-26T16:47:22.909000+00:00"
},
"last_modified": "2022-07-26T16:47:22.909000+00:00",
"latest": "https://data.public.lu/fr/datasets/r/2a0cd49e-e11a-4e68-afc1-6f14b8476606",
"metrics": {
"nb_hits": 0,
"nb_uniq_visitors": 0,
"nb_visits": 0,
"views": 2
},
"mime": null,
"preview_url": null,
"schema": {
"name": null,
"url": null,
"version": null
},
"title": " Population by canton and municipality",
"type": "main",
"url": "https://lustat.statec.lu/vis?pg=0&df[ds]=ds-release&df[id]=DF_X021&df[ag]=LU1&df[vs]=1.0&pd=2015%2C2022&dq=A.&vw=tb&lc=en"
},
{
"checksum": null,
"created_at": "201
…truncatedAttribution: Source: data.public.lu
Licence: Per dataset, exposed as a udata licence field; sampled values are CC0 and CC BY. Site-wide default in the footer unless a dataset says otherwise.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset detail
Use data.public.lu (datapubliclu) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a data.public.lu dataset id or slug and need its metadata and downloadable files. Example options: id=etat-de-la-population-population-structure. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datapubliclu" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Search datasets
Use data.public.lu (datapubliclu) from fastCRW Pergamon, capability "Search datasets" (datasets). You want to find Luxembourg public datasets by keyword, publisher, tag, licence or file format. Example options: q=mobilité, page=1, sort=-last_update. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datapubliclu" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Discussion threads
Use data.public.lu (datapubliclu) from fastCRW Pergamon, capability "Discussion threads" (discussions). You want the questions, corrections and publisher replies attached to a dataset, organisation or user. Example options: for=6662a77d3966fe4cf3f76d01, org=statec-institut-national-de-la-statistique-et-des-etudes-economiques-du-grand-duche-de-luxembourg, closed=false. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datapubliclu" and capability "discussions". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence list
Use data.public.lu (datapubliclu) from fastCRW Pergamon, capability "Licence list" (licenses). You need the valid licence ids to filter dataset search, or want to check the reuse terms of Luxembourg open data. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datapubliclu" and capability "licenses". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
