{
"count": 3,
"items": [
{
"station_code": "DEBE068",
"station_name": "Berlin Mitte",
"country_code": "DE",
"country": "Germany",
"lat": 52.5136,
"lon": 13.4188,
"distance_km": 1.17,
"station_type": "Some main pollutants",
"measurements": {
"PM2.5": {
"value": 8.28,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 10.61,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 15.14,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Good",
"band_index": 1
},
"NO2": {
"band": "Fair",
"band_index": 2
}
}
},
"data_age_hours": 1.4,
"stale": false
},
{
"station_code": "DEBE125",
"station_name": "Berlin Leipziger Straße (MC)",
"country_code": "DE",
"country": "Germany",
"lat": 52.5098,
"lon": 13.3824,
"distance_km": 1.9,
"station_type": "Some main pollutants",
"measurements": {
"PM2.5": {
"value": 12.55,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 16.12,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 22.87,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Fair",
"band_index": 2
},
"NO2": {
"band": "Fair",
"band_index": 2
}
}
},
"data_age_hours": 1.4,
"stale": false
},
{
"station_code": "DEBE034",
"station_name": "Berlin Neukölln",
"country_code": "DE",
"country": "Germany",
"lat": 52.4895,
"lon": 13.4308,
"distance_km": 3.81,
"station_type": "Main pollutants",
"measurements": {
"PM2.5": {
"value": 9.61,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"PM10": {
"value": 12.9,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"NO2": {
"value": 20.24,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
},
"O3": {
"value": 23.16,
"unit": "µg/m3",
"time_utc": "2026-11-24T20:00:00Z",
"age_hours": 1.4
}
},
"eaqi": {
"band": "Fair",
"band_index": 2,
"dominant_pollutant": "PM2.5",
"per_pollutant": {
"PM2.5": {
"band": "Fair",
"band_index": 2
},
"PM10": {
"band": "Good",
"band_index": 1
},
"NO2": {
"band": "Fair",
"band_index": 2
},
"O3": {
"band": "Good",
"band_index": 1
}
}
},
"data_age_hours": 1.4,
"stale": false
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15566/air+quality+api/41904/air+quality+api?mode=latest&lat=52.52&lon=13.405&radius_km=25&limit=3&hours=24' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Air Quality API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Live air quality for any place in Europe: the newest hourly PM2.5, PM10, NO2, ozone and SO2 values measured by more than 3,700 official monitoring stations in 38 countries, as clean JSON.
Live air quality for any place in Europe: the newest hourly PM2.5, PM10, NO2, ozone and SO2 values measured by more than 3,700 official monitoring stations in 38 countries, as clean JSON.
Up to 100 results per request. Set it with the limit parameter.
Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.
List parameters accept several values separated by commas, for example: london,paris.
The endpoint accepts these query parameters, all optional: mode, lat, lon, locations, station, country, pollutants, radius_km, limit, hours. Mode: Latest = newest hourly values at the stations nearest to a place (with European Air Quality Index band); history = hourly values of one station for the last N hours; stations = list all stations of a country. Lat: Latitude of the place, e.g. 52.52 (Berlin). Europe only (EEA member and cooperating countries, plus UK). Lon: Longitude of the place, e.g. 13.405 (Berlin). Locations: For latest: up to 25 places as 'lat,lon', e.g. 48.8566,2.3522. Each place returns its nearest stations; rows carry query_location.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund