API リファレンス
センサー
Atmy マップのすべてのセンサーを位置、ネットワーク、品質チェック、測定値付きで提供します:PM1、PM2.5、PM10、気温、湿度、気圧、その他デバイスが送るチャンネル。登録もキーも不要で、通常の GET リクエストで使えます。
センサー一覧
GEThttps://api.atmy.ai/v1/sensors
最新値、品質、評価付きのセンサー、1 ページ 100 件
クエリパラメーター
city string 任意
都市の id または slug(例:serbia/belgrade)
country string 任意
国の slug(例:serbia)
bbox string 任意
min_lon,min_lat,max_lon,max_lat
lat number 任意
地点周辺のセンサー、50 km まで
lon number 任意
地点周辺のセンサー、50 km まで
radius_km number 任意
地点周辺のセンサー、50 km まで
既定値: 5
network string 任意
sensor_community、airgradient、atmy
quality string 任意
All または passed
既定値: all
min_rating number 任意
評価がこの値以上のセンサーのみ(0〜10)
sort string 任意
Id または rating:最も信頼できるセンサーから
既定値: id
page integer 任意
1 ページ最大 500 件
既定値: 1
limit integer 任意
1 ページ最大 500 件
既定値: 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/"
}1 つのネットワークのセンサー
GEThttps://api.atmy.ai/v1/networks/{network}/sensors
同じ一覧を 1 つのネットワークに限定したもので、フィルターも同じです。
パスパラメーター
network string 必須
sensor_community、airgradient、atmy のいずれか。
クエリパラメーター
city string 任意
都市の id または slug(例:serbia/belgrade)
country string 任意
国の slug(例:serbia)
bbox string 任意
min_lon,min_lat,max_lon,max_lat
lat number 任意
地点周辺のセンサー、50 km まで
lon number 任意
地点周辺のセンサー、50 km まで
radius_km number 任意
地点周辺のセンサー、50 km まで
既定値: 5
quality string 任意
All または passed
既定値: all
min_rating number 任意
評価がこの値以上のセンサーのみ(0〜10)
sort string 任意
Id または rating:最も信頼できるセンサーから
既定値: id
page integer 任意
1 ページ最大 500 件
既定値: 1
limit integer 任意
1 ページ最大 500 件
既定値: 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/"
}センサーを取得
GEThttps://api.atmy.ai/v1/sensors/{id}
1 つのセンサー
パスパラメーター
id string 必須
センサー一覧にあるセンサー id。
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/"
}