Overview
The Open Government Luxembourg API provides access to official Luxembourgish government open data through the data.public.lu portal, which runs on a CKAN platform. You need a free API key to write data, but most read operations are accessible without authentication. It covers datasets on the economy, environment, mobility, and public services in Luxembourg.
Beginner Tip
For read-only access, most CKAN endpoints work without authentication — try https://data.public.lu/api/3/action/package_search?q=transport to search datasets. If you need to upload or modify datasets, register at data.public.lu to get your API key.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"status": "success",
"data": {
"result": "Data from Open Government, Luxembourg",
"description": "Luxembourgish Government Open Data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
success Whether the CKAN API call was completed without errors result.count Total datasets matching the search term in the Luxembourg portal result.results[].title Title of the dataset, often in French or German result.results[].organization Luxembourg government organization responsible for the dataset result.results[].resources Downloadable files or API links attached to the dataset result.results[].license_title Name of the open license under which the data is published Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://data.public.lu/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →City, Nantes Open Data
City, Nantes Open Data gives developers access to datasets published by Nantes Métropole in France, covering transport, environment, and urban planning.
Code.gov
Code.gov is the U.S.
Data.gov
⭐ Beginner's PickData.gov is the central repository for open data published by U.S.
Deutscher Bundestag DIP
Deutscher Bundestag DIP (Dokumentations- und Informationssystem) provides read access to official German Bundestag data including parliamentary activities, printed materials, persons, and procedures.
FEC
⭐ Beginner's PickThe FEC (Federal Election Commission) API lets you explore campaign finance data from US federal elections, including donations, candidate financials, and committee information.