API-Referenz
Sensoren
Jeder Sensor der Atmy-Karte mit Standort, Netzwerk, Qualitätsprüfung und Messwerten: PM1, PM2.5, PM10, Temperatur, Luftfeuchte, Luftdruck und die weiteren Kanäle des Geräts. Ohne Anmeldung und ohne Schlüssel: einfache GET-Anfragen.
Sensoren auflisten
GEThttps://api.atmy.ai/v1/sensors
Sensoren mit letztem Messwert, Qualität und Bewertung, 100 pro Seite
Abfrageparameter
city string optional
Stadt-ID oder Slug, etwa serbia/belgrade
country string optional
Länder-Slug, etwa serbia
bbox string optional
min_lon,min_lat,max_lon,max_lat
lat number optional
Sensoren um einen Punkt, bis 50 km
lon number optional
Sensoren um einen Punkt, bis 50 km
radius_km number optional
Sensoren um einen Punkt, bis 50 km
Standard: 5
network string optional
sensor_community, airgradient oder atmy
quality string optional
All oder passed
Standard: all
min_rating number optional
Nur Sensoren mit mindestens dieser Bewertung, 0 bis 10
sort string optional
Id oder rating: die zuverlässigsten Sensoren zuerst
Standard: id
page integer optional
Seiten mit bis zu 500 Sensoren
Standard: 1
limit integer optional
Seiten mit bis zu 500 Sensoren
Standard: 100
curl "https://api.atmy.ai/v1/sensors?city=serbia/belgrade&sort=rating&limit=10"const response = await fetch("https://api.atmy.ai/v1/sensors?city=serbia/belgrade&sort=rating&limit=10");
const data = await response.json();import requests
data = requests.get("https://api.atmy.ai/v1/sensors?city=serbia/belgrade&sort=rating&limit=10").json(){
"api_version": "2.0",
"total": 31,
"page": 1,
"limit": 2,
"sensors": [
{
"id": 41504,
"uuid": "b4e7f10c-bd0b-4234-aff9-41d9222affd0",
"name": "Belgrade BIG Fashion Park",
"network": "AirGradient",
"network_id": "airgradient",
"license": "CC BY-SA 4.0",
"location": {
"lat": 44.81659101498,
"lon": 20.511912304712
},
"city": {
"id": 50068,
"slug": "serbia/belgrade",
"name": "Belgrade",
"country": "Serbia"
},
"quality": {
"status": "good",
"date": "2026-10-26",
"pm_eligible": true,
"rating": 10,
"rating_7d": 10,
"scores": {
"pm": 10,
"transport": 10,
"meteo": 10
},
"reasons": []
},
"latest": {
"time": "2026-10-27T11:03:35+00:00",
"pm1": 8.4,
"pm25": 13.8,
"pm10": 14.5,
"temperature_c": 14.4,
"humidity_percent": 47
}
},
{
"id": 41752,
"uuid": "611c7e92-5462-4f8c-8766-7cfaf69fba84",
"name": "for map",
"network": "AirGradient",
"network_id": "airgradient",
"license": "CC BY-SA 4.0",
"location": {
"lat": 44.790233610673,
"lon": 20.470308143789
},
"city": {
"id": 50068,
"slug": "serbia/belgrade",
"name": "Belgrade",
"country": "Serbia"
},
"quality": {
"status": "good",
"date": "2026-10-26",
"pm_eligible": true,
"rating": 10,
"rating_7d": 10,
"scores": {
"pm": 10,
"transport": 10,
"meteo": 10
},
"reasons": []
},
"latest": {
"time": "2026-10-27T11:03:34+00:00",
"pm1": 3,
"pm25": 6,
"pm10": 7,
"temperature_c": 17.7,
"humidity_percent": 40,
"tvoc": 117.4
}
}
],
"attribution": "Sensor data: Atmy (atmy.ai), from the networks named in each sensor's \"network\", under that network's license.",
"terms": "https://atmy.ai/legal/data/"
}Sensoren eines Netzwerks
GEThttps://api.atmy.ai/v1/networks/{network}/sensors
Dieselbe Liste nur für ein Netzwerk, mit denselben Filtern.
Pfadparameter
network string erforderlich
sensor_community, airgradient oder atmy.
Abfrageparameter
city string optional
Stadt-ID oder Slug, etwa serbia/belgrade
country string optional
Länder-Slug, etwa serbia
bbox string optional
min_lon,min_lat,max_lon,max_lat
lat number optional
Sensoren um einen Punkt, bis 50 km
lon number optional
Sensoren um einen Punkt, bis 50 km
radius_km number optional
Sensoren um einen Punkt, bis 50 km
Standard: 5
quality string optional
All oder passed
Standard: all
min_rating number optional
Nur Sensoren mit mindestens dieser Bewertung, 0 bis 10
sort string optional
Id oder rating: die zuverlässigsten Sensoren zuerst
Standard: id
page integer optional
Seiten mit bis zu 500 Sensoren
Standard: 1
limit integer optional
Seiten mit bis zu 500 Sensoren
Standard: 100
curl "https://api.atmy.ai/v1/networks/atmy/sensors?sort=rating"const response = await fetch("https://api.atmy.ai/v1/networks/atmy/sensors?sort=rating");
const data = await response.json();import requests
data = requests.get("https://api.atmy.ai/v1/networks/atmy/sensors?sort=rating").json(){
"api_version": "2.0",
"total": 31,
"page": 1,
"limit": 2,
"sensors": [
{
"id": 41504,
"uuid": "b4e7f10c-bd0b-4234-aff9-41d9222affd0",
"name": "Belgrade BIG Fashion Park",
"network": "AirGradient",
"network_id": "airgradient",
"license": "CC BY-SA 4.0",
"location": {
"lat": 44.81659101498,
"lon": 20.511912304712
},
"city": {
"id": 50068,
"slug": "serbia/belgrade",
"name": "Belgrade",
"country": "Serbia"
},
"quality": {
"status": "good",
"date": "2026-10-26",
"pm_eligible": true,
"rating": 10,
"rating_7d": 10,
"scores": {
"pm": 10,
"transport": 10,
"meteo": 10
},
"reasons": []
},
"latest": {
"time": "2026-10-27T11:03:35+00:00",
"pm1": 8.4,
"pm25": 13.8,
"pm10": 14.5,
"temperature_c": 14.4,
"humidity_percent": 47
}
},
{
"id": 41752,
"uuid": "611c7e92-5462-4f8c-8766-7cfaf69fba84",
"name": "for map",
"network": "AirGradient",
"network_id": "airgradient",
"license": "CC BY-SA 4.0",
"location": {
"lat": 44.790233610673,
"lon": 20.470308143789
},
"city": {
"id": 50068,
"slug": "serbia/belgrade",
"name": "Belgrade",
"country": "Serbia"
},
"quality": {
"status": "good",
"date": "2026-10-26",
"pm_eligible": true,
"rating": 10,
"rating_7d": 10,
"scores": {
"pm": 10,
"transport": 10,
"meteo": 10
},
"reasons": []
},
"latest": {
"time": "2026-10-27T11:03:34+00:00",
"pm1": 3,
"pm25": 6,
"pm10": 7,
"temperature_c": 17.7,
"humidity_percent": 40,
"tvoc": 117.4
}
}
],
"attribution": "Sensor data: Atmy (atmy.ai), from the networks named in each sensor's \"network\", under that network's license.",
"terms": "https://atmy.ai/legal/data/"
}Einen Sensor abrufen
GEThttps://api.atmy.ai/v1/sensors/{id}
Ein Sensor
Pfadparameter
id string erforderlich
Sensor-ID wie in der Sensorliste.
curl "https://api.atmy.ai/v1/sensors/41504"const response = await fetch("https://api.atmy.ai/v1/sensors/41504");
const data = await response.json();import requests
data = requests.get("https://api.atmy.ai/v1/sensors/41504").json(){
"api_version": "2.0",
"sensor": {
"id": 41504,
"uuid": "b4e7f10c-bd0b-4234-aff9-41d9222affd0",
"name": "Belgrade BIG Fashion Park",
"network": "AirGradient",
"network_id": "airgradient",
"license": "CC BY-SA 4.0",
"location": {
"lat": 44.81659101498,
"lon": 20.511912304712
},
"city": {
"id": 50068,
"slug": "serbia/belgrade",
"name": "Belgrade",
"country": "Serbia"
},
"quality": {
"status": "good",
"date": "2026-10-26",
"pm_eligible": true,
"rating": 10,
"rating_7d": 10,
"scores": {
"pm": 10,
"transport": 10,
"meteo": 10
},
"reasons": []
},
"latest": {
"time": "2026-10-27T11:03:35+00:00",
"pm1": 8.4,
"pm25": 13.8,
"pm10": 14.5,
"temperature_c": 14.4,
"humidity_percent": 47
}
},
"attribution": "Sensor data: Atmy (atmy.ai), from the networks named in each sensor's \"network\", under that network's license.",
"terms": "https://atmy.ai/legal/data/"
}