GET Weather/Airquality
Returns the current air quality data from various locations in Luxembourg collected by Administration de l'Environnement.
Resource URL
https://api.tfl.lu/v1/Weather/Airquality
Format
The response will be formatted as a GeoJSON Feature Collection.
Object properties
Key | Type | Possible values | Description |
---|---|---|---|
id | string |
{provider}:{number} |
id of the weather station (built from provider and id of provider) |
name | string |
{name} |
name of the weather station |
temp | float |
- {temp} - NULL |
temperature in Celsius |
pm10 | float |
- {pm10} - NULL |
Particles on the order of 10 micrometers or less (in µg/m3) |
no2 | float |
- {no2} - NULL |
Nitrogen dioxide (in µg/m3) |
o3 | float |
- {o3} - NULL |
Ozone (in µg/m3) |
so2 | float |
- {so2} - NULL |
Sulfur dioxide (in µg/m3) |
co | float |
- {co} - NULL |
Carbon monoxide (in mg/m3) |
last_update | integer |
{last_update} |
last update of the data in Unix time (milliseconds) |
Sample request & response
GET https://api.tfl.lu/v1/Weather/Airquality
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
5.976941,
49.505011
]
},
"properties": {
"id": "aev:Esch-Alzette",
"name": "Esch-Alzette",
"temp": 5.5,
"pm10": 52,
"no2": 24.8,
"o3": 41,
"so2": 1.2,
"co": 0.3,
"last_update": "1486998000000"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
6.305332,
49.722229
]
},
"properties": {
"id": "aev:Beidweiler",
"name": "Beidweiler",
"temp": 4.1,
"pm10": 27,
"no2": 11,
"o3": 64,
"so2": 2.9,
"co": null,
"last_update": "1486998000000"
}
}, {
...
}]
}
License
Please refer to Weather/AirQuality for information about the air quality data licensing.
Credits
Made by Daniel Duton & Thierry Degeling from ION Network Solutions.
Sponsored by Digital Lëtzebuerg.