Skip to main content
All providers

data.public.lu

Open data portalsLU

data.public.lu

Luxembourg's national open-data portal, on udata.

Capabilities (12)

GET /v1/data/datapubliclu/dataset1 credit

Returns the full record for one dataset: title, description, licence, frequency, temporal and spatial coverage, quality score, metrics and the complete resource list with direct file URLs, formats, checksums and sizes.

id
GET /v1/data/datapubliclu/datasets1 credit

Returns a paginated page of 20 Luxembourg open-data datasets with title, description, tags, licence, organisation and the download URL of every distributed resource.

q?page?sort?organization?tag?license?format?topic?geozone?granularity?temporal_coverage?featured?
GET /v1/data/datapubliclu/discussions1 credit

Returns a page of 20 discussion threads opened on portal objects, each with its subject, title, closed state and the full list of messages with authors and timestamps.

for?org?closed?page?sort?
GET /v1/data/datapubliclu/licenses1 credit

Returns every licence the portal allows, with id, title, URL, alternate titles and whether it is open-definition conformant.

No parameters
GET /v1/data/datapubliclu/organization1 credit

Returns one publishing organisation: name, slug, business number, description, logo, badges, members count and dataset/reuse/follower metrics.

org
GET /v1/data/datapubliclu/organization-datasets1 credit

Returns a page of 20 datasets belonging to one organisation, each with its full resource list.

orgpage?sort?
GET /v1/data/datapubliclu/organizations1 credit

Returns a paginated page of 20 publishing organisations with name, slug, logo, description, badges and counts of datasets, reuses and followers.

q?page?sort?
GET /v1/data/datapubliclu/reuse1 credit

Returns one reuse with its title, description, external URL, image, type, topic, owner and the full records of every dataset it is built on.

reuse
GET /v1/data/datapubliclu/reuses1 credit

Returns a page of 10 reuses (apps, visualisations, articles and studies built on portal datasets), each with its URL, image, type, topic and the datasets it consumes.

q?page?sort?dataset?organization?tag?topic?type?featured?
GET /v1/data/datapubliclu/site-metrics1 credit

Returns portal-wide counters: total datasets, organisations, reuses, users, discussions, harvesters, resources and the record maxima.

No parameters
GET /v1/data/datapubliclu/suggest-datasets1 credit

Returns up to 10 dataset title/slug/id suggestions matching a partial string, with the publishing organisation: a small payload meant for typeahead.

q
GET /v1/data/datapubliclu/suggest-tags1 credit

Returns up to 20 tag slugs matching a partial string, so you can feed a valid tag into the dataset search.

q

Response example

The shape of data from datapubliclu/dataset (Dataset detail). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "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

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>

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.

https://data.public.lu/fr/pages/legal/terms

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: data.public.lu

Cache: up to 3600s